You are here

behat.common.yml in Drupal Commons 7.3

tests/behat.common.yml

File

tests/behat.common.yml
View source
  1. default:
  2. suites:
  3. default:
  4. paths:
  5. features: 'features'
  6. filters:
  7. tags: "~@chrome"
  8. contexts:
  9. - FeatureContext
  10. - Drupal\DrupalExtension\Context\DrupalContext
  11. - Drupal\DrupalExtension\Context\MinkContext
  12. - Drupal\DrupalExtension\Context\MarkupContext
  13. - Drupal\DrupalExtension\Context\DrushContext
  14. extensions:
  15. Behat\MinkExtension:
  16. goutte: ~
  17. selenium2: ~
  18. #base_url: http://mydrupalsite.com
  19. #files_path: './profiles/commons/tests'
  20. Lakion\Behat\MinkDebugExtension:
  21. directory: './profiles/commons/tests/build'
  22. screenshot: true
  23. Drupal\DrupalExtension:
  24. text:
  25. username_field: 'E-mail'
  26. password_field: 'Password'
  27. blackbox: ~
  28. #drush:
  29. # root: '/path/to/drupal/root'
  30. #drupal:
  31. # drupal_root: '/path/to/drupal/root'
  32. api_driver: 'drupal'
  33. region_map:
  34. # CTools / Panels
  35. CTools modal: "#modalContent"
  36. # Commons Origins.
  37. Header: ".region-header"
  38. Menu bar: "#menu-bar"
  39. Featured: ".region-featured"
  40. Help: ".region-help"
  41. Highlighted: ".region-highlighted"
  42. Content: "#content"
  43. Tabs: ".tabs.primary"
  44. Aside: ".region-content-aside"
  45. Sidebar first: ".region-sidebar-first"
  46. Sidebar second: ".region-sidebar-second"
  47. Secondary: ".region-content-aside"
  48. Tertiary: ".region-content-tertiary"
  49. Footer: ".region-footer"
  50. # Setup for Google Chrome only tests.
  51. chrome:
  52. suites:
  53. default:
  54. filters:
  55. tags: "@chrome"
  56. extensions:
  57. Behat\MinkExtension:
  58. selenium2:
  59. browser: chrome
  60. capabilities: {"browser": "chrome", "browserName": "chrome", "browserVersion": "ANY", "version": "ANY"}