fix: added loading state to button (#11624)
Co-authored-by: Udit Takkar <[email protected]> Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
2 files changed
+13
-3
No files matched your search
@@ -35,7 +35,7 @@ test.describe("user can login & logout succesfully", async () => {
|
||||
const signOutBtn = await page.locator(`text=${signOutLabel}`);
|
||||
await signOutBtn.click();
|
||||
|
||||
await page.locator('a[href="/auth/login"]').click();
|
||||
await page.locator("[data-testid=logout-btn]").click();
|
||||
|
||||
// Reroute to the home page to check if the login form shows up
|
||||
await expect(page.locator(`[data-testid=login-form]`)).toBeVisible();
|
||||
|
||||
Reference in new issue
Block a user