mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 09:01:03 -08:00
test(e2e): scope the dashboard rail link check to the workspace rail (#1746)
This commit is contained in:
1 parent
af44e2368b
commit
0d5aa4bdc7
1 file changed
+3
-4
@@ -715,10 +715,9 @@ test.describe('Electron Settings', () => {
|
||||
app.mainWindow.getByTestId('dashboard-recent-sources-rail')
|
||||
).toHaveCount(0);
|
||||
await expect(
|
||||
app.mainWindow.getByRole('link', {
|
||||
name: 'Dashboard',
|
||||
exact: true,
|
||||
})
|
||||
app.mainWindow
|
||||
.getByRole('link', { name: 'Dashboard', exact: true })
|
||||
.and(app.mainWindow.locator('.portal-rail-link'))
|
||||
).toBeVisible();
|
||||
} finally {
|
||||
await closeElectronApp(app);
|
||||
|
||||
Reference in new issue
Block a user