Skip to content

Commit 42e5919

Browse files
committed
Fix blueprints route test to check content instead of sidebar
1 parent 0ea80af commit 42e5919

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/playground/website/playwright/e2e/website-ui.spec.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -773,10 +773,11 @@ test.describe('Route persistence', () => {
773773
// Navigate with route=blueprints
774774
await website.goto('./?route=blueprints');
775775

776-
// Verify sidebar is open
777-
await expect(website.page.locator('.main-sidebar')).toBeVisible();
776+
// Verify URL has route=blueprints
777+
expect(website.page.url()).toContain('route=blueprints');
778778

779-
// Verify we're on the blueprints section (look for blueprints gallery content)
779+
// Verify site manager is open by checking for the blueprints content
780+
// (In mobile view, only the active panel is shown, not the sidebar list)
780781
await expect(
781782
website.page.getByRole('heading', { name: 'Blueprints Gallery' })
782783
).toBeVisible();

0 commit comments

Comments
 (0)