Bug 2106805

Summary: Spec flag not overriding defaults in headless cypress tests
Product: OpenShift Container Platform Reporter: Jan Richter <jrichter>
Component: Dev ConsoleAssignee: Jan Richter <jrichter>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.11CC: cjerolim, jakumar, nmukherj
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-17 19:52:40 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:

Description Jan Richter 2022-07-13 14:25:47 UTC
Description of problem:
Running cypress tests with the headless flag ignores the -s/--spec flag, always running the default feature file.

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. run ./test-cypress.sh -h true -p dev-console -s **/import-from-git.feature
2.
3.

Actual results:
e2e/add-flow.feature is run

Expected results:
add-flow/import-from-git.feature should be run

Additional info:

Comment 2 Christoph Jerolimov 2022-08-04 11:54:06 UTC
Mark this as verified as this is only related to our e2e tests.

Comment 5 errata-xmlrpc 2023-01-17 19:52:40 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 (Moderate: OpenShift Container Platform 4.12.0 bug fix and security update), 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/RHSA-2022:7399