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
If test.step() is called in worker fixture setup - everything works fine.
If test.step() is called in worker fixture teardown - there is an error test.step() can only be called from a test.
Version
1.49
Steps to reproduce
If
test.step()
is called in worker fixture setup - everything works fine.If
test.step()
is called in worker fixture teardown - there is an errortest.step() can only be called from a test
.To reproduce:
Please follow instructions in README: https://github.com/vitalets/playwright-issues/tree/test-step-worker-teardown
Expected behavior
Calling
test.step()
is either allowed in any phase of worker fixture OR is not allowed in worker fixtures.Actual behavior
Calling
test.step()
is allowed in setup phase of worker fixture, but fails in teardown phase of worker fixture.Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: