oro_behat_extension:
    suites:
        OroFrontendLocalizationBundle:
          contexts:
            - Oro\Bundle\TestFrameworkBundle\Tests\Behat\Context\OroMainContext
            - Oro\Bundle\ApplicationBundle\Tests\Behat\Context\CommerceMainContext
            - Oro\Bundle\FormBundle\Tests\Behat\Context\FormContext
            - Oro\Bundle\DataGridBundle\Tests\Behat\Context\GridContext
            - Oro\Bundle\FrontendLocalizationBundle\Tests\Behat\Context\LocalizationSwitcherContext
            - Oro\Bundle\ConfigBundle\Tests\Behat\Context\FeatureContext
            - Oro\Bundle\TranslationBundle\Tests\Behat\Context\FeatureContext
          paths:
            - '@OroFrontendLocalizationBundle/Tests/Behat/Features'
    elements:
        LocalizationSwitcher:
            class: Oro\Bundle\FrontendLocalizationBundle\Tests\Behat\Element\LocalizationSwitcherElement
            selector: 'div.oro-localization-switcher .oro-toolbar__content'

        LocalizationSwitcherOptions:
            selector: 'div.oro-localization-switcher ul'

        LocalizationSwitcherActiveOption:
            selector: 'div.oro-localization-switcher .oro-toolbar__link--active'

        CreateLocalizationForm:
            class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Form
            selector: 'form[id^="oro_localization"]'
            options:
                mapping:
                    Title: 'oro_localization[titles][values][default]'
