mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 18:36:15 -08:00
test(web-e2e): clean self-hosted lint warnings
This commit is contained in:
1 parent
eab5939b7d
commit
3fb8245f30
1 file changed
+2
-2
@@ -44,7 +44,7 @@ async function addXtreamPortal(page: Page): Promise<void> {
|
||||
await dialog.locator('#password').fill('pass1');
|
||||
|
||||
await dialog.getByRole('button', { name: 'Add', exact: true }).click();
|
||||
await page.waitForSelector('mat-dialog-container', { state: 'detached' });
|
||||
await expect(dialog).toBeHidden();
|
||||
await page.waitForURL(/xtreams.*vod/);
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ async function addStalkerPortal(page: Page): Promise<void> {
|
||||
const addButton = dialog.getByRole('button', { name: 'Add', exact: true });
|
||||
await expect(addButton).toBeEnabled({ timeout: 10_000 });
|
||||
await addButton.click();
|
||||
await page.waitForSelector('mat-dialog-container', { state: 'detached' });
|
||||
await expect(dialog).toBeHidden();
|
||||
await page.waitForURL(/stalker.*vod/);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user