Skip to content
Prev Previous commit
Next Next commit
Fix e2e tests
  • Loading branch information
BrunoQuaresma committed Feb 9, 2024
commit 7c2474469ed98d4285078bb44af2cc4960049e0e
2 changes: 1 addition & 1 deletion site/e2e/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export const createTemplate = async (
const name = randomName();
await page.getByLabel("Name *").fill(name);
await page.getByTestId("form-submit").click();
await expect(page).toHaveURL("/templates/" + name, {
await expect(page).toHaveURL(`/templates/${name}/files`, {
timeout: 30000,
});
return name;
Expand Down