Provides Behat tests for the Drupal Web Experience Toolkit (WxT).
- Tests all Bean types
- Tests all Content Types
- Tests Archiving function
- Tests Landing pages
- Checks for Accessibility, Breadcrumbs, Translations, Metatags, URL alias, Searching, Workbench Moderation, Wysiwyg functions, and the Index page.
-
Install Composer
php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));"
-
Install Behat and dependencies via Composer
php composer.phar install
-
Copy behat.template.yml to behat.yml and modify
mv behat.template.yml behat.yml
-
Enable the wetkit_test module
drush en wetkit_test
-
Run Behat and examine test results!
bin/behat
Some of the tests need to run on Chrome due to issues in the Selenium Firefox driver. To run the tests tagged with @chrome, you need to run Behat using the Chrome profile:
bin/behat --profile chrome
For detailed instructions, see: