oro_behat_extension:
  elements:
    My Tasks Choose Color Menu:
      class: Oro\Bundle\TaskBundle\Tests\Behat\Element\MyTasksChooseColorMenu
      selector: 'li[data-calendar-alias="tasks"] a.context-menu-button'

    Tasks Grid:
      class: Oro\Bundle\DataGridBundle\Tests\Behat\Element\Grid
      selector: 'div[data-page-component-name="tasks-grid"]'

    User Tasks Grid:
      class: Oro\Bundle\DataGridBundle\Tests\Behat\Element\Grid
      selector: 'div[data-page-component-name="user-tasks-grid"]'

    Task Form:
      selector: 'form[name="oro_task"]'
      class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Form
      options:
        mapping:
          Due date: 'oro_task[dueDate]'

    Task View Delete Test Context:
      selector:
        type: xpath
        locator: '//div[@class="activity-context-activity-items"]//span[text()="Test Record"]/parent::a/following-sibling::span'

  suites:
    OroTaskBundle:
      contexts:
        - Oro\Bundle\TestFrameworkBundle\Tests\Behat\Context\OroMainContext
        - Oro\Bundle\TestFrameworkBundle\Tests\Behat\Context\FixturesContext
        - OroSecurityBundle::ACLContext
        - OroUserBundle::FeatureContext
        - OroSalesBundle::SalesContext
        - OroDataGridBundle::GridContext
        - OroFormBundle::FormContext
        - OroQueryDesignerBundle::QueryDesignerContext
        - OroUIBundle::ContextSelectorContext
        - OroConfigBundle::FeatureContext
        - OroNavigationBundle::FeatureContext
        - OroLocaleBundle::LocalizationContext
        - OroActivityListBundle::ActivityContext
      paths:
        - '@OroTaskBundle/Tests/Behat/Features'
