Adding timeout to flaky test
This commit is contained in:
parent
0d329826f1
commit
a33a2cb5b5
@ -29,8 +29,12 @@ test.describe("User Info View", () => {
|
||||
await firstUserIdCell.click();
|
||||
|
||||
// Check for tabs
|
||||
await expect(page.locator('button:has-text("Overview")')).toBeVisible();
|
||||
await expect(page.locator('button:has-text("Details")')).toBeVisible();
|
||||
await expect(page.locator('button:has-text("Overview")')).toBeVisible({
|
||||
timeout: 10000,
|
||||
});
|
||||
await expect(page.locator('button:has-text("Details")')).toBeVisible({
|
||||
timeout: 10000,
|
||||
});
|
||||
|
||||
// Switch to details tab
|
||||
await page.locator('button:has-text("Details")').click();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user