From 611cd7061d94a1c773403475c75bd1fb85583a31 Mon Sep 17 00:00:00 2001 From: Andreas Reinhold Date: Mon, 14 Sep 2026 06:15:37 +0200 Subject: [PATCH] Point the snackbar browser test at the region that moved The live region is the toast host itself now, not a descendant of it, so the selector that looked for `[aria-live]` inside the host found nothing. Plan step 11, actions.md ACT-02. (The Browser suite was not run from this worktree.) Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01Qwx5USif3wFFmxtHg5U1g9 --- tests/Browser/CommunicationTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Browser/CommunicationTest.php b/tests/Browser/CommunicationTest.php index 8026751e..8592dab2 100644 --- a/tests/Browser/CommunicationTest.php +++ b/tests/Browser/CommunicationTest.php @@ -39,7 +39,8 @@ class RichTooltipMorphProbe extends Component } } -const SNACKBAR = "document.querySelector('[x-data=\"materialSnackbar\"] [aria-live]')"; +// The live region is the host itself, in the page before any message is (actions.md ACT-02). +const SNACKBAR = "document.querySelector('[x-data=\"materialSnackbar\"][aria-live]')"; const TOAST = "document.querySelector('[data-toast]')";