Skip to content

Commit f9e6eca

Browse files
authored
Merge pull request #5467 from SDU-eScience/add-screenshot-on-failing-test
Adds test screenshots on failure
2 parents c4b4a28 + d6e12f9 commit f9e6eca

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

frontend-web/webclient/playwright.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export default defineConfig({
4545
use: {
4646
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
4747
trace: 'on-first-retry',
48+
screenshot: 'only-on-failure',
4849
ignoreHTTPSErrors: true,
4950
baseURL: data.location_origin,
5051
},

0 commit comments

Comments
 (0)