We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7938746 commit 22ff031Copy full SHA for 22ff031
1 file changed
e2e/onboarding-and-polish.spec.ts
@@ -22,9 +22,7 @@ test.describe('Error Handling', () => {
22
const bodyText = await page.evaluate(() => document.body.innerText);
23
expect(bodyText.length).toBeGreaterThan(100);
24
await page.keyboard.press('2');
25
- await page.waitForTimeout(500);
26
- const graphVisible = await page.locator('.graph-container').isVisible();
27
- expect(graphVisible).toBe(true);
+ await expect(page.locator('.graph-container')).toBeVisible({ timeout: 5000 });
28
});
29
30
test('app handles database switch without crashing', async ({ page }) => {
0 commit comments