From 2f51a6822f3f681a065f0e13ffa2ba4187624327 Mon Sep 17 00:00:00 2001 From: MaPoKen Date: Thu, 30 May 2024 12:16:22 +0200 Subject: [PATCH] arbitrary changes --- .github/workflows/ci.yml | 4 ++++ package.json | 2 +- playwright.config.ts | 2 +- yarn.lock | 4 ++-- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9be64b21cb..c416a38860 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,3 +82,7 @@ jobs: run: yarn playwright install --with-deps chromium - name: "E2E" run: yarn e2e:headless + - uses: actions/upload-artifact@v4 + with: + name: playwright + path: ./playwright-report diff --git a/package.json b/package.json index 0dc90e999d..cc8576cc66 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "@ndla/types-backend": "^0.2.72", "@ndla/types-embed": "^4.1.6", "@ndla/types-taxonomy": "^1.0.22", - "@playwright/test": "^1.44.1", + "@playwright/test": "^1.43.1", "@testing-library/jest-dom": "^6.4.2", "@testing-library/react": "^15.0.2", "@types/express": "^4.17.21", diff --git a/playwright.config.ts b/playwright.config.ts index 605d489fbd..cbb8ffd9c0 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -26,7 +26,7 @@ export default defineConfig({ use: { /* Base URL to use in actions like `await page.goto('/')`. */ baseURL: "http://localhost:3000", - trace: "on-first-retry", + trace: "on", viewport: { width: 2560, height: 1440, diff --git a/yarn.lock b/yarn.lock index 8cb03ac90a..18d9dd4c91 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3609,7 +3609,7 @@ __metadata: languageName: node linkType: hard -"@playwright/test@npm:^1.44.1": +"@playwright/test@npm:^1.43.1": version: 1.44.1 resolution: "@playwright/test@npm:1.44.1" dependencies: @@ -10936,7 +10936,7 @@ __metadata: "@ndla/typography": "npm:^0.4.20" "@ndla/ui": "npm:^53.0.0" "@ndla/util": "npm:^4.0.4" - "@playwright/test": "npm:^1.44.1" + "@playwright/test": "npm:^1.43.1" "@testing-library/jest-dom": "npm:^6.4.2" "@testing-library/react": "npm:^15.0.2" "@types/express": "npm:^4.17.21"