mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-12 12:06:16 -08:00
chore: back to electron + nx
This commit is contained in:
1 parent
f5b3a15b83
commit
99ed5df404
477 files changed
+19213
-17370
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import { expect, test } from '@playwright/test';
|
||||
|
||||
test('basic test', async ({ page }) => {
|
||||
await page.goto('/');
|
||||
|
||||
// Basic checks
|
||||
expect(await page.title()).toBe('IPTVnator');
|
||||
|
||||
// Upload playlist test
|
||||
await page.getByTestId('add-playlist').click();
|
||||
await page.click('"Add via file upload"');
|
||||
await page.setInputFiles('input[type="file"]', './e2e/fixtures/test.m3u');
|
||||
await expect(page.getByTestId('channel-item')).toHaveCount(4);
|
||||
});
|
||||
Reference in new issue
Block a user