fix: update sidebar navigation to use "Runs" link instead of "Test Runs"#651
Open
empiricalrun[bot] wants to merge 2 commits intomainfrom
Open
fix: update sidebar navigation to use "Runs" link instead of "Test Runs"#651empiricalrun[bot] wants to merge 2 commits intomainfrom
empiricalrun[bot] wants to merge 2 commits intomainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes the failing test "enable/disable environment and verify in test run trigger" in
tests/environments.spec.ts.Problem
The test was failing at line 65 because it could not find the "Test Runs" link in the sidebar:
Root Cause
The sidebar has been reorganized on the
claude/slack-add-sidenav-groupingbranch. "Test Runs" is now a section header (generic element), not a link. The actual navigation link to the test runs page is now called "Runs".From the accessibility tree at time of failure:
Fix
Updated both occurrences in
tests/environments.spec.ts:getByRole('link', { name: 'Test Runs' })→getByRole('link', { name: 'Runs' })getByRole('link', { name: 'Test Runs' })→getByRole('link', { name: 'Runs' })Test Results
✅ Test passed after the fix
Report URL: https://reports-r2.empirical.run/test-gen-chat-agent/1769069798595/index.html
Key steps executed successfully:
locator.click(getByRole('link', { name: 'Runs' }))- 49mslocator.click(getByRole('link', { name: 'Runs' }))- 65msReferences
claude/slack-add-sidenav-grouping-03hOaPR created from session #72263
Updated at 2026-01-22 08:17:50.903 UTC