@@ -4,40 +4,40 @@ import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it, onTes
44describe . runIf ( server . provider === 'playwright' ) ( 'timeouts are failing correctly' , ( ) => {
55 it ( 'click on non-existing element fails' , async ( ) => {
66 await page . getByRole ( 'code' ) . click ( )
7- } , 150 )
7+ } , 500 )
88
99 it ( 'expect.element on non-existing element fails' , async ( ) => {
1010 await expect . element ( page . getByRole ( 'code' ) ) . toBeVisible ( )
11- } , 150 )
11+ } , 1000 )
1212
1313 describe ( 'beforeEach' , ( ) => {
1414 beforeEach ( async ( ) => {
1515 await page . getByTestId ( 'non-existing' ) . click ( )
16- } , 150 )
16+ } , 500 )
1717
1818 it ( 'skipped' , ( ) => { } )
1919 } )
2020
2121 describe ( 'afterEach' , ( ) => {
2222 afterEach ( async ( ) => {
2323 await page . getByTestId ( 'non-existing' ) . click ( )
24- } , 150 )
24+ } , 500 )
2525
2626 it ( 'skipped' , ( ) => { } )
2727 } )
2828
2929 describe ( 'beforeAll' , ( ) => {
3030 beforeAll ( async ( ) => {
3131 await page . getByTestId ( 'non-existing' ) . click ( )
32- } , 150 )
32+ } , 500 )
3333
3434 it ( 'skipped' , ( ) => { } )
3535 } )
3636
3737 describe ( 'afterAll' , ( ) => {
3838 afterAll ( async ( ) => {
3939 await page . getByTestId ( 'non-existing' ) . click ( )
40- } , 150 )
40+ } , 500 )
4141
4242 it ( 'skipped' , ( ) => { } )
4343 } )
@@ -46,29 +46,29 @@ describe.runIf(server.provider === 'playwright')('timeouts are failing correctly
4646 it ( 'fails' , ( { onTestFinished } ) => {
4747 onTestFinished ( async ( ) => {
4848 await page . getByTestId ( 'non-existing' ) . click ( )
49- } , 150 )
49+ } , 500 )
5050 } )
5151
5252 it ( 'fails global' , ( ) => {
5353 onTestFinished ( async ( ) => {
5454 await page . getByTestId ( 'non-existing' ) . click ( )
55- } , 150 )
55+ } , 500 )
5656 } )
5757 } )
5858
5959 describe ( 'onTestFailed' , ( ) => {
6060 it ( 'fails' , ( { onTestFailed } ) => {
6161 onTestFailed ( async ( ) => {
6262 await page . getByTestId ( 'non-existing' ) . click ( )
63- } , 150 )
63+ } , 500 )
6464
6565 expect . unreachable ( )
6666 } )
6767
6868 it ( 'fails global' , ( ) => {
6969 onTestFailed ( async ( ) => {
7070 await page . getByTestId ( 'non-existing' ) . click ( )
71- } , 150 )
71+ } , 500 )
7272
7373 expect . unreachable ( )
7474 } )
0 commit comments