diff --git a/tests/Browser/ChipsTest.php b/tests/Browser/ChipsTest.php index 55fd60c8..543f205e 100644 --- a/tests/Browser/ChipsTest.php +++ b/tests/Browser/ChipsTest.php @@ -158,7 +158,8 @@ it('removes an Alpine input chip with Backspace, focusing the chip before it', f }); it('scrolls a chip set sideways, fading the edge it can still scroll towards', function () { - $row = "document.querySelector('#chips [data-chip-set][x-data]')"; + // The scrolling row, inside the component that also holds its scroll buttons. + $row = "document.querySelector('#chips [x-data=\"materialChipSet\"] > [data-chip-set]')"; $page = chipShowcase();