bug: scope e2e homepage error selector to main's direct child #61
No reviewers
Labels
No labels
breaking
bug
ci
dependencies
documentation
feature
security
skip-changelog
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
argus/backend!61
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/e2e-accueil-selector-ambiguity"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
e2e/accueil.spec.ts's$("main p")matched bothProjectListView's own error paragraph andBigbDashboard's independent loading/error<p>(nested one level deeper, insidesection.overview), so the assertion flaked depending on which of the two independent fetches had settled by sample time.main > p(direct child), which is exactlyProjectListView's own paragraph — no timing dependency, no frontend change needed.Closes #60
Test plan
🤖 Generated with Claude Code
https://claude.ai/code/session_014HiJrn6J6vhyFfC2qyY4uh
$("main p") matched both ProjectListView's own error paragraph and BigbDashboard's independent loading/error <p> (nested one level deeper), so the assertion flaked depending on which of the two fetches had settled by sample time. Scoping to the direct child removes the ambiguity without any timing dependency. Closes #60 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014HiJrn6J6vhyFfC2qyY4uh📊 Rapports Argus pour cette PR