mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-05 20:21:50 +02:00
First public commit
This commit is contained in:
commit
e05cd62e53
228 changed files with 17717 additions and 0 deletions
21
playwright.config.ts
Normal file
21
playwright.config.ts
Normal file
|
@ -0,0 +1,21 @@
|
|||
import { devices, PlaywrightTestConfig } from "@playwright/test";
|
||||
|
||||
const ci = process.env.CI === "true";
|
||||
|
||||
// Reference: https://playwright.dev/docs/test-configuration
|
||||
const config: PlaywrightTestConfig = {
|
||||
// Artifacts folder where screenshots, videos, and traces are stored.
|
||||
outputDir: "test-results/",
|
||||
projects: [{ name: "chromium", use: { ...devices["Desktop Chrome"] } }],
|
||||
use: {
|
||||
viewport: { width: 1280, height: 720 },
|
||||
baseURL: "http://localhost:3000",
|
||||
trace: "retain-on-failure",
|
||||
},
|
||||
reporter: [
|
||||
[ci ? "github" : "list"],
|
||||
["html", { open: !ci ? "on-failure" : "never" }],
|
||||
],
|
||||
workers: 1,
|
||||
};
|
||||
export default config;
|
Loading…
Add table
Add a link
Reference in a new issue