The criteria list must not contain duplicated assertions.
| Arazzo | Compatibility | 
|---|---|
| 1.x | ✅ | 
To avoid redundancy and confusion, the assertions in the criteria list must not be duplicated.
| Option | Type | Description | 
|---|---|---|
| severity | string | Possible values: off, warn, error. Default off. | 
An example configuration:
rules:
  criteria-unique: errorGiven the following configuration:
rules:
  criteria-unique: errorExample of a criteria list:
successCriteria:
  - condition: $statusCode == 200
onSuccess:
  - name: 'onSuccessActionName'
    type: 'goto'
    stepId: 'buy-ticket'
    criteria:
      - condition: $response.body.open == true
onFailure:
  - name: 'onFailureActionName'
    type: 'goto'
    stepId: 'buy-ticket'
    criteria:
      - condition: $response.body.open == true