Skip to content

Commit

Permalink
Updated to Behat Screenshot v2.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Jan 19, 2025
1 parent 5244db0 commit 622d052
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ default:
error_message_selector: '.messages.error'
success_message_selector: '.messages.status'
warning_message_selector: '.messages.warning'
# Capture HTML and JPG screenshots on demand and on failure.
# Capture HTML and PNG screenshots on demand and on failure.
DrevOps\BehatScreenshotExtension:
dir: '%paths.base%/.logs/screenshots'
on_failed: true # Change to 'false' (no quotes) to disable screenshots on failure.
purge: false # Change to 'true' (no quotes) to purge screenshots on each run.
# Show explicit fail information and continue the test run.
DrevOps\BehatFormatProgressFail\FormatExtension: ~
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"dantleech/gherkin-lint": "^0.2.3",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"drevops/behat-format-progress-fail": "^1.3",
"drevops/behat-screenshot": "^1.6",
"drevops/behat-screenshot": "main-dev",
"drevops/behat-steps": "^2.6",
"drupal/core-dev": "~11.1.0",
"drupal/drupal-extension": "^5",
Expand Down

1 comment on commit 622d052

@github-actions
Copy link

Choose a reason for hiding this comment

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

Please sign in to comment.