Skip to content

Commit

Permalink
hack: test a different subway line with working departures
Browse files Browse the repository at this point in the history
  • Loading branch information
thecristen committed Dec 12, 2024
1 parent bbd5536 commit d3553e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration/scenarios/search-for-a-subway-line.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ exports.scenario = async ({ page, baseURL }) => {
// The tab button takes me to the left side nav rather than the search results :(.
await page
.locator("input#search-global__input")
.pressSequentially("Blue Line");
.pressSequentially("Orange Line");
await page.waitForSelector("div#search-results-container");
await page.locator("div.c-search-result__hit a").first().click();

await expect(page.locator("h1.schedule__route-name")).toHaveText(
"Blue Line",
"Orange Line",
);
await page.waitForSelector("li.m-schedule-diagram__stop");
await page.waitForSelector("div.m-schedule-diagram__predictions");
Expand Down

0 comments on commit d3553e0

Please sign in to comment.