mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
Adding timeout to flaky test
This commit is contained in:
parent
0d329826f1
commit
a33a2cb5b5
1 changed files with 6 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue