panther: enable the screenshot on failure feature

This commit is contained in:
Kévin Dunglas
2021-02-03 18:05:21 +01:00
parent 59c84106f4
commit d0b74277e1
3 changed files with 7 additions and 0 deletions
+6
View File
@@ -1,4 +1,10 @@
{
"copy-from-recipe": {
"error-screenshots/": "tests/error-screenshots/"
},
"gitignore": [
"/tests/error-screenshots/*.png"
],
"dockerfile": [
"# Chromium and ChromeDriver",
"ENV PANTHER_NO_SANDBOX 1",
+1
View File
@@ -3,3 +3,4 @@ KERNEL_CLASS='App\Kernel'
APP_SECRET='$ecretf0rt3st'
SYMFONY_DEPRECATIONS_HELPER=999999
PANTHER_APP_ENV=panther
PANTHER_ERROR_SCREENSHOT_DIR=./tests/error-screenshots