Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions tests/tests/lightspeed.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,9 @@ const goToPodsList = async (page: Page, ns: string | null = null) => {
const goToPodDetails = async (page: Page, ns: string, podName: string) => {
await goToPodsList(page, ns);
await filterByName(page, podName);
const rows = page.locator(resourceRows);
await expect(async () => {
const count = await rows.count();
expect(count).toBeGreaterThanOrEqual(1);
expect(count).toBeLessThanOrEqual(4);
}).toPass({ timeout: 5_000 });
await page.locator('a.co-resource-item__resource-name').first().click();
const link = page.locator(resourceRows).filter({ hasText: podName });
await expect(link.first()).toBeVisible({ timeout: 30_000 });
await link.first().click();
};

const popover = '[data-test="ols-plugin__popover"]';
Expand Down