fix(e2e): combine fixes for Settings link, bulk-import, and FAB stability#4606
fix(e2e): combine fixes for Settings link, bulk-import, and FAB stability#4606zdrapela wants to merge 3 commits intoredhat-developer:release-1.8from
Conversation
Code Review by Qodo
|
|
/test e2e-ocp-helm-nightly |
|
The container image build workflow finished with status: |
Review Summary by QodoFix E2E tests: Settings link, bulk-import, and FAB stability
WalkthroughsDescription• Fix Settings menuitem locator in profile dropdown for precise targeting • Add optional chaining for environment variables to prevent runtime errors • Replace presubmit check with nightly-only check for bulk-import tests • Add retry logic with filterAndVerifyAddedRepo method for status assertions • Fix FAB sub-menu click stability using dispatchEvent and visibility guard Diagramflowchart LR
A["E2E Test Fixes"] --> B["Settings Menuitem Locator"]
A --> C["Bulk-Import Tests"]
A --> D["FAB Sub-Menu Click"]
B --> B1["Use getByRole menuitem"]
C --> C1["Optional Chaining for env vars"]
C --> C2["Nightly-only check"]
C --> C3["Retry with filterAndVerifyAddedRepo"]
D --> D1["dispatchEvent click"]
D --> D2["toBeVisible guard"]
File Changes1. e2e-tests/playwright/e2e/plugins/bulk-import.spec.ts
|
|
/test e2e-ocp-helm-nightly |
|
The container image build workflow finished with status: |
669b504 to
75bbebd
Compare
|
The container image build workflow finished with status: |
75bbebd to
d53c380
Compare
|
/test e2e-ocp-helm-nightly |
|
The container image build workflow finished with status: |
d53c380 to
e96c7a5
Compare
|
/test e2e-ocp-helm-nightly |
|
/test e2e-ocp-helm-nightly |
1 similar comment
|
/test e2e-ocp-helm-nightly |
|
The container image build workflow finished with status: |
648bd76 to
9373afc
Compare
|
/test e2e-ocp-helm-nightly |
|
The container image build workflow finished with status: |
…lity - Use scoped menuitem locator for Settings in profile dropdown (redhat-developer#4590) - Fix bulk-import tests: optional chaining for env vars, nightly-only check, retry with filterAndVerifyAddedRepo, correct status text (redhat-developer#4583) - Fix FAB sub-menu click stability with dispatchEvent and toBeVisible guard (redhat-developer#4591) Assisted-by: OpenCode
9373afc to
28aa9cf
Compare
|
/test e2e-ocp-helm-nightly |
28aa9cf to
534f6d4
Compare
|
/test e2e-ocp-helm-nightly |
|
The container image build workflow finished with status: |
Assisted-by: OpenCode
534f6d4 to
91df2ec
Compare
|
/test e2e-ocp-helm-nightly |
|
The container image build workflow finished with status: |
|
@zdrapela: The following tests 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. |
…ency Wrap the search + verify in expect().toPass() with retries to handle GitHub API latency returning empty results or transitional status. Assisted-by: OpenCode
|
/test e2e-ocp-helm-nightly |
Summary
Combined E2E test fixes from #4590, #4583, #4591, and new fixes:
clickLink("Settings")withgetByRole("menuitem", { name: "Settings" })to precisely target the dropdown menuitemprocess.env.JOB_NAME, replace presubmit check with nightly check, addfilterAndVerifyAddedRepo()retry method, fix status text assertionsdispatchEvent("click")to bypass actionability checks during animation, addtoBeVisibleguardopenCatalogSidebar— which triggers a login popup that blocks the Kind dropdown (selectMuiBox)expect().toPass()with retries to handle GitHub API latency returning empty results or transitional "Generating" statusSupersedes #4590, #4583, #4591