File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
examples/publish-ci/cra5/tests/playwright Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,18 +4,18 @@ test('RTK / RTKQ Interactions', async ({ page }) => {
4
4
await page . goto ( 'http://localhost:3000' )
5
5
6
6
const counterValue = page . getByTestId ( 'counter-value' )
7
- expect ( counterValue ) . toHaveText ( '0' )
7
+ expect ( counterValue ) . toHaveText ( '0' , { timeout : 0 } )
8
8
9
9
const increment = page . getByRole ( 'button' , { name : 'Increment value' } )
10
10
await increment . click ( )
11
11
12
12
expect ( counterValue ) . toHaveText ( '1' )
13
13
14
14
const timeValue = page . getByTestId ( 'time-value' )
15
- await timeValue . getByText ( / \d + : \d + : \d + ( A | P ) M / ) . waitFor ( { timeout : 2000 } )
15
+ await timeValue . getByText ( / \d + : \d + : \d + ( A | P ) M / ) . waitFor ( { timeout : 10000 } )
16
16
17
17
const postValue = page . getByTestId ( 'post-value' )
18
- await postValue . getByText ( 'A sample post' ) . waitFor ( { timeout : 2000 } )
18
+ await postValue . getByText ( 'A sample post' ) . waitFor ( { timeout : 10000 } )
19
19
20
20
// expect(timeValue).toHaveText(, {timeout: 5000, });
21
21
} )
You can’t perform that action at this time.
0 commit comments