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