MaxMilton/ekscss-repl

View on GitHub
playwright.config.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { defineConfig } from '@playwright/test';

export default defineConfig({
  testMatch: 'test/e2e/**/*.spec.ts',
  forbidOnly: !!process.env.CI,
  webServer: {
    command: 'bun run serve',
    port: 3000,
    reuseExistingServer: !process.env.CI, // in CI throw if port is taken
    // stdout: 'pipe',
  },
  use: {
    baseURL: 'http://localhost:3000',
    acceptDownloads: false,
    contextOptions: { strictSelectors: true },
    locale: 'en-US',
    // offline: true,
    timezoneId: 'UTC',
  },
});