aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/tests/e2e.spec.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/tests/e2e.spec.ts')
-rw-r--r--frontend/tests/e2e.spec.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend/tests/e2e.spec.ts b/frontend/tests/e2e.spec.ts
index 1caf0c8..b79ee0e 100644
--- a/frontend/tests/e2e.spec.ts
+++ b/frontend/tests/e2e.spec.ts
@@ -44,7 +44,9 @@ test.describe('Neko Reader E2E', () => {
await page.goto('/v2/tag/Tech');
// The TagView component might show "Category: Tech" or "Tag: Tech" or just items.
// In the current FeedItems.tsx it doesn't show a header, but it should load.
- await expect(page.locator('.feed-items')).toBeVisible();
+ // The TagView component might show "Category: Tech" or "Tag: Tech" or just items.
+ // In the current FeedItems.tsx it doesn't show a header, but it should load.
+ await expect(page.locator('.feed-items, .feed-items-loading, text=No items found')).toBeVisible({ timeout: 10000 });
// 7. Logout
await page.click('text=Logout');