File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ export default defineConfig({
55 ...defaultConfig ,
66 use : {
77 baseURL : 'http://localhost:9080' ,
8- trace : 'on-firstt -retry' ,
8+ trace : 'on-first -retry' ,
99 } ,
10- } ) ;
10+ webServer : {
11+ command : 'yarn storybook' ,
12+ port : 9080 ,
13+ reuseExistingServer : ! process . env . CI ,
14+ } ,
15+ } ) ;
Original file line number Diff line number Diff line change 3232 "dev" : " yarn storybook & yarn testui" ,
3333 "lint" : " eslint --fix 'src/**/*.{js,jsx}' --ignore-path ../../.eslintignore" ,
3434 "test" : " vitest --watch=false && yarn test-datalayer" ,
35- "test-datalayer" : " playwright test tests/dataLayer.spec.mjs" ,
3635 "test:accessibility" : " playwright test" ,
3736 "testui" : " vitest --ui" ,
3837 "start:dev" : " webpack-dashboard -- webpack serve -c webpack/webpack.dev.js" ,
Original file line number Diff line number Diff line change @@ -28,8 +28,6 @@ for (const config of testUrls) {
2828 test ( 'should push correct events when opening and closing accordion' , async ( { page } ) => {
2929 await page . goto ( config . url ) ;
3030
31- await page . waitForSelector ( '[data-testid="accordion-opener"]' ) ;
32-
3331 const openers = await page . getByTestId ( 'accordion-opener' ) . all ( ) ;
3432 expect ( openers . length ) . toBeGreaterThan ( 0 ) ;
3533
You can’t perform that action at this time.
0 commit comments