Bug 1871261

Summary: Upgrade console testing framework to use Cypress 5.0
Product: OpenShift Container Platform Reporter: David Taylor <dtaylor>
Component: Management ConsoleAssignee: David Taylor <dtaylor>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.6CC: aos-bugs, jokerman, spadgett, yapei
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:30:38 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 David Taylor 2020-08-21 19:44:42 UTC
Upgrading to Cypress 5 will let us use v5.0's 'native retry' feature and might cut down on test flakes.  Cypress 5 required a new Linux dependency, so we have to bump docker image to tectonic-console-builder:v21

Comment 3 XiaochuanWang 2020-09-03 06:10:58 UTC
Code fix merged and verified base on latest commit:
$ git log -1
commit 15064a2b472a7771b16f634d2c687c3769ff2592 (HEAD -> release-4.6, origin/release-4.6)
Merge: 3ad0d44f7 f1efb0166
Author: OpenShift Merge Robot <openshift-merge-robot.github.com>
Date:   Wed Sep 2 21:59:27 2020 -0400

$  cd $GOPATH/src/github.com/openshift/console/frontend/node_modules/cypress/bin && ./cypress -v
Cypress package version: 5.0.0
Cypress binary version: 5.0.0

Which using 5.x features:
$ cat $GOPATH/src/github.com/openshift/console/frontend/packages/integration-tests-cypress/cypress.json |grep -A5 retries
  "retries": {
    "runMode": 2,
    "openMode": 1
  }
}

Comment 6 errata-xmlrpc 2020-10-27 16:30:38 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 (OpenShift Container Platform 4.6 GA Images), 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/RHBA-2020:4196