fix double smoke test run

This commit is contained in:
jackkav
2025-04-15 14:28:25 +02:00
parent bc49923120
commit 253be8a622
3 changed files with 3 additions and 11 deletions

View File

@@ -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:

View File

@@ -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

View File

@@ -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',