This commit is contained in:
pandeymangg
2025-09-10 12:28:51 +05:30
parent af49205488
commit 13d6af0183
+2 -1
View File
@@ -30,7 +30,8 @@ export default defineConfig({
baseURL: "http://localhost:3000",
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: "on-first-retry",
// trace: "on-first-retry",
trace: "on",
permissions: ["clipboard-read", "clipboard-write"],
screenshot: "only-on-failure", // Capture screenshots only on test failure
video: "retain-on-failure", // Optionally record video on failure