Make Playwright evidence collection explicit
TaxBaik CI/CD / build-and-deploy (push) Successful in 3m9s

This commit is contained in:
2026-07-07 16:23:35 +09:00
parent 4c2a13712b
commit 68cc97eda6
3 changed files with 7 additions and 0 deletions
+5
View File
@@ -7,6 +7,11 @@ function safeName(value: string) {
}
function evidenceRoot(testInfo: TestInfo) {
const explicitRoot = process.env.EVIDENCE_ROOT?.trim();
if (explicitRoot) {
return resolve(explicitRoot);
}
return resolve(testInfo.project.outputDir, '..', 'evidence');
}