Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1957967

Summary: Possible test flake in listPage Cypress view
Product: OpenShift Container Platform Reporter: Jon Jackson <jonjacks>
Component: Management ConsoleAssignee: Jon Jackson <jonjacks>
Status: CLOSED ERRATA QA Contact: Siva Reddy <schituku>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.8CC: aos-bugs, jokerman, yapei
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Cypress listPage.rows.clickRowByName helper was using a selector that was not specific enough. Consequence: In some cases, an incorrect row could match the selector and cause tests to fail. Fix: Update the helper to use a more specific selector with a data-test attribute. Result: The selector will not match incorrect rows.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 23:07:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jon Jackson 2021-05-06 21:06:47 UTC
Description of problem:
Cypress view listPage.rows.clickRowByName helper uses a selector that is not specific enough and could cause incorrect row to be clicked in some cases.

Version-Release number of selected component (if applicable):
4.8

How reproducible:
No current observed behavior, noticed during a test update

Steps to Reproduce:
The selector will just match the first row that contains resourceName argument in any column. While I was updating the namespace CRUD tests, I ran into a case where a list page row contained 'kubernetes' in one of the labels, which caused it to be selected and clicked rather than waiting for the list to be filtered and the correct row to be found. This caused an unusual test failure that was hard to troubleshoot.

Comment 5 errata-xmlrpc 2021-07-27 23:07:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2438