chore: remove retries, skip tracing tests (#24443)

This commit is contained in:
Pavel Feldman 2023-07-26 14:56:38 -07:00 committed by GitHub
parent 0f5b4fc6f2
commit 517cc18c9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -23,7 +23,7 @@ jobs:
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
- run: npm run build
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test -- --project=${{ matrix.browser }} --workers=10
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test -- --project=${{ matrix.browser }} --workers=20 --retries=0
env:
PWTEST_MODE: service2
PLAYWRIGHT_SERVICE_ACCESS_KEY: ${{ secrets.PLAYWRIGHT_SERVICE_ACCESS_KEY }}

View File

@ -18,6 +18,8 @@ import { browserTest as it, expect } from '../../config/browserTest';
import fs from 'fs';
import path from 'path';
it.skip(({ mode }) => mode === 'service2', 'Fixed in v1.37');
it('should output a trace', async ({ browser, server }, testInfo) => {
const page = await browser.newPage();
const outputTraceFile = testInfo.outputPath(path.join(`trace.json`));