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
I need the ability to perform some actions in a browser before all tests. Sadly, before doesn't have browser access and some actions you do not want to be repeated each test like in a beforeEach. Currently, my only solution is to couple tests or waste time with unneeded, repeated steps.
What are you suggesting?
A beforeAll hook that is fired only once per fixture.
What alternatives have you considered?
I've tried hacky ways to have things in bforeEach only fire once... but why not just have a beforeAll?
Additional context
The text was updated successfully, but these errors were encountered:
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests. For TestCafe API, usage and configuration inquiries, we recommend asking them on StackOverflow.
What is your Test Scenario?
I need the ability to perform some actions in a browser before all tests. Sadly,
before
doesn't have browser access and some actions you do not want to be repeated each test like in abeforeEach
. Currently, my only solution is to couple tests or waste time with unneeded, repeated steps.What are you suggesting?
A
beforeAll
hook that is fired only once per fixture.What alternatives have you considered?
I've tried hacky ways to have things in
bforeEach
only fire once... but why not just have abeforeAll
?Additional context
The text was updated successfully, but these errors were encountered: