UNPKG

@builder.io/qwik

Version:

An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.

41 lines (37 loc) 792 B
import type { PlaywrightTestConfig } from "@playwright/test"; import { devices } from "@playwright/test"; /** * See https://playwright.dev/docs/test-configuration. */ const config: PlaywrightTestConfig = { testDir: "./tests", /* Run tests in files in parallel */ fullyParallel: true, forbidOnly: !!process.env.CI, retries: 2, workers: process.env.CI ? 1 : undefined, reporter: "html", use: { actionTimeout: 0, trace: "on-first-retry", }, projects: [ { name: "chromium", use: { ...devices["Desktop Chrome"], }, }, // { // name: 'webkit', // use: { // ...devices['Desktop Safari'], // }, // }, ], webServer: { command: "npm run preview", port: 4173, }, }; export default config;