Files
zitadel/acceptance/tests/username-password.spec.ts
Elio Bischof bfd8a7c9e1 fmt
2024-10-19 01:30:20 +02:00

13 lines
488 B
TypeScript

import { test } from "@playwright/test";
test("username and password", async ({ page }) => {
await page.goto("/");
const loginname = page.getByLabel("Loginname");
await loginname.pressSequentially("zitadel-admin@zitadel.localhost");
await loginname.press("Enter");
const password = page.getByLabel("Password");
await password.pressSequentially("Password1!");
await password.press("Enter");
await page.getByRole("heading", { name: "Welcome ZITADEL Admin!" }).click();
});