From 94262646dbfca578f7c031694c30a64cd2d0ad98 Mon Sep 17 00:00:00 2001 From: ramon Date: Tue, 20 Jun 2023 13:32:58 +1000 Subject: [PATCH] Update e2e selectors --- .../e2e/specs/site-editor/user-global-styles-revisions.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/e2e/specs/site-editor/user-global-styles-revisions.spec.js b/test/e2e/specs/site-editor/user-global-styles-revisions.spec.js index fd3a4da83f4c3f..4ab61111df419d 100644 --- a/test/e2e/specs/site-editor/user-global-styles-revisions.spec.js +++ b/test/e2e/specs/site-editor/user-global-styles-revisions.spec.js @@ -136,8 +136,9 @@ class UserGlobalStylesRevisions { async openRevisions() { await this.page - .getByRole( 'button', { name: 'Styles revisions actions' } ) + .getByRole( 'menubar', { name: 'Styles actions' } ) .click(); + await this.page.getByRole( 'button', { name: 'Revisions' } ).click(); await this.page .getByRole( 'menuitem', { name: /^Revision history/ } ) .click();