Bug 1873147

Summary: In ci/prow/e2e-gcp-console tests, refactor cypress crud tests to enable 'retries'
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, 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:35:14 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-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