mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-21 07:55:18 +08:00
test(web): recognize save-and-enable after cancelling QR setup
This commit is contained in:
@@ -715,6 +715,8 @@ test.describe('wizard and QR platform regressions', () => {
|
||||
await expect(dialog.getByRole('button', { name: 'Retry' })).toBeEnabled();
|
||||
await dialog.getByRole('button', { name: 'Cancel' }).click();
|
||||
await expect(dialog).toHaveCount(0);
|
||||
await expect(page.getByRole('button', { name: /^Save$/ })).toBeVisible();
|
||||
await expect(
|
||||
page.getByRole('button', { name: /^Save(?: and enable)?$/ }),
|
||||
).toBeVisible();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user