forked from Klaveness-Digital/cypress-cucumber-preprocessor
-
-
Notifications
You must be signed in to change notification settings - Fork 153
Closed
Description
Current behavior
Suite-level configuration, eg testIsolation, cannot be applied using tags.
Eg.
@testIsolation(false)
Feature: Apply Feature tags at the suite level
Scenario: Open a page
Given I load a page
Scenario: the page still exists
Then the page should existDoes not work.
Desired behavior
Tags set on a Feature get applied to the corresponding describe so that suite-level configuration can be altered.
Test code to reproduce
I've created a small repository with a single feature file to demonstrate the issue https://github.com/marvelapp/suite-level-tags
In this repo when I run the test suite I see
No commands were issued in this test
for each scenario.
I see from the code that this will never work because configuration set via tags is always set on the test, ie it.
If this feature request is reasonable I'm happy to create a pull request for it.
Versions
- Cypress version: 13.6.4
- Preprocessor version: 20.0.1
- Node version: 13.6.4
Checklist
- I've read the FAQ.
- I've read instructions for logging issues.
- I'm not using
[email protected](package name has changed and it is no longer the most recent version, see #689).
Metadata
Metadata
Assignees
Labels
No labels