|
21 | 21 | "postpack": "pinst --enable", |
22 | 22 | "test": "vitest run --config test/vitest.config.ts", |
23 | 23 | "test:coverage": "vitest run --config test/vitest.config.ts --coverage", |
24 | | - "test:e2e": "yarn test:e2e:demo && yarn test:e2e:app && yarn test:e2e:gallery && node -e \"const {cpSync,mkdirSync,rmSync,readdirSync}=require('fs');const d='test/e2e/reports/blob';rmSync(d,{recursive:true,force:true});mkdirSync(d,{recursive:true});['demo','app','gallery'].forEach(s=>{readdirSync('test/e2e/reports/'+s).filter(f=>f.endsWith('.zip')).forEach(f=>cpSync('test/e2e/reports/'+s+'/'+f,d+'/'+s+'-'+f))})\" && npx playwright merge-reports -c test/e2e/playwright.merge.config.ts test/e2e/reports/blob && yarn playwright show-report test/e2e/reports/combined", |
25 | | - "test:e2e:local": "yarn test:e2e:demo:local && yarn test:e2e:app:local && yarn test:e2e:gallery:local && node -e \"const {cpSync,mkdirSync,rmSync,readdirSync}=require('fs');const d='test/e2e/reports/blob';rmSync(d,{recursive:true,force:true});mkdirSync(d,{recursive:true});['demo','app','gallery'].forEach(s=>{readdirSync('test/e2e/reports/'+s).filter(f=>f.endsWith('.zip')).forEach(f=>cpSync('test/e2e/reports/'+s+'/'+f,d+'/'+s+'-'+f))})\" && npx playwright merge-reports -c test/e2e/playwright.merge.config.ts test/e2e/reports/blob && yarn playwright show-report test/e2e/reports/combined", |
26 | | - "test:e2e:browserstack": "yarn test:e2e:demo:browserstack && yarn test:e2e:app:browserstack && yarn test:e2e:gallery:browserstack && node -e \"const {cpSync,mkdirSync,rmSync,readdirSync}=require('fs');const d='test/e2e/reports/blob';rmSync(d,{recursive:true,force:true});mkdirSync(d,{recursive:true});['demo','app','gallery'].forEach(s=>{readdirSync('test/e2e/reports/'+s).filter(f=>f.endsWith('.zip')).forEach(f=>cpSync('test/e2e/reports/'+s+'/'+f,d+'/'+s+'-'+f))})\" && npx playwright merge-reports -c test/e2e/playwright.merge.config.ts test/e2e/reports/blob && yarn playwright show-report test/e2e/reports/combined", |
| 24 | + "test:e2e": "yarn test:e2e:demo && yarn test:e2e:app && yarn test:e2e:gallery && node test/e2e/collect-blob-reports.mjs && npx playwright merge-reports -c test/e2e/playwright.merge.config.ts test/e2e/reports/blob", |
| 25 | + "test:e2e:local": "yarn test:e2e:demo:local && yarn test:e2e:app:local && yarn test:e2e:gallery:local && node test/e2e/collect-blob-reports.mjs && npx playwright merge-reports -c test/e2e/playwright.merge.config.ts test/e2e/reports/blob", |
| 26 | + "test:e2e:browserstack": "yarn test:e2e:demo:browserstack && yarn test:e2e:app:browserstack && yarn test:e2e:gallery:browserstack && node test/e2e/collect-blob-reports.mjs && npx playwright merge-reports -c test/e2e/playwright.merge.config.ts test/e2e/reports/blob", |
| 27 | + "test:e2e:show-report": "yarn playwright show-report test/e2e/reports/combined", |
27 | 28 | "test:e2e:demo": "playwright test --config test/e2e/playwright.demo.config.ts", |
28 | 29 | "test:e2e:demo:local": "playwright test --config test/e2e/playwright.demo.config.ts --project=local", |
29 | 30 | "test:e2e:demo:browserstack": "BROWSERSTACK=true playwright test --config test/e2e/playwright.demo.config.ts --project=browserstack-*", |
|
0 commit comments