mirror of
https://github.com/Kong/insomnia.git
synced 2026-05-19 14:23:03 -04:00
workflow
This commit is contained in:
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@@ -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
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user