Description of problem: Cypress projectDropdown view "shouldContain" helper is not an assertion. Version-Release number of selected component (if applicable): 4.8 How reproducible: Not currently causing an issue, but should be addressed as a low priority. Steps to Reproduce: The shouldContain helper is using `cy.contains` which is not an assertion. It is instead a function that gets a DOM element matching the test id and name. The test would still fail at this point since the element would not be found, but we should probably use an assertion when the helper name starts with "should".
shouldContain: (name: string) => cy .byLegacyTestID('namespace-bar-dropdown') .contains(name) .should('exist'), now shouldContains returns an assertion Verified on latest master branch
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