Define a hook that should be executed before Gherkin-derived steps in each test.
the function to be executed
Before(async () => { // do stuff here}) Copy
Before(async () => { // do stuff here})
declare more information about this hook
Before({ name: 'Provision resources', tagFilter: '@uses-resources' }, async () => { // do stuff here}) Copy
Before({ name: 'Provision resources', tagFilter: '@uses-resources' }, async () => { // do stuff here})
Define a hook that should be executed before Gherkin-derived steps in each test.