
* Fix E2E bugs causing CI failutes * Revert setup in dx Co-authored-by: zomars <zomars@me.com>
13 lines
435 B
TypeScript
13 lines
435 B
TypeScript
import { test } from "@playwright/test";
|
|
|
|
test.describe("Login tests", () => {
|
|
// Using logged in state from globalSteup
|
|
test.use({ storageState: "playwright/artifacts/proStorageState.json" });
|
|
|
|
test("login with pro@example.com", async ({ page }) => {
|
|
// Try to go homepage
|
|
await page.goto("/");
|
|
// It should redirect you to the event-types page
|
|
await page.waitForSelector("[data-testid=event-types]");
|
|
});
|
|
});
|