From 1b32f3014493e7a4f3a7a094a3ac71823f8611f1 Mon Sep 17 00:00:00 2001 From: Jerry Jones Date: Thu, 5 Dec 2024 14:32:13 -0600 Subject: [PATCH] use aria-selected instead of data-active-item to check for active block tab --- test/e2e/specs/site-editor/site-editor-inserter.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ); }