Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/Webkul/Admin/tests/e2e-pw/tests/auth.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ test("should be able to logout", async ({ page }) => {
await page.getByPlaceholder("Password").click();
await page.getByPlaceholder("Password").fill(adminCredentials.password);
await page.getByLabel("Sign In").click();
await page.getByRole('button', { name: "E" }).click();
await page.waitForTimeout(1000);
await page.locator('(//button[@class="flex h-9 w-9 cursor-pointer overflow-hidden rounded-full hover:opacity-80 focus:opacity-80"])[1]').click();
await page.getByRole('link', { name: 'Sign Out' }).click();

await expect(page.getByPlaceholder("Password").first()).toBeVisible();
Expand Down