Repository navigation
test(e2e): pick the header Create link button in share-links spec - #695
ValgulNecron wants to merge 1 commit into
Conversation
The empty state renders a second Create link button, so the main-scoped locator matched two elements and failed in strict mode. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📜 Recent review details
WalkthroughThe share-link end-to-end test helper now selects the first “Create link” button in the main landmark. ChangesShare Link Test
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~5 minutes Change: Other Suggested labels: Merge Risk: ⚪ Minimal · up to
|
CI Report - 6a939dfrun 38603906074 - attempt 2 0 failed - 9 passed - 22 skipped - 39m12s elapsed Coverage
Changed
Slowest jobs
e2e buckets run
|
|
Generated by Claude Code |
|
Closing: master already carries this fix in 834c3ca ("fix: preserve share link tokens across server refreshes"). That commit changed the same line to Generated by Claude Code |
Before: the live
share-links.spec.tssometimes failed in strict mode atopenCreateDialog, because a server with no share links shows two "Create link" buttons inside<main>: the header button and the empty-state button (web/src/routes/tabs/settings/ShareLinks.tsx:551and:570). The locator matched both. This failed on amd64 in the #693 live run.After: the spec clicks the header button with
.first(), so it opens the same dialog whether or not the list is empty.How: one locator change plus a comment in
web/e2e/specs/live/share-links.spec.ts. No assertion changes. valgul approved this as its own PR on the spec 013 card.🤖 Generated with Claude Code
Generated by Claude Code
Summary by CodeRabbit