Files
explorer-monorepo/playwright.config.ts
defiQUG f46bd213ba refactor: rename SolaceScanScout to Solace and update related configurations
- Updated branding from "SolaceScanScout" to "Solace" across various files including deployment scripts, API responses, and documentation.
- Changed default base URL for Playwright tests and updated security headers to reflect the new branding.
- Enhanced README and API documentation to include new authentication endpoints and product access details.

This refactor aligns the project branding and improves clarity in the API documentation.
2026-04-10 12:52:17 -07:00

30 lines
739 B
TypeScript

import { defineConfig, devices } from '@playwright/test';
// Avoid Node warning: "NO_COLOR env is ignored due to FORCE_COLOR"
if (process.env.NO_COLOR !== undefined) {
delete process.env.FORCE_COLOR;
}
export default defineConfig({
testDir: './scripts',
testMatch: 'e2e-explorer-frontend.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'] },
},
],
});