Skip to content

Commit

Permalink
Set testMatch and cancel some projects
Browse files Browse the repository at this point in the history
Cancel fireflox and webkit

#8
  • Loading branch information
Yuankai619 committed Sep 18, 2024
1 parent b37625e commit 7579b24
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions test1/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@ import { defineConfig, devices } from '@playwright/test';
*/
export default defineConfig({
testDir: './tests',
timeout: 6000,
testMatch:[
'basic.spec.ts',
'llm4.spec.ts'
],
timeout: 8000,
/* Run tests in files in parallel */
fullyParallel: true,
/* Fail the build on CI if you accidentally left test.only in the source code. */
forbidOnly: !!process.env.CI,
/* Retry on CI only */
retries: process.env.CI ? 2 : 0,
retries: process.env.CI ? 2 :2,
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
Expand All @@ -39,15 +43,15 @@ export default defineConfig({
use: { ...devices['Desktop Chrome'] },
},

{
name: 'firefox',
use: { ...devices['Desktop Firefox'] },
},
// {
// name: 'firefox',
// use: { ...devices['Desktop Firefox'] },
// },

{
name: 'webkit',
use: { ...devices['Desktop Safari'] },
},
// {
// name: 'webkit',
// use: { ...devices['Desktop Safari'] },
// },

/* Test against mobile viewports. */
// {
Expand Down

0 comments on commit 7579b24

Please sign in to comment.