Remove URL assertions for setup.spec.ts (fails on windows) (#1258)

This commit is contained in:
Will Chen
2025-09-11 11:13:33 -07:00
committed by GitHub
parent 6e7e86bb89
commit 2e53014f29

View File

@@ -12,7 +12,6 @@ testSetup("setup ai provider", async ({ po }) => {
await expect(
po.page.getByRole("heading", { name: "Configure Google" }),
).toBeVisible();
expect(po.page.url()).toEqual("file:///providers/google");
await po.page.getByRole("button", { name: "Go Back" }).click();
await po.page
@@ -21,11 +20,9 @@ testSetup("setup ai provider", async ({ po }) => {
await expect(
po.page.getByRole("heading", { name: "Configure OpenRouter" }),
).toBeVisible();
expect(po.page.url()).toEqual("file:///providers/openrouter");
await po.page.getByRole("button", { name: "Go Back" }).click();
await po.page
.getByRole("button", { name: "Setup other AI providers" })
.click();
expect(po.page.url()).toEqual("file:///settings");
});