Skip to content

Commit

Permalink
use aria-selected instead of data-active-item to check for active blo…
Browse files Browse the repository at this point in the history
…ck tab
  • Loading branch information
jeryj committed Dec 5, 2024
1 parent 5df537e commit dd36078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/specs/site-editor/site-editor-inserter.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ class InserterUtils {

async expectActiveTab( name ) {
await expect( this.getBlockLibraryTab( name ) ).toHaveAttribute(
'data-active-item',
'aria-selected',
'true'
);
}
Expand Down

0 comments on commit dd36078

Please sign in to comment.