test(login.spec.ts): add test case to check if clicking on "Community Examples" button displays the community pages flows panel
This commit is contained in:
parent
c6f6d69164
commit
21605d09ba
1 changed files with 7 additions and 0 deletions
|
|
@ -21,5 +21,12 @@ test.describe("Login Tests", () => {
|
|||
await page.getByPlaceholder("Password").click();
|
||||
await page.getByPlaceholder("Password").fill("test");
|
||||
await page.getByRole("button", { name: "Sign in" }).click();
|
||||
await page.getByRole("button", { name: "Community Examples" }).click();
|
||||
await page.waitForSelector(".community-pages-flows-panel");
|
||||
expect(
|
||||
await page
|
||||
.locator(".community-pages-flows-panel")
|
||||
.evaluate((el) => el.children)
|
||||
).toBeTruthy();
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue