diff --git a/core/http/react-ui/e2e/not-found.spec.js b/core/http/react-ui/e2e/not-found.spec.js index 370f12130..2ee6f85a6 100644 --- a/core/http/react-ui/e2e/not-found.spec.js +++ b/core/http/react-ui/e2e/not-found.spec.js @@ -9,9 +9,11 @@ test.describe('404', () => { await expect(nf).toContainText('/app/no-such-page') await expect(nf.getByRole('link', { name: 'Go home' })).toHaveAttribute('href', '/app') const places = nf.getByRole('navigation', { name: 'Where to go' }) - for (const name of ['Home', 'Models', 'Chat', 'Add-ons', 'Settings', 'Build', 'Operate']) { + for (const name of ['Home', 'Models', 'Chat', 'Add-ons', 'Build', 'Operate']) { await expect(places.getByRole('link', { name })).toBeVisible() } + // Settings is a tab of the Operate hub, so the places do not list it. + await expect(places.getByRole('link', { name: 'Settings' })).toHaveCount(0) }) test('has no search, because the app has none to offer', async ({ page }) => {