Skip to content

Fix Cypress clicking a hidden From user files button. - #327

Merged
pellecchialuigi merged 1 commit into
mainfrom
fix/user-file-select-hidden-button
Sep 29, 2026
Merged

pellecchialuigi merged 1 commit into
mainfrom
fix/user-file-select-hidden-button

Conversation

@pellecchialuigi

Copy link
Copy Markdown
Collaborator

The user file picker spec used contains().first(), which matched a button inside a collapsed dashboard row (display:none) instead of the add-component modal. Give the modal buttons stable ids and click the visible one.

The user file picker spec used contains().first(), which matched a button
inside a collapsed dashboard row (display:none) instead of the add-component
modal. Give the modal buttons stable ids and click the visible one.

Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Luigi Pellecchia <pellecchia.luigi@gmail.com>
@pellecchialuigi
pellecchialuigi force-pushed the fix/user-file-select-hidden-button branch from b3d3ad1 to ac1d910 Compare September 29, 2026 09:17
@pellecchialuigi
pellecchialuigi marked this pull request as ready for review September 29, 2026 10:18
@pellecchialuigi
pellecchialuigi merged commit 833383a into main Sep 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant