fix(e2e): wait for notifications page content before interacting with filters [AI /e2e-fix]#4684
Conversation
… filters
The clickNotificationsNavBarItem() method was returning before the
notifications page fully rendered. The loading-indicator check passed
vacuously because the element didn't exist yet in the DOM, while the
page was still loading (shown by progressbar elements). This caused
selectSeverity() to timeout trying to click getByLabel('Severity')
since the filter controls weren't rendered yet.
Added a wait for the notifications table to be visible, ensuring the
page content has fully loaded before subsequent filter interactions.
Assisted-by: OpenCode
|
Skipping CI for Draft Pull Request. |
|
/agentic_review |
|
/test ? |
Code Review by Qodo
1. Brittle table wait selector
|
|
/test e2e-ocp-v4-19-helm-nightly |
Address Qodo review feedback: the previous selector
getByRole('table').filter({ hasText: 'Rows per page' }) was brittle
since pagination may render outside the table subtree. Waiting for
getByLabel('Severity') directly targets the element needed by the
next interaction (selectSeverity), making the wait both precise and
resilient.
Assisted-by: OpenCode
|
The container image build workflow finished with status: |
|
|
/test e2e-ocp-helm-nightly |
|
@zdrapela: 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. |



Summary
clickNotificationsNavBarItem()returned before the notifications page fully rendered — theloading-indicatorcheck passed vacuously because the element didn't exist yet, while the page was still loading (visibleprogressbar "Loading"elements in the DOM)Rows per page) to be visible before returning, ensuring filter controls are rendered beforeselectSeverity()tries to click themTest Results
Related