Skip to main content

afterAll

The afterAll phase runs after all tests in a test run have completed. It can be used to reset or clean up the application state.

Syntax

afterAll:
<after-all-id>:
tasks:
- id: <taskId>
action: <actionReference>
validate: <validationScriptReference>

Properties

PropertyDescriptionTypeRequired
<after-all-id>Identifier for the afterAll phasestringtrue
tasksList of tasks to run in the afterAll phase. Refer to value section.objecttrue

Example

afterAll.yml
afterAll:
deleteUser:
tasks:
- action: actions.deleteUserHttpRequest
validate: scripts.validateResponse