Given Step definition can be re-used as a Then #1205
Closed
abiencourt
started this conversation in
General
Replies: 1 comment 2 replies
-
Yes, this is expected behavior and how |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It came to my attention that I am able to use a
Given
step definition as aThen
in my feature file (see example below with "I navigate to"). This run successfully and does not print any warning or being flagged anywhere during the test run.Is this expected behavior? I was not expecting a
Then
step capable of using aGiven
step definition. Could you please shed some light on this?Thanks!
Versions:
@badeball/cypress-cucumber-preprocessor: 16.0.3
@bahmutov/cypress-esbuild-preprocessor: 2.1.0
cypress: 12.17.4
Beta Was this translation helpful? Give feedback.
All reactions