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]')";