Closed mallison closed 4 months ago
If this feature request is reasonable I'm happy to create a pull request for it.
That'd be fine. I recommend that you specify the desired behavior using tests before implementing anything though, and use that to propose new behavior.
I recommend that you specify the desired behavior using tests
I've create a pull request with a test showing the desired behaviour. I'd played around with implementation, as it looked like a small change, so I pushed those changes too.
This has been fixed with v20.0.2.
Current behavior
Suite-level configuration, eg
testIsolation
, cannot be applied using tags.Eg.
Does not work.
Desired behavior
Tags set on a
Feature
get applied to the correspondingdescribe
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
Checklist
cypress-cucumber-preprocessor@4.3.1
(package name has changed and it is no longer the most recent version, see #689).