test(e2e): scope the dashboard rail link check to the workspace rail (#1746)

This commit is contained in:
4gray authored and GitHub committed 2026-09-29 07:01:46 +02:00
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);