chore(e2e): fix and unskip github discovery tests#4626
chore(e2e): fix and unskip github discovery tests#4626dzemanov wants to merge 5 commits intoredhat-developer:mainfrom
Conversation
Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com>
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>
|
|
@dzemanov: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |



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