From 884f585e4dc4c3ca7dc54e5f4abe1927fa48d4a6 Mon Sep 17 00:00:00 2001 From: Andreas Reinhold / reini Date: Mon, 14 Sep 2026 18:15:25 +0200 Subject: [PATCH] Match the app bar's overflow menu item past its new class Follow-up to menu-item's move to the interaction classes (this batch): the app bar's own test anchored a menu item's link right after Claude-Session: https://claude.ai/code/session_01Qwx5USif3wFFmxtHg5U1g9 --- tests/Feature/Components/AppBarTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/Components/AppBarTest.php b/tests/Feature/Components/AppBarTest.php index 51fd3892..6faeaee8 100644 --- a/tests/Feature/Components/AppBarTest.php +++ b/tests/Feature/Components/AppBarTest.php @@ -76,7 +76,7 @@ it('keeps two trailing icon buttons below medium and four from it, the rest in a ->and(preg_match_all('/role="menu"\s+data-md-menu-popover\s+data-md-position="bottom-end"\s+aria-label="More options"/', $html))->toBe(2) // Below medium: all but the first. ->and($compact) - ->toMatch('/]*role="menuitem" tabindex="-1" href="\/shares\/1\/share"/') + ->toMatch('/]*role="menuitem" tabindex="-1" href="\/shares\/1\/share"/') ->toMatch('/role="menuitemcheckbox" aria-checked="true"[^>]*wire:click="star"/') ->toMatch('/role="menuitem"[^>]*wire:click="archive"/') ->toMatch('/role="menuitem" aria-disabled="true"/')