Files
explorer-monorepo/playwright.config.ts
defiQUG 6a64d2fec6
Some checks failed
Deploy Explorer Live / deploy (push) Failing after 13s
Validate Explorer / frontend (push) Successful in 1m26s
Validate Explorer / smoke-e2e (push) Failing after 1m29s
fix(explorer): harden operations smoke test and surface note placement
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>
2026-05-22 20:53:27 -07:00

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'] },
},
],
});