From 253be8a622acdec6ee28fea4fe7af8c0cbcc9ac2 Mon Sep 17 00:00:00 2001 From: jackkav Date: Tue, 15 Apr 2025 14:28:25 +0200 Subject: [PATCH] fix double smoke test run --- .github/workflows/test-e2e.yml | 5 ++--- .github/workflows/test.yml | 7 ------- packages/insomnia-smoke-test/playwright.config.ts | 2 +- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index e19c11a395..20a8080ee9 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -37,10 +37,9 @@ jobs: run: NODE_OPTIONS='--max_old_space_size=6144' npm run app-build - name: Smoke test electron app - run: | - npm run test:build -w packages/insomnia-smoke-test -- --project=Smoke + run: npm run test:build -w packages/insomnia-smoke-test -- --project=Smoke - - name: Upload smoke test html + - name: Upload smoke test uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 265acdf311..263993849f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,10 +41,3 @@ jobs: - name: Unit Tests run: npm test - - - name: Build app for smoke tests - run: NODE_OPTIONS='--max_old_space_size=6144' npm run app-build - - - name: Smoke test electron app - run: | - npm run test:build -w packages/insomnia-smoke-test -- --project=Smoke diff --git a/packages/insomnia-smoke-test/playwright.config.ts b/packages/insomnia-smoke-test/playwright.config.ts index 0f85e929ca..d92b47ad72 100644 --- a/packages/insomnia-smoke-test/playwright.config.ts +++ b/packages/insomnia-smoke-test/playwright.config.ts @@ -34,7 +34,7 @@ const config: PlaywrightTestConfig = { sources: true, }, }, - reporter: process.env.CI ? [['html'], ['line']] : [['list']], + reporter: process.env.CI ? [['github'], ['line']] : [['list']], timeout: process.env.CI ? 60 * 1000 : 20 * 1000, forbidOnly: !!process.env.CI, outputDir: 'traces',