Is there any way you can run the features in a specific order? #1286
Closed
galearemus
started this conversation in
General
Replies: 2 comments
-
|
No, and afaik there isn’t one generally in Cypress. This library has limited control over such. I recommend not doing what you’re doing to create this dependency. Alternatively, name files with a prefix number to enforce desired order. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@galearemus ,you can leverage data setup with using BeforeAll() function in this lib as well as Before(), or use before:run Cypress event |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Recently, we began using BDD with Gherkin to implement some E2E tests. Although we are working on it, we have not yet succeeded in achieving isolated testing. For the time being, a particular feature must execute before the others to guarantee that there is a test fixture in place (an user is registered).
Is there a method for us to order the execution of these feature tests?
Beta Was this translation helpful? Give feedback.
All reactions