forked from Klaveness-Digital/cypress-cucumber-preprocessor
-
-
Notifications
You must be signed in to change notification settings - Fork 153
Closed
Labels
Description
Longtime cucumber user, but relatively new to cypress so first, thank you for this!
It seems that cypress resets the world between each feature file. That results in some noisy logging after each feature...
Running: user-dropdown/logout.feature... (24 of 25)
[▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬]
2 passing (3s)
(Results)
┌────────────────────────────────────────────┐
│ Tests: 2 │
│ Passing: 2 │
│ Failing: 0 │
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 0 │
│ Video: true │
│ Duration: 3 seconds │
│ Spec Ran: user-dropdown/logout.feature │
└────────────────────────────────────────────┘
I could live with the logging, but my main problem is that this more than doubles the execution time for the test run of all features.
The tests are pretty fast once they get going, but there is a noticeable lag to get them started.
Is there any way to organization features and/or scenarios in a way that it runs them all in the same "test run".
I am running the oldschool step definition structure and I noticed the bit about startup speed in the readme. Is that what I'm seeing here? We have 110 step definitions used across 25 feature files.