Skip to content

Commit

Permalink
Correct test results path for GitHub Actions reporters (#665)
Browse files Browse the repository at this point in the history
  • Loading branch information
Drainpipe committed Aug 29, 2024
1 parent 549c24c commit 288d913
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"composer/composer": "^2.7.8"
},
"bin": [
"bin/drainpipe-twig-linter",
"bin/drainpipe-convert-to-junit-xml"
],
"extra": {
Expand All @@ -49,6 +48,7 @@
"[web-root]/sites/sites.php": "scaffold/nightwatch/sites.php",
"[project-root]/.ddev/docker-compose.selenium.yaml": "scaffold/nightwatch/docker-compose.selenium.yaml",
"[project-root]/test/nightwatch/example.nightwatch.js": "scaffold/nightwatch/example.nightwatch.js",
"[project-root]/test/nightwatch/vrt/.gitignore": "scaffold/nightwatch/vrt.gitignore",
"[project-root]/phpcs.xml.dist": "scaffold/phpcs.xml.dist",
"[project-root]/phpstan.neon.dist": "scaffold/phpstan.neon.dist",
"[project-root]/.twig-cs-fixer.dist.php": "scaffold/.twig-cs-fixer.dist.php"
Expand Down
4 changes: 2 additions & 2 deletions config/nightwatch.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ module.exports = {
filter: '**/*.nightwatch.js',
disable_error_log: false,
screenshots: {
enabled: false,
enabled: true,
on_failure: true,
on_error: false,
on_error: true,
path: 'test_result',
},
},
Expand Down
2 changes: 2 additions & 0 deletions scaffold/nightwatch/vrt.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/diff
/latest

0 comments on commit 288d913

Please sign in to comment.