-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Feature request: pass test additional arguments to beforeEach function #2070
New issue
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
Comments
Yes that makes sense to me. |
@IssueHunt has funded $40.00 to this issue.
|
And I guess we should make that test arg available to all hooks? I already have it working with beforeEach hooks, need to wright tests. |
My approach in #2435 is to enable the construction of custom |
Would be cool if we had access in
beforeEach
hook to additional arguments that can be passed to each test. Kinda like it's demonstrated in macros docs. This would allowbeforeEach
hook parametrisation. Like in the example below:The text was updated successfully, but these errors were encountered: