Apply patch [skip ci]
This commit is contained in:
parent
b0e2ee60ce
commit
ff2c78ae98
@ -1,11 +1,11 @@
|
|||||||
import { expect, test } from "@playwright/test";
|
import { expect, test, type Page } from "@playwright/test";
|
||||||
import { applyDeterministicPage } from "./helpers.ts";
|
import { applyDeterministicPage } from "./helpers.ts";
|
||||||
|
|
||||||
test.beforeEach(async ({ page }) => {
|
test.beforeEach(async ({ page }) => {
|
||||||
await applyDeterministicPage(page);
|
await applyDeterministicPage(page);
|
||||||
});
|
});
|
||||||
|
|
||||||
test("guest landing shows primary calls to action", async ({ page }) => {
|
test("guest landing shows primary calls to action", async ({ page }: { page: Page }) => {
|
||||||
await page.goto("/");
|
await page.goto("/");
|
||||||
|
|
||||||
await expect(
|
await expect(
|
||||||
@ -21,7 +21,7 @@ test("guest landing shows primary calls to action", async ({ page }) => {
|
|||||||
).toBeVisible();
|
).toBeVisible();
|
||||||
});
|
});
|
||||||
|
|
||||||
test("guest landing shows system ready banner", async ({ page }) => {
|
test("guest landing shows system ready banner", async ({ page }: { page: Page }) => {
|
||||||
await page.goto("/");
|
await page.goto("/");
|
||||||
|
|
||||||
await expect(
|
await expect(
|
||||||
@ -32,3 +32,4 @@ test("guest landing shows system ready banner", async ({ page }) => {
|
|||||||
page.locator("form[action='/auth/login']").filter({ hasText: "ENTER" }),
|
page.locator("form[action='/auth/login']").filter({ hasText: "ENTER" }),
|
||||||
).toBeVisible();
|
).toBeVisible();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user