You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 1, 2018. It is now read-only.
Currently after each scenario the next scenario runs with a "dirty" state from the previous one.
I search for documentation online but it seems the most common pattern is to connect directly to the DB and reset the data there. That would be one possible approach.
Another approach, which is probably more complex, is to create steps that will cleanup over the UI (for example delete a user after the creation test, etc).
We should probably look into direct DB access first as it might help accelerate some tests. For example "Given that user user1 exists" could directly add an entry for that (which seems to be the way how others do it)
The text was updated successfully, but these errors were encountered:
Currently after each scenario the next scenario runs with a "dirty" state from the previous one.
I search for documentation online but it seems the most common pattern is to connect directly to the DB and reset the data there. That would be one possible approach.
Another approach, which is probably more complex, is to create steps that will cleanup over the UI (for example delete a user after the creation test, etc).
We should probably look into direct DB access first as it might help accelerate some tests. For example "Given that user user1 exists" could directly add an entry for that (which seems to be the way how others do it)
The text was updated successfully, but these errors were encountered: