refactor: simplify playwright config

This commit is contained in:
Kim, Jimin 2023-07-29 10:02:18 +09:00
parent 296be0e5b2
commit 036ccfd8ef
Signed by: pomp
GPG key ID: CE1DDB8A4A765403
2 changed files with 3 additions and 5 deletions

View file

@ -1,5 +1,4 @@
import { devices, PlaywrightTestConfig } from "@playwright/test"
import path from "path"
const baseURL = "http://localhost:5174"
@ -9,7 +8,7 @@ const config: PlaywrightTestConfig = {
timeout: 30 * 1000,
// Test directory
testDir: path.join(__dirname, "e2e"),
testDir: "e2e",
// Artifacts folder where screenshots, videos, and traces are stored.
outputDir: "test-results/",