mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
## Problem The `OrgsSortedAlphabetically` test from `OrganizationSidebarView.stories.tsx` was failing on Chromatic. Test logic was attempting to verify organization sorting order programmatically. This was identified in the Chromatic build of PR: https://www.chromatic.com/build?appId=624de63c6aacee003aa84340&number=26015 After fixing this test, two additional tests started failing: * `VanillaJavascriptError ` from `GlobalErrorBoundary.stories.tsx`: Test was making incorrect assertions about stack trace content * `MarkAllNotificationsAsReadError` from `NotificationsInbox.stories.tsx`: Test was flaky due to competing WebSocket error messages ## Solution These are Chromatic snapshot tests, so implementation details (like sorting order or exact error message content) are already validated by the visual snapshots. Programmatic assertions were causing flakiness and are redundant.