mirror of
https://github.com/Kong/insomnia.git
synced 2026-05-19 06:12:37 -04:00
fix double smoke test run
This commit is contained in:
5
.github/workflows/test-e2e.yml
vendored
5
.github/workflows/test-e2e.yml
vendored
@@ -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:
|
||||
|
||||
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@@ -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
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user