mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-12 19:23:51 +00:00
chore: re-adjust test for new login button
This commit is contained in:
parent
4cd553d300
commit
13273c5380
|
@ -66,7 +66,7 @@ test.describe('Login', () => {
|
||||||
await expect(page.locator('button', { hasText: 'Login' })).not.toBeVisible();
|
await expect(page.locator('button', { hasText: 'Login' })).not.toBeVisible();
|
||||||
// Test logout
|
// Test logout
|
||||||
await page.locator('#avatar-drop').click();
|
await page.locator('#avatar-drop').click();
|
||||||
await page.locator('a:visible', { hasText: 'Sign Out' }).click();
|
await page.locator('button', { hasText: 'Sign Out' }).click();
|
||||||
// Assert we're logged out again
|
// Assert we're logged out again
|
||||||
await expect(page.locator('button', { hasText: 'Login' })).toBeVisible();
|
await expect(page.locator('button', { hasText: 'Login' })).toBeVisible();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user