File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -10,4 +10,9 @@ TEST_EXIT_CODE=0
1010npm ci
1111npm run test:component || TEST_EXIT_CODE=$?
1212echo " TEST_EXIT_CODE=$TEST_EXIT_CODE "
13+
14+ mkdir -p ../acceptance-test-report
15+ cp -r ./playwright-report ../acceptance-test-report
16+ [[ -e test-results ]] && cp -r ./test-results ../acceptance-test-report
17+
1318exit $TEST_EXIT_CODE
Original file line number Diff line number Diff line change 11import type { ReporterDescription } from '@playwright/test' ;
2+ import path from 'path' ;
23
34const resultsDir = process . env . RESULTS_DIR || 'results' ;
45const reportsDir = process . env . REPORTS_DIR || 'reports' ;
@@ -21,7 +22,7 @@ export function getReporters(allureFolder: string) {
2122 [
2223 'html' ,
2324 {
24- outputFolder : `../target/test-artifacts/ ${ reportsDir } /html- report` ,
25+ outputFolder : path . resolve ( __dirname , '../playwright- report' ) ,
2526 open : process . env . CI ? 'never' : 'on-failure' ,
2627 } ,
2728 ] ,
You can’t perform that action at this time.
0 commit comments