fix(scorecard): fix race condition - #2558
Conversation
Made-with: Cursor
Review Summary by QodoFix CatalogPage e2e openCatalog flow with user picker
WalkthroughsDescription• Fix CatalogPage e2e test openCatalog flow • Add user picker 'All' selection step • Ensure proper catalog page initialization Diagramflowchart LR
A["openCatalog method"] -- "clicks Catalog link" --> B["Catalog page loads"]
B -- "selects All from user picker" --> C["Catalog fully initialized"]
File Changes1. workspaces/scorecard/packages/app/e2e-tests/pages/CatalogPage.ts
|
Code Review by Qodo
1. Locale-locked All selector
|
Changed Packages
|
|
|
Thanks @jrichter1, for looking into the issue and debugging it. |
…at-developer#2558) Made-with: Cursor Co-authored-by: HusneShabbir <husneshabbir447@gmail.com>



Summary
Stabilize scorecard e2e by explicitly setting the Catalog entity picker to "All" in
openCatalog(), removing a race between navigation and the user-picker being ready.Solution
In
CatalogPage.openCatalog(), after clicking the Catalog nav link we now wait for and click the "All" option in the user-picker:This: