mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-07 19:47:26 +02:00
⬆️ v3.0.0 (#704)
This commit is contained in:
parent
735056f25f
commit
c22b3abc4d
385 changed files with 19912 additions and 5250 deletions
|
@ -42,7 +42,9 @@ test.describe.serial(() => {
|
|||
await page.goto("/login");
|
||||
|
||||
// your login page test logic
|
||||
await page.getByPlaceholder("jessie.smith@example.com").type(testUserEmail);
|
||||
await page
|
||||
.getByPlaceholder("jessie.smith@example.com")
|
||||
.type(testUserEmail);
|
||||
|
||||
await page.getByText("Continue").click();
|
||||
|
||||
|
@ -58,7 +60,9 @@ test.describe.serial(() => {
|
|||
await page.getByText("Create an account").waitFor();
|
||||
|
||||
await page.getByPlaceholder("Jessie Smith").type("Test User");
|
||||
await page.getByPlaceholder("jessie.smith@example.com").type(testUserEmail);
|
||||
await page
|
||||
.getByPlaceholder("jessie.smith@example.com")
|
||||
.type(testUserEmail);
|
||||
|
||||
await page.click("text=Continue");
|
||||
|
||||
|
@ -72,7 +76,7 @@ test.describe.serial(() => {
|
|||
|
||||
await page.getByText("Continue").click();
|
||||
|
||||
await expect(page.getByText("Your details")).toBeVisible();
|
||||
await expect(page.getByText("No polls")).toBeVisible();
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -83,7 +87,9 @@ test.describe.serial(() => {
|
|||
await page.getByText("Create an account").waitFor();
|
||||
|
||||
await page.getByPlaceholder("Jessie Smith").type("Test User");
|
||||
await page.getByPlaceholder("jessie.smith@example.com").type(testUserEmail);
|
||||
await page
|
||||
.getByPlaceholder("jessie.smith@example.com")
|
||||
.type(testUserEmail);
|
||||
|
||||
await page.click("text=Continue");
|
||||
|
||||
|
@ -101,7 +107,9 @@ test.describe.serial(() => {
|
|||
test("can login with magic link", async ({ page }) => {
|
||||
await page.goto("/login");
|
||||
|
||||
await page.getByPlaceholder("jessie.smith@example.com").type(testUserEmail);
|
||||
await page
|
||||
.getByPlaceholder("jessie.smith@example.com")
|
||||
.type(testUserEmail);
|
||||
|
||||
await page.getByText("Continue").click();
|
||||
|
||||
|
@ -121,13 +129,15 @@ test.describe.serial(() => {
|
|||
|
||||
page.getByText("Click here").click();
|
||||
|
||||
await expect(page.getByText("Your details")).toBeVisible();
|
||||
await expect(page.getByText("No polls")).toBeVisible();
|
||||
});
|
||||
|
||||
test("can login with verification code", async ({ page }) => {
|
||||
await page.goto("/login");
|
||||
|
||||
await page.getByPlaceholder("jessie.smith@example.com").type(testUserEmail);
|
||||
await page
|
||||
.getByPlaceholder("jessie.smith@example.com")
|
||||
.type(testUserEmail);
|
||||
|
||||
await page.getByText("Continue").click();
|
||||
|
||||
|
@ -137,7 +147,7 @@ test.describe.serial(() => {
|
|||
|
||||
await page.getByText("Continue").click();
|
||||
|
||||
await expect(page.getByText("Your details")).toBeVisible();
|
||||
await expect(page.getByText("No polls")).toBeVisible();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue