diff --git a/behat.yml b/behat.yml index abecd577d..22cc9d4f7 100644 --- a/behat.yml +++ b/behat.yml @@ -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: ~ diff --git a/composer.json b/composer.json index b8e750682..b6358c6d9 100644 --- a/composer.json +++ b/composer.json @@ -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",