Bug 1871261 - Upgrade console testing framework to use Cypress 5.0
Summary: Upgrade console testing framework to use Cypress 5.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.6.0
Assignee: David Taylor
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-21 19:44 UTC by David Taylor
Modified: 2020-10-27 16:30 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 16:30:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 6380 0 None closed Bug 1871261: Upgrade to Cypress 5.0 and tectonic-console-builder:v21 2020-09-02 06:42:31 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:30:51 UTC

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


Note You need to log in before you can comment on or make changes to this bug.