Merge pull request #33581 from backstage/rugvip/dual-frontend-system-support

plugins: add title and icon to NFS plugin definitions
This commit is contained in:
Patrik Oldsberg
2026-03-30 17:26:05 +02:00
committed by GitHub
19 changed files with 81 additions and 4 deletions
+6 -2
View File
@@ -25,7 +25,11 @@ test('App should render the welcome page', async ({ page }) => {
// Verify the sidebar navigation is visible after sign-in
await expect(
page.getByRole('navigation').getByRole('link', { name: 'Catalog' }),
page
.getByRole('navigation')
.getByRole('link', { name: 'Catalog', exact: true }),
).toBeVisible();
await expect(
page.getByRole('link', { name: 'APIs', exact: true }),
).toBeVisible();
await expect(page.getByRole('link', { name: 'APIs' })).toBeVisible();
});
@@ -24,6 +24,10 @@ test('App should render the welcome page', async ({ page }) => {
await enterButton.click();
const nav = page.getByRole('navigation');
await expect(nav.getByRole('link', { name: 'Catalog' })).toBeVisible();
await expect(page.getByRole('link', { name: 'APIs' })).toBeVisible();
await expect(
nav.getByRole('link', { name: 'Catalog', exact: true }),
).toBeVisible();
await expect(
page.getByRole('link', { name: 'APIs', exact: true }),
).toBeVisible();
});