We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f96ce80 commit 2c8c3fbCopy full SHA for 2c8c3fb
site/e2e/helpers.ts
@@ -60,7 +60,8 @@ export const createWorkspace = async (
60
await fillParameters(page, richParameters, buildParameters);
61
await page.getByTestId("form-submit").click();
62
63
- await expect(page).toHaveURL("/@admin/" + name);
+ // We can't use `toHaveURL` because that causes issues with searchParams
64
+ await expect(new URL(page.url()).pathname).toBe("/@admin/" + name);
65
66
await page.waitForSelector("*[data-testid='build-status'] >> text=Running", {
67
state: "visible",
0 commit comments