Home / File/ playwright.config.js — react Source File

playwright.config.js — react Source File

Architecture documentation for playwright.config.js, a javascript file in the react codebase. 1 imports, 0 dependents.

File javascript 1 imports

Entity Profile

Dependency Diagram

graph LR
  885973d8_c9f9_67e6_972a_cd4da79e4fb6["playwright.config.js"]
  6ff36ea7_38cf_b0c1_f21e_5c971ac22aeb["test"]
  885973d8_c9f9_67e6_972a_cd4da79e4fb6 --> 6ff36ea7_38cf_b0c1_f21e_5c971ac22aeb
  style 885973d8_c9f9_67e6_972a_cd4da79e4fb6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {defineConfig, devices} from '@playwright/test';

const isCI = Boolean(process.env.CI);

export default defineConfig({
  // relative to this configuration file.
  testDir: '__tests__/__e2e__',
  fullyParallel: true,
  // Fail the build on CI if you accidentally left test.only in the source code.
  forbidOnly: !isCI,
  retries: isCI ? 2 : 0,
  // Opt out of parallel tests on CI.
  workers: isCI ? 1 : undefined,
  reporter: 'html',
  use: {
    baseURL: 'http://localhost:3000',

    trace: 'on-first-retry',
  },
  projects: [
    {
      name: 'chromium',
      use: {...devices['Desktop Chrome']},
    },
  ],
  webServer: {
    command: 'yarn dev',
    url: 'http://localhost:3000',
    reuseExistingServer: !isCI,
  },
});

Dependencies

  • test

Frequently Asked Questions

What does playwright.config.js do?
playwright.config.js is a source file in the react codebase, written in javascript.
What does playwright.config.js depend on?
playwright.config.js imports 1 module(s): test.
Where is playwright.config.js in the architecture?
playwright.config.js is located at fixtures/flight/playwright.config.js (directory: fixtures/flight).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free