Skip to content

test: fix url checks in e2e tests #12881

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
:|
  • Loading branch information
aslilac committed Apr 11, 2024
commit 8b1393fc5c60f35895d39ce4b2c158e57137851a
2 changes: 1 addition & 1 deletion site/e2e/global.setup.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { expect, test } from "@playwright/test";
import { Language } from "pages/CreateUserPage/CreateUserForm";
import * as constants from "./constants";
import { storageState } from "./playwright.config";
import { expectUrl } from "./expectUrl";
import { storageState } from "./playwright.config";

test("setup deployment", async ({ page }) => {
await page.goto("/", { waitUntil: "domcontentloaded" });
Expand Down
2 changes: 1 addition & 1 deletion site/e2e/tests/updateTemplate.spec.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { expect, test } from "@playwright/test";
import { expectUrl } from "../expectUrl";
import {
createGroup,
createTemplate,
requiresEnterpriseLicense,
updateTemplateSettings,
} from "../helpers";
import { expectUrl } from "../expectUrl";

test("template update with new name redirects on successful submit", async ({
page,
Expand Down
Loading