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

playwright.config.js — astro Source File

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

File javascript 1 imports

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

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

// NOTE: Sometimes, tests fail with `TypeError: process.stdout.clearLine is not a function`
// for some reason. This comes from Vite, and is conditionally called based on `isTTY`.
// We set it to false here to skip this odd behavior.
process.stdout.isTTY = false;

export default defineConfig({
	testMatch: 'e2e/*.test.js',
	timeout: 40_000,
	expect: {
		timeout: 6_000,
	},
	forbidOnly: !!process.env.CI,
	retries: process.env.CI ? 2 : 0,
	workers: process.env.CI ? 1 : undefined,
	projects: [
		{
			name: 'Chrome Stable',
			use: {
				browserName: 'chromium',
				channel: 'chrome',
			},
		},
	],
});

Dependencies

  • test

Frequently Asked Questions

What does playwright.config.js do?
playwright.config.js is a source file in the astro 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 packages/astro/playwright.config.js (directory: packages/astro).

Analyze Your Own Codebase

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

Try Supermodel Free