diff options
| author | Hank <hank@mullvad.net> | 2022-09-15 12:54:07 +0200 |
|---|---|---|
| committer | Hank <hank@mullvad.net> | 2022-09-20 11:34:21 +0200 |
| commit | 2cac6314d136a4c8623a26534c5cc4c8b683920e (patch) | |
| tree | 53deddb019bc8860190dfa5a78f22f0c263eb055 | |
| parent | f602b7d7877ed237078432e0c4b755e5b9987adf (diff) | |
| download | mullvadvpn-2cac6314d136a4c8623a26534c5cc4c8b683920e.tar.xz mullvadvpn-2cac6314d136a4c8623a26534c5cc4c8b683920e.zip | |
Output playwright report as html and upload in Github on failure
| -rw-r--r-- | .github/workflows/frontend.yml | 2 | ||||
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | gui/playwright.config.ts | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 2ee35ce407..e5b6181090 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -62,5 +62,5 @@ jobs: if: failure() with: name: playwright-report - path: playwright-report + path: test/e2e/playwright-report/ retention-days: 5 diff --git a/.gitignore b/.gitignore index 170e4589b4..476aa51608 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ /gui/scripts/out/ /gui/src/main/management_interface/ /gui/test/e2e/screenshots/ +/gui/test/e2e/playwright-report/ /gui/test-results/ /build/ /dist diff --git a/gui/playwright.config.ts b/gui/playwright.config.ts index 025675c831..6c894b6444 100644 --- a/gui/playwright.config.ts +++ b/gui/playwright.config.ts @@ -13,6 +13,7 @@ const config: PlaywrightTestConfig = { screenshot: 'only-on-failure', video: 'retain-on-failure', }, + reporter: [['html', { open: 'never', outputFolder: 'test/e2e/playwright-report' }]], }; export default config; |
