diff --git a/test/e2e/specs/site-editor/site-editor-inserter.spec.js b/test/e2e/specs/site-editor/site-editor-inserter.spec.js index a542f21ea4c410..d34d2d7e313d82 100644 --- a/test/e2e/specs/site-editor/site-editor-inserter.spec.js +++ b/test/e2e/specs/site-editor/site-editor-inserter.spec.js @@ -286,7 +286,7 @@ class InserterUtils { async expectActiveTab( name ) { await expect( this.getBlockLibraryTab( name ) ).toHaveAttribute( - 'data-active-item', + 'aria-selected', 'true' ); }