From fb47a3d350d28133c40fb7729dc8785e80af652f Mon Sep 17 00:00:00 2001 From: MaPoKen Date: Fri, 31 May 2024 09:58:14 +0200 Subject: [PATCH] Removed unecessary config changes --- .github/workflows/ci.yml | 4 ---- e2e/apiMock.ts | 2 +- playwright.config.ts | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c416a38860..9be64b21cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,7 +82,3 @@ 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/e2e/apiMock.ts b/e2e/apiMock.ts index 1a63450516..90ac83950b 100644 --- a/e2e/apiMock.ts +++ b/e2e/apiMock.ts @@ -65,7 +65,7 @@ export const test = Ptest.extend({ // Creating the API mocking for the wanted API's await page.routeFromHAR(mockFile(testInfo), { update: process.env.RECORD_FIXTURES === "true", - updateMode: "full", + updateMode: "minimal", url: regex, updateContent: "embed", }); diff --git a/playwright.config.ts b/playwright.config.ts index 5c01282da5..f11c24ac90 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", + trace: "on-first-retry", viewport: { width: 2560, height: 1440,