test(scorecard): fix e2e catalog user picker click timeout on CI (validation for #3417)#3681
Conversation
…dStatusScore` Signed-off-by: Ihor Mykhno <imykhno@redhat.com>
… safety and improved structure Signed-off-by: Ihor Mykhno <imykhno@redhat.com>
…dKpi` across tests and configurations Signed-off-by: Ihor Mykhno <imykhno@redhat.com>
Signed-off-by: Ihor Mykhno <imykhno@redhat.com>
The e2e suite fails on CI because the click on the 'All' user picker times out: the picker item's container <li> (MUI ListItem container with the count badge as secondary action) intercepts pointer events, so Playwright retries until timeout. This breaks every entity test (60 failures across all locales) while passing locally, where font rendering keeps the click point inside the clickable area. Apply the 'all' user filter through the catalog URL query parameter instead of clicking the picker, removing the hit-testing dependency. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: Gustavo Lira <guga.java@gmail.com>
|
Important This PR includes changes that affect public-facing API. Please ensure you are adding/updating documentation for new features or behavior. Changed Packages
|
|
|
🤖 Finished Review · ✅ Success · Started 3:48 PM UTC · Completed 4:01 PM UTC |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3681 +/- ##
=======================================
Coverage 54.12% 54.12%
=======================================
Files 2344 2344
Lines 89539 89546 +7
Branches 25076 25078 +2
=======================================
+ Hits 48460 48467 +7
Misses 39524 39524
Partials 1555 1555
*This pull request uses carry forward flags. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
|
Looks good to me. The rename from Low
|



Hey, I just made a Pull Request!
This is a CI-validation draft PR — it contains all commits from #3417 plus a one-file e2e fix, to verify the fix resolves the CI failures blocking that PR.
Context
The
Workspace scorecard, CI stepjobs on #3417 (and other scorecard PRs, e.g. #3639 which is a pure dependency bump) fail with 60 identical e2e failures: every test that callsCatalogPage.openCatalog()times out clicking the catalog All user picker:The intercepting
<li>is the picker item's own MUI ListItem container (it getsrole="menuitem"viaContainerPropsin Backstage'sUserListPicker, with the count badge rendered as an absolutely-positioned secondary action). On the CI runners the geometric center of the inner<p>All </p>falls outside the clickable area, so Playwright retries until timeout — deterministically (60/60 tests, both Node versions, all 6 locales), while passing on developer machines.Fix
Apply the
alluser filter via the catalog URL query parameter instead of clicking the picker, removing the hit-testing dependency entirely:If CI goes green here, the single commit a28750e can be cherry-picked into #3417 (or applied by @imykhno).
✔️ Checklist
🤖 Generated with Claude Code