chore(e2e): fix and unskip github discovery tests - #4626
chore(e2e): fix and unskip github discovery tests#4626openshift-merge-bot[bot] merged 4 commits into
Conversation
Code Review by Qodo
1.
|
Review Summary by QodoFix and unskip GitHub discovery E2E tests
WalkthroughsDescription• Remove test.fixme() and fix skipped GitHub discovery test • Replace console.assert with Playwright expect assertions • Improve repository filtering logic with proper TypeScript typing • Add validation that catalog files exist before assertions Diagramflowchart LR
A["Test Fixture Setup"] -->|"Remove fixme marker"| B["Active Test Execution"]
B -->|"Filter repos by name"| C["Get repos with catalog"]
C -->|"Validate results"| D["Assert visibility with expect"]
E["console.assert"] -->|"Replace with"| F["Playwright expect"]
File Changes1. e2e-tests/playwright/e2e/github-discovery.spec.ts
|
Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com>
Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com>
8fb834b to
84d3081
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4626 +/- ##
===========================================
+ Coverage 40.98% 69.56% +28.58%
===========================================
Files 119 109 -10
Lines 2223 4705 +2482
Branches 561 510 -51
===========================================
+ Hits 911 3273 +2362
- Misses 1306 1432 +126
+ Partials 6 0 -6
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|
6881ae8
into
redhat-developer:main



Description
Fix and unskip github discovery tests.
Switches login from GitHub to Guest as there are more steps required for Github login, for example see github.spec.ts . This spec tests
githubauth flow, so no need to verify it works also in this test.Which issue(s) does this PR fix
PR acceptance criteria
Please make sure that the following steps are complete:
How to test changes / Special notes to the reviewer