Bug 2106805 - Spec flag not overriding defaults in headless cypress tests
Summary: Spec flag not overriding defaults in headless cypress tests
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.11
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.12.0
Assignee: Jan Richter
QA Contact: spathak@redhat.com
Depends On:
TreeView+ depends on / blocked
Reported: 2022-07-13 14:25 UTC by Jan Richter
Modified: 2023-01-17 19:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Last Closed: 2023-01-17 19:52:40 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift console pull 11818 0 None open Bug 2106805: Enable running specific spec files with headless test-cypress 2022-07-13 14:31:02 UTC
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:53:03 UTC

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:

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

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.


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