Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion e2e/trip.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ test.describe("desktop", { tag: "@desktop" }, () => {
test("journey mode renders the seeded demo photo pipeline", async ({ page }) => {
await page.goto("/");
await page.getByRole("button", { name: /Day 1: Reine arrival/ }).click();
await page.getByRole("button", { name: "Open Journey Mode" }).click();
await page.getByRole("button", { name: "Relive the journey" }).first().click();
await expect(page.getByText("Reine harbor at golden hour")).toBeVisible();
await expect(page.getByRole("img", { name: "Reine harbor at golden hour" })).toBeVisible();
const uploaderFilter = page.getByRole("combobox", { name: "Filter journey by uploader" });
Expand Down
3 changes: 3 additions & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ export default defineConfig({
env: {
// Demo-mode flag is inlined at build time and only honored on localhost.
NEXT_PUBLIC_LOCAL_DEMO_MODE: "1",
// Keep mapless assertions deterministic even when a developer's
// .env.local contains a real token.
NEXT_PUBLIC_MAPBOX_TOKEN: "",
NEXT_DIST_DIR: ".next-e2e",
PORT: "3100",
},
Expand Down
Loading