https://cypress.io logo
cucumber step with saved progress
# i-need-help
c
Hello. Please advise. How can I create a definition step in which the desired section of my application will be opened in advance and then use this step in other scenarios.
c
Hi @cold-bird-96191 If I understand your problem correctly , before every test case execution you want to done some set of Steps in Advance if that is the case Please use Tag Background See here one example https://qaautomationlabs.com/how-to-integrate-cucumber-in-cypress-10/
c
it's more important for me not to create a new account every time. I have a set of test scenarios for one feature file and for passing each one - I create a new account with random login details. What I want to do is that I create an account in the first scenario and use the data of this account to go through the next two scenarios.

https://cdn.discordapp.com/attachments/1102666001851617310/1102892972661542912/Screenshot_42.png