spec.toss() run chain of request #367
Unanswered
smitsarang8
asked this question in
Q&A
Replies: 1 comment
-
Have you tried reseting the spec after each scenario. Example: https://github.com/pactumjs/pactum-cucumber-boilerplate/blob/master/features/support/steps.js#L7 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When i have multiple scenarios in Feature file
then i observe spec.toss() executes request in following manner
scenario 1 is executed once
scenario 2 is executed twice
scenario 3 is executed thrice
is there any solution to not run chained request? in cascade manner and only run one request?
Beta Was this translation helpful? Give feedback.
All reactions