aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/tests/crawl.spec.ts
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-16 19:37:50 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-16 19:40:10 -0800
commitcba29e6aae637b04ff6eaf28f74bc15b6242b9ea (patch)
tree226753a3fcd18a6d45089dafcb1ee72557140aa8 /frontend/tests/crawl.spec.ts
parentcb6d0c9e330c27ff85ff065c2ea6dd1a756cbf6d (diff)
downloadneko-cba29e6aae637b04ff6eaf28f74bc15b6242b9ea.tar.gz
neko-cba29e6aae637b04ff6eaf28f74bc15b6242b9ea.tar.bz2
neko-cba29e6aae637b04ff6eaf28f74bc15b6242b9ea.zip
Remove legacy V2 React frontend and update build/test scripts to focus on Vanilla JS (V3)
Diffstat (limited to 'frontend/tests/crawl.spec.ts')
-rw-r--r--frontend/tests/crawl.spec.ts32
1 files changed, 0 insertions, 32 deletions
diff --git a/frontend/tests/crawl.spec.ts b/frontend/tests/crawl.spec.ts
deleted file mode 100644
index 175a764..0000000
--- a/frontend/tests/crawl.spec.ts
+++ /dev/null
@@ -1,32 +0,0 @@
-import { test, expect } from '@playwright/test';
-
-test.describe('Crawl Integration', () => {
- test('should add a feed and see items after crawl', async ({ page }) => {
- const mockFeedUrl = 'http://localhost:9090/mock_feed.xml';
-
- // 1. Login and go to Settings
- await page.goto('/v2/settings');
-
- // 2. Add the mock feed
- await page.fill('input[type="url"]', mockFeedUrl);
- await page.click('text=Add Feed');
-
- // Wait for feed to be added
- await expect(page.getByText(mockFeedUrl)).toBeVisible({ timeout: 5000 });
-
- // 3. Trigger Crawl
- const crawlButton = page.getByRole('button', { name: /crawl/i });
- await expect(crawlButton).toBeVisible();
-
- // Handle the alert
- page.on('dialog', dialog => dialog.accept());
- await crawlButton.click();
-
- // 4. Go to Home and check for items
- await page.goto('/v2/');
-
- // The mock feed has "Mock Item 1" and "Mock Item 2"
- await expect(page.getByText('Mock Item 1')).toBeVisible({ timeout: 10000 });
- await expect(page.getByText('Mock Item 2')).toBeVisible({ timeout: 10000 });
- });
-});