diff --git a/packages/e2e-tests/specs/editor/blocks/columns.test.js b/packages/e2e-tests/specs/editor/blocks/columns.test.js index da30710f5c43c0..f593800cd0970a 100644 --- a/packages/e2e-tests/specs/editor/blocks/columns.test.js +++ b/packages/e2e-tests/specs/editor/blocks/columns.test.js @@ -21,7 +21,7 @@ describe( 'Columns', () => { await page.click( '.edit-post-header-toolbar__list-view-toggle' ); const columnBlockMenuItem = ( await page.$x( - '//button[contains(concat(" ", @class, " "), " block-editor-list-view-block-select-button ")][text()="Column"]' + '//a[contains(concat(" ", @class, " "), " block-editor-list-view-block-select-button ")][text()="Column"]' ) )[ 0 ]; await columnBlockMenuItem.click(); diff --git a/packages/e2e-tests/specs/experiments/document-settings.test.js b/packages/e2e-tests/specs/experiments/document-settings.test.js index 62d239b45d348a..c4daa6942e007b 100644 --- a/packages/e2e-tests/specs/experiments/document-settings.test.js +++ b/packages/e2e-tests/specs/experiments/document-settings.test.js @@ -59,7 +59,7 @@ describe( 'Document Settings', () => { '.edit-post-header-toolbar__list-view-toggle' ); const headerTemplatePartListViewButton = await page.waitForXPath( - '//button[contains(@class, "block-editor-list-view-block-select-button")][contains(., "Header")]' + '//a[contains(@class, "block-editor-list-view-block-select-button")][contains(., "Header")]' ); headerTemplatePartListViewButton.click(); await page.click( diff --git a/packages/e2e-tests/specs/experiments/multi-entity-saving.test.js b/packages/e2e-tests/specs/experiments/multi-entity-saving.test.js index e2b9d135d31498..3521b9f15439d2 100644 --- a/packages/e2e-tests/specs/experiments/multi-entity-saving.test.js +++ b/packages/e2e-tests/specs/experiments/multi-entity-saving.test.js @@ -251,7 +251,7 @@ describe( 'Multi-entity save flow', () => { // Select the header template part via list view. await page.click( '.edit-site-header-toolbar__list-view-toggle' ); const headerTemplatePartListViewButton = await page.waitForXPath( - '//button[contains(@class, "block-editor-list-view-block-select-button")][contains(., "Header")]' + '//a[contains(@class, "block-editor-list-view-block-select-button")][contains(., "Header")]' ); headerTemplatePartListViewButton.click(); await page.click( 'button[aria-label="Close list view sidebar"]' );