Bug 1873147 - In ci/prow/e2e-gcp-console tests, refactor cypress crud tests to enable 'retries'
Summary: In ci/prow/e2e-gcp-console tests, refactor cypress crud tests to enable 'retr...
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-27 13:43 UTC by David Taylor
Modified: 2020-10-27 16:35 UTC (History)
3 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 6455 0 None open Bug 1873147: cypress crud tests - moved create & delete out of before/after[all] hooks and into specific tests 2020-08-27 13:44:26 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:35:15 UTC

Description David Taylor 2020-08-27 13:43:11 UTC
This will allow us to take advantage of Cypress's new native retry ability which does not work in before/after hooks as shown in this previous message: "Although you have test retries enabled, we do not retry tests when before all or after all hooks fail"

It also helps readability of logs and console output:

  Pod
      ✓ creates the resource instance (9304ms)
      ✓ displays detail view for newly created resource instance (806ms)
      ✓ displays a list view for the resource (3103ms)
      ✓ search view displays created resource instance (3589ms)
      ✓ edits the resource instance (8998ms)
      ✓ deletes the resource instance (13528ms)

Comment 3 Yadan Pei 2020-08-31 10:33:26 UTC
Now creates && delete resources in cypress crud tests are moved out of before/all hook,  also the readability of logs and console output are updated:

    Pod
      ✓ creates the resource instance (18756ms)
      ✓ displays detail view for newly created resource instance (845ms)
      ✓ displays a list view for the resource (1849ms)
      ✓ search view displays created resource instance (2389ms)
      ✓ edits the resource instance (4576ms)
      ✓ deletes the resource instance (2827ms)

for example: 

https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_console/6477/pull-ci-openshift-console-master-e2e-gcp-console/1300026972964917248/artifacts/e2e-gcp-console/container-logs/test.log 

Moving to VERIFIED

Comment 5 errata-xmlrpc 2020-10-27 16:35:14 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.