Move extended token-list label to the operations intro, wait for network idle before asserting, and clear conflicting NO_COLOR/FORCE_COLOR in Playwright config. Co-authored-by: Cursor <cursoragent@cursor.com>
29 lines
703 B
TypeScript
29 lines
703 B
TypeScript
import { defineConfig, devices } from '@playwright/test';
|
|
|
|
// Cursor/CI often sets both; Node warns when they conflict.
|
|
delete process.env.NO_COLOR;
|
|
delete process.env.FORCE_COLOR;
|
|
|
|
export default defineConfig({
|
|
testDir: './scripts',
|
|
testMatch: /e2e-.*\.spec\.ts$/,
|
|
fullyParallel: false,
|
|
forbidOnly: !!process.env.CI,
|
|
retries: process.env.CI ? 2 : 0,
|
|
workers: 1,
|
|
reporter: 'list',
|
|
timeout: 30000,
|
|
use: {
|
|
baseURL: process.env.EXPLORER_URL || 'https://blockscout.defi-oracle.io',
|
|
trace: 'on-first-retry',
|
|
screenshot: 'only-on-failure',
|
|
video: 'on-first-retry',
|
|
},
|
|
projects: [
|
|
{
|
|
name: 'chromium',
|
|
use: { ...devices['Desktop Chrome'] },
|
|
},
|
|
],
|
|
});
|