From 09954cc474024ba0e4ca762ab0c22a66937fd94a Mon Sep 17 00:00:00 2001 From: Andreas Reinhold / reini Date: Mon, 14 Sep 2026 13:39:17 +0200 Subject: [PATCH] Find the scrolling chip row inside its scroll-button wrapper Plan step 32. The chip set's scroll buttons (plan step 24) moved `x-data="materialChipSet"` from the row to a wrapper around the row and its buttons, so `[data-chip-set][x-data]` found the first wrapping set on the page, which never overflows. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01Qwx5USif3wFFmxtHg5U1g9 --- tests/Browser/ChipsTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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();