From 25c196491f2d8c73d50dc648b4fe574b0d0d65fa Mon Sep 17 00:00:00 2001 From: Rahul Gavande Date: Thu, 16 Jan 2025 11:10:49 +0530 Subject: [PATCH] E2E: Fix Editor Canvas test (#98409) --- packages/calypso-e2e/src/lib/components/editor-component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/calypso-e2e/src/lib/components/editor-component.ts b/packages/calypso-e2e/src/lib/components/editor-component.ts index 4e0580ea7c47b..c43c9fc739f9a 100644 --- a/packages/calypso-e2e/src/lib/components/editor-component.ts +++ b/packages/calypso-e2e/src/lib/components/editor-component.ts @@ -95,7 +95,7 @@ export class EditorComponent { private async waitForFramedCanvas() { const parentLocator = await this.parent(); const canvasLocator = parentLocator - .locator( '.block-editor-iframe__scale-container' ) + .locator( '.editor-visual-editor' ) .first() .frameLocator( 'iframe' ) .locator( '.editor-styles-wrapper' );