File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 run : npx playwright install --with-deps
2121 - name : Run tests
2222 run : npm run test-e2e
23- timeout-minutes : 1
2423 - uses : actions/upload-artifact@v4
2524 if : ${{ !cancelled() }}
2625 with :
Original file line number Diff line number Diff line change @@ -73,6 +73,10 @@ export class OrejimePage {
7373 }
7474
7575 async acceptAllFromBanner ( ) {
76+ await expect (
77+ this . page . getByTestId ( 'orejime-banner-accept' )
78+ ) . toBeVisible ( ) ;
79+ console . log ( 'accept visible' ) ;
7680 await this . page . getByTestId ( 'orejime-banner-accept' ) . click ( ) ;
7781 }
7882
@@ -120,7 +124,6 @@ export class OrejimePage {
120124 }
121125
122126 async expectConsents ( consents : Record < string , unknown > ) {
123- return { } ;
124127 await expect ( await this . getConsentsFromCookies ( ) ) . toEqual ( consents ) ;
125128 }
126129
Original file line number Diff line number Diff line change @@ -4,7 +4,10 @@ export default defineConfig({
44 testDir : './e2e' ,
55 fullyParallel : true ,
66 forbidOnly : ! ! process . env . CI ,
7- retries : process . env . CI ? 2 : 0 ,
7+ timeout : 5_000 ,
8+ expect : {
9+ timeout : 1_000
10+ } ,
811 workers : process . env . CI ? 1 : undefined ,
912 reporter : 'list' ,
1013 use : {
You can’t perform that action at this time.
0 commit comments