oro_behat_extension:
    elements:
        Contact Reason Form:
            selector: 'form[name="oro_contactus_contact_reason"]'
            class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Form
            options:
                mapping:
                    Label: 'oro_contactus_contact_reason[titles][values][default]'
                    Label Second: 'oro_contactus_contact_reason[titles][values][localizations][2][value]'
                    Label Second Use Default: 'oro_contactus_contact_reason[titles][values][localizations][2][use_fallback]'
        Contact Reason Form Label Fallbacks:
          selector:
            type: xpath
            locator: '//label[text()="Label"]/../..//button[contains(@class, "fallback-status")]'
        Contact Email:
            class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Checkbox
            selector:
              locator: "//input[@type='checkbox'][@value='emailAddress']"
              type: xpath

        Contact Request Workflow Convert to Opportunity Dialog Form:
            selector: 'form[name="oro_workflow_transition"]'
            class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Form
            options:
                mapping:
                    Budget Amount: 'oro_workflow_transition[opportunity_budget][value]'
                    Feedback: 'oro_workflow_transition[feedback]'

        Contact Request Workflow Convert to Lead Dialog Form:
            selector: 'form[name="oro_workflow_transition"]'
            class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Form
            options:
                mapping:
                    Feedback: 'oro_workflow_transition[feedback]'

        Contact Request Workflow Resolve Dialog Form:
            selector: 'form[name="oro_workflow_transition"]'
            class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Form
            options:
                mapping:
                    Feedback: 'oro_workflow_transition[feedback]'
