We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I wrote a before hook and have places in support/Commands.js
But the hook is running before each test in cypress. But i wanted it to run only once irrespective of the tests in cypress
Is there a functionality to achieve this ?
NOTE: I am creating a subscriber that i can use for the test in before hook
The text was updated successfully, but these errors were encountered:
Check out #25, there is no support for before and after hooks yet.
Sorry, something went wrong.
@darasandeep91 can you share your gist with beforeEach hook? I can't find a native way to write it using commands with cucumber
beforeEach
@darasandeep91 create a before.js file in the folder with step_definitions and put
before(() => { dbHelper.connect('...') dbHelper.seed('...') })
there. Take a look here: #25 (comment)
No branches or pull requests
I wrote a before hook and have places in support/Commands.js
But the hook is running before each test in cypress. But i wanted it to run only once irrespective of the tests in cypress
Is there a functionality to achieve this ?
NOTE: I am creating a subscriber that i can use for the test in before hook
The text was updated successfully, but these errors were encountered: