Make Playwright evidence collection explicit
TaxBaik CI/CD / build-and-deploy (push) Successful in 3m9s
TaxBaik CI/CD / build-and-deploy (push) Successful in 3m9s
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user