File size: 898 Bytes
ce2a505
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  "state": {
    "test": "checkout_flow",
    "failed_step": "click 'Pay now'",
    "error": "TimeoutError: waiting for selector '#confirmation' exceeded 30000 ms",
    "history": "passed 9 of the last 10 runs",
    "network": "payment-sandbox responded in 41 s (usual: 2 s)"
  },
  "questions": {
    "cause": {
      "type": "choice",
      "instructions": "Is this failure caused by the environment (flaky) or by a real bug in the application?",
      "criteria": {
        "flaky": "Temporary problem in the test environment",
        "real_bug": "Defect in the application under test"
      }
    },
    "retry": {
      "type": "noul",
      "instructions": "Should the test be retried automatically?"
    },
    "severity": {
      "type": "score",
      "instructions": "How severe is this failure for a release decision?",
      "criteria": ["none", "low", "medium", "high"]
    }
  }
}