Skip to content

Fix the daily deploy: run the scroll e2e test on a busy date - #96

Closed
davd-gzl wants to merge 1 commit into
mainfrom
e2e-busy-date
Closed

davd-gzl wants to merge 1 commit into
mainfrom
e2e-busy-date

Conversation

@davd-gzl

@davd-gzl davd-gzl commented Oct 12, 2026 •

Copy link
Copy Markdown
Collaborator

Before: the daily "Deploy to GitHub Pages" run has failed since 10 October, so the live site still serves the 9 October build. Two e2e scenarios ("Back from a route restores the list's scroll") need more than 30 destinations from Paris, and they search today + 5 days. In the current snapshot that day (17 October) has 23.

After: those two scenarios use the snapshot date with the most destinations from Paris, as the round-trip scenario already does for its dates. The suite passes 23/23 locally; without the change the same two fail.

How: pickBusyDate() in scripts/e2e.mjs, used only by that scenario.

The test needs more than 30 destinations from Paris, and a blind
today+5 days can land on a day with far fewer free MAX seats. That
made the daily Pages deploy fail since 10 October.
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