This commit is contained in:
jackkav
2025-04-15 12:33:22 +02:00
parent b2b28274f6
commit f8a8bfa2a0
2 changed files with 9 additions and 3 deletions

View File

@@ -48,4 +48,10 @@ jobs:
- name: Smoke test electron app
run: |
npm run test:build -w packages/insomnia-smoke-test -- --project=Smoke
- name: Upload smoke test html
uses: actions/upload-artifact@v4
with:
if-no-files-found: ignore
name: ubuntu-smoke-test-traces-${{ github.run_number }}
path: packages/insomnia-smoke-test/traces

View File

@@ -1,5 +1,5 @@
/* eslint-disable filenames/match-exported */
import { PlaywrightTestConfig } from '@playwright/test';
import type { PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
projects: [
{
@@ -35,7 +35,7 @@ const config: PlaywrightTestConfig = {
sources: true,
},
},
reporter: process.env.CI ? 'github' : 'list',
reporter: process.env.CI ? [['html'], ['line']] : [['list']],
timeout: process.env.CI ? 60 * 1000 : 20 * 1000,
forbidOnly: !!process.env.CI,
outputDir: 'traces',