mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
26 lines
768 B
TypeScript
26 lines
768 B
TypeScript
/*
|
|
Copyright 2024 New Vector Ltd.
|
|
Copyright 2023 The Matrix.org Foundation C.I.C.
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
Please see LICENSE files in the repository root for full details.
|
|
*/
|
|
|
|
import { defineConfig } from "@playwright/test";
|
|
|
|
export default defineConfig({
|
|
use: {
|
|
viewport: { width: 1280, height: 720 },
|
|
video: "retain-on-failure",
|
|
trace: "on-first-retry",
|
|
},
|
|
testDir: "playwright/e2e",
|
|
outputDir: "playwright/test-results",
|
|
workers: 1,
|
|
retries: process.env.CI ? 2 : 0,
|
|
reporter: [["html", { outputFolder: "playwright/html-report" }]],
|
|
snapshotDir: "playwright/snapshots",
|
|
snapshotPathTemplate: "{snapshotDir}/{testFilePath}/{arg}-{platform}{ext}",
|
|
timeout: 30 * 1000,
|
|
});
|