mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Fixed 2fa re-send browser test
ref 9fa0c24be9
- updated to match current button text
This commit is contained in:
parent
9fa0c24be9
commit
9dff9cc364
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ test.describe('2FA', () => {
|
|||
await page.getByRole('button', {name: 'Sign in'}).click();
|
||||
|
||||
await page.getByRole('button', {name: 'Resend'}).click();
|
||||
await expect(page.locator('.forgotten-link')).toHaveText(/Resend again in [0-9]+s/);
|
||||
await expect(page.locator('.forgotten-link')).toHaveText(/Sent/);
|
||||
|
||||
const token = await verificationToken.getToken();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue