Fix flaky connect to Woo e2e test (#48926)
This commit is contained in:
parent
cf7fc7b2a9
commit
59a1e5394b
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
|
||||
E2E tests: Fix flaky connect to Woo.com test
|
|
@ -450,13 +450,11 @@ test.describe( 'Store owner can skip the core profiler', () => {
|
|||
|
||||
await test.step( 'Check that we are sent to wp.com', async () => {
|
||||
await expect( page.url() ).toContain( 'wordpress.com/log-in' );
|
||||
// reload to avoid flaky blank page
|
||||
await page.reload();
|
||||
await expect(
|
||||
page.getByRole( 'heading', {
|
||||
name: 'Log in to your account',
|
||||
} )
|
||||
).toBeVisible();
|
||||
).toBeVisible( { timeout: 30000 } );
|
||||
} );
|
||||
} );
|
||||
} );
|
||||
|
|
Loading…
Reference in New Issue