CYS: Fix Loading Screen E2E flaky test (#48214)
* CYS: Fix Loading Screen E2E flaky test * Add changefile(s) from automation for the following project(s): woocommerce --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
parent
9b179cf498
commit
5e6c7e1e67
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: tweak
|
||||
Comment: CYS: Fix Loading Screen E2E flaky test
|
||||
|
|
@ -124,6 +124,7 @@ test.describe( 'Assembler - Loading Page', () => {
|
|||
|
||||
const assembler = await pageObject.getAssembler();
|
||||
await assembler.getByRole( 'button', { name: 'Save' } ).click();
|
||||
await assembler.getByText( 'Your store looks great!' ).waitFor();
|
||||
// Abort any additional unnecessary requests
|
||||
await page.evaluate( () => window.stop() );
|
||||
await pageObject.setupSite( baseURL );
|
||||
|
|
Loading…
Reference in New Issue