Blocks E2E: Wait for Site Editor canvas loader (#47541)
This commit is contained in:
parent
8bf9e966d4
commit
a7bbdb99a2
|
@ -223,7 +223,14 @@ export class EditorUtils {
|
|||
} )
|
||||
.dispatchEvent( 'click' );
|
||||
|
||||
await this.page.locator( '.edit-site-layout__sidebar' ).waitFor( {
|
||||
const sidebar = this.page.locator( '.edit-site-layout__sidebar' );
|
||||
const canvasLoader = this.page.locator( '.edit-site-canvas-loader' );
|
||||
|
||||
await sidebar.waitFor( {
|
||||
state: 'hidden',
|
||||
} );
|
||||
|
||||
await canvasLoader.waitFor( {
|
||||
state: 'hidden',
|
||||
} );
|
||||
}
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
|
||||
Blocks E2E: Wait for Site Editor canvas loader in the `enterEditMore()` utility.
|
Loading…
Reference in New Issue