Bug 2027512 - Allow Cypress to catch '> Unauthorized' exceptions and continue running e2e tests
Summary: Allow Cypress to catch '> Unauthorized' exceptions and continue running e2e t...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.10.0
Assignee: David Taylor
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-29 21:03 UTC by David Taylor
Modified: 2021-12-20 14:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-17 15:56:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 10545 0 None open [WIP] Bug 2027512: Reenable a few e2e tests, catch '> Unauthorized' exceptions 2021-11-29 21:04:19 UTC

Description David Taylor 2021-11-29 21:03:35 UTC
Reenable cypress tests disabled via https://bugzilla.redhat.com/show_bug.cgi?id=2025954 "Disable a few e2e tests due to consistent Unauthorized flake"

Implement a temperary fix so that Cypress can catch "> Unauthorized" errors exceptions thrown by console and NOT fail tests, but continue running all tests.

Comment 2 David Taylor 2021-12-17 15:56:39 UTC
This fix for this bug was reverted and addressed differently in https://github.com/openshift/console/pull/10606.
New fix has been in place for 2 weeks and I do not see any occurance of "Unauthorized" in CI failures.


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