Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 15 additions & 13 deletions tests/behat/behat.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
default:
autoload: [ %paths.base%/bootstrap ]
autoload: [ '%paths.base%/bootstrap' ]
gherkin:
filters:
# Allow skipping tests by tagging them with "@skipped"
tags: "~@skipped"
suites:
default:
paths: [ %paths.base%/features ]
paths: [ '%paths.base%/features' ]
contexts:
- FeatureContext
- Drupal\DrupalExtension\Context\DrupalContext
- Drupal\DrupalExtension\Context\MinkContext
- Drupal\DrupalExtension\Context\MarkupContext
- Drupal\DrupalExtension\Context\MessageContext
- IntegratedExperts\BehatScreenshotExtension\Context\ScreenshotContext
- FeatureContext
- Drupal\DrupalExtension\Context\MinkContext
- Drupal\DrupalExtension\Context\MarkupContext
- Drupal\DrupalExtension\Context\MessageContext
- DrevOps\BehatScreenshotExtension\Context\ScreenshotContext

extensions:
Behat\MinkExtension:
goutte: ~
base_url: http://nginx:8080
files_path: %paths.base%/fixtures
files_path: '%paths.base%/fixtures'
browser_name: chrome
selenium2:
wd_host: "http://chrome:4444/wd/hub"
Expand All @@ -31,19 +30,22 @@ default:
api_driver: drupal
drush_driver: drush
drupal:
drupal_root: /app/web
drupal_root: web
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
drupal_root: web
drupal_root: /app/web

drush:
root: /app/web
root: web
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
root: web
root: /app/web

selectors:
message_selector: '.messages'
error_message_selector: '.messages.error'
success_message_selector: '.messages.status'
warning_message_selector: '.messages.warning'
# Allows to capture HTML and JPG screenshots (based on the driver used).
IntegratedExperts\BehatScreenshotExtension:
dir: %paths.base%/screenshots
DrevOps\BehatScreenshotExtension:
dir: '%paths.base%/screenshots'
fail: true
purge: false
# Show explicit fail information and continue the test run.
DrevOps\BehatFormatProgressFail\FormatExtension: ~

p0:
gherkin:
filters:
Expand Down