-
Notifications
You must be signed in to change notification settings - Fork 343
test: Update navigation tests with more pages and assertions #1538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
⚠️ No Changeset found
Latest commit: 87525a2
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Code Review
❌ Test ID mismatch: Test expects incorrect auto-generated test IDs from AppNavLink component
- AppNavLink (AppNav.components.tsx:295) auto-generates test IDs as
nav-link-{href} - Test expects
nav-link-clickhouse-dashboardbut AppNavLink generatesnav-link-clickhouse - Test expects
nav-link-services-dashboardbut AppNavLink generatesnav-link-services - Test expects
nav-link-k8s-dashboardbut component generatesnav-link-kubernetes - Fix: Update test to use correct auto-generated IDs or manually override test IDs in AppNav.tsx
- Some links use auto-generated IDs (service-map), others manually override (clickhouse-dashboard, services-dashboard, k8s-dashboard)
- Fix: Either use all auto-generated IDs consistently OR add manual overrides to all nested nav links for consistency
E2E Test Results✅ All tests passed • 52 passed • 5 skipped • 689s
Tests ran across 4 shards in parallel. |
Summary
This PR updates the existing E2E navigation test so that it