mirror of
https://github.com/home-assistant/core.git
synced 2026-08-03 20:24:55 +02:00
39e32ce0b2
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
22 lines
518 B
TypeScript
22 lines
518 B
TypeScript
import { defineConfig, devices } from "@playwright/test";
|
|
|
|
const baseURL = process.env.BASE_URL ?? "http://localhost:8123";
|
|
|
|
export default defineConfig({
|
|
testDir: ".",
|
|
timeout: 30_000,
|
|
// Reruns a failed test once in CI to absorb transient startup flakiness.
|
|
retries: process.env.CI ? 1 : 0,
|
|
reporter: [["list"], ["html", { open: "never" }]],
|
|
use: {
|
|
baseURL,
|
|
trace: "retain-on-failure",
|
|
},
|
|
projects: [
|
|
{
|
|
name: "chromium",
|
|
use: { ...devices["Desktop Chrome"] },
|
|
},
|
|
],
|
|
});
|