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

playwright.firefox.config.js — astro Source File

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

File javascript 1 imports

Entity Profile

Dependency Diagram

graph LR
  5b2cd4b0_4012_dad8_93b4_5c7ccf6dd4a6["playwright.firefox.config.js"]
  f8fbe851_c5d6_c4ee_c044_67a751668c18["test"]
  5b2cd4b0_4012_dad8_93b4_5c7ccf6dd4a6 --> f8fbe851_c5d6_c4ee_c044_67a751668c18
  style 5b2cd4b0_4012_dad8_93b4_5c7ccf6dd4a6 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({
	// TODO: add more tests like view transitions and audits, and fix them. Some of them are failing.
	testMatch: ['e2e/css.test.js', 'e2e/prefetch.test.js', 'e2e/view-transitions.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: 'Firefox Stable',
			use: {
				browserName: 'firefox',
				channel: 'firefox',
			},
		},
	],
});

Dependencies

  • test

Frequently Asked Questions

What does playwright.firefox.config.js do?
playwright.firefox.config.js is a source file in the astro codebase, written in javascript.
What does playwright.firefox.config.js depend on?
playwright.firefox.config.js imports 1 module(s): test.
Where is playwright.firefox.config.js in the architecture?
playwright.firefox.config.js is located at packages/astro/playwright.firefox.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