test(ui): preserve auto-opened onboarding panel in recovery check
This commit is contained in:
1 parent
45f3cabe44
commit
c6805e2345
1 file changed
+4
-1
@@ -156,7 +156,10 @@ test('onboarding error exposes safe support correlation and retries without a cl
|
|||||||
});
|
});
|
||||||
|
|
||||||
await page.goto('/');
|
await page.goto('/');
|
||||||
await page.getByTestId('onboarding-trigger').click();
|
if (!await page.getByTestId('onboarding-checklist').isVisible()) {
|
||||||
|
await page.getByTestId('onboarding-trigger').click();
|
||||||
|
}
|
||||||
|
await expect(page.getByTestId('onboarding-checklist')).toBeVisible();
|
||||||
fail = true;
|
fail = true;
|
||||||
await page.getByTestId('onboarding-refresh').click();
|
await page.getByTestId('onboarding-refresh').click();
|
||||||
const alert = page.getByRole('alert');
|
const alert = page.getByRole('alert');
|
||||||
|
|||||||
Reference in new issue
Block a user