|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
2 | 2 |
|
3 | | -exports[`local-json-server test case 1`] = ` |
4 | | -"────────────────────────────────────────────────────────────────────────────────[0m |
5 | | -[0m |
6 | | - Running workflow local-json-server.yaml / before[0m |
7 | | -[0m |
8 | | - ✓ GET /items - step get-all-items-before[0m |
| 3 | +exports[`local-json-server local-json-server test case 1`] = ` |
| 4 | +"──────────────────────────────────────────────────────────────────────────────── |
| 5 | +
|
| 6 | + Running workflow local-json-server.yaml / before |
| 7 | +
|
| 8 | + ✓ GET /items - step get-all-items-before |
9 | 9 | ✓ status code check (Response code 200 matches one of description codes: [200]) |
10 | 10 | ✓ content-type check |
11 | 11 | ✓ schema check |
12 | | -[0m |
13 | | -────────────────────────────────────────────────────────────────────────────────[0m |
14 | | -[0m |
15 | | - Running workflow local-json-server.yaml / crud-items[0m |
16 | | -[0m |
17 | | - ✓ POST /items - step add-item[0m |
| 12 | +
|
| 13 | +──────────────────────────────────────────────────────────────────────────────── |
| 14 | +
|
| 15 | + Running workflow local-json-server.yaml / crud-items |
| 16 | +
|
| 17 | + ✓ POST /items - step add-item |
18 | 18 | ✓ success criteria check |
19 | 19 | ✓ status code check (Response code 201 matches one of description codes: [201]) |
20 | 20 | ✓ content-type check |
21 | 21 | ✓ schema check |
22 | | -[0m |
23 | | - ✗ GET /items - step get-all-items-again[0m |
| 22 | +
|
| 23 | + ✗ GET /items - step get-all-items-again |
24 | 24 | ✗ success criteria check |
25 | 25 | ✓ status code check (Response code 200 matches one of description codes: [200]) |
26 | 26 | ✓ content-type check |
27 | 27 | ✓ schema check |
28 | | -[0m |
29 | | - ✓ GET /items/{id} - step get-item-by-id[0m |
| 28 | +
|
| 29 | + ✓ GET /items/{id} - step get-item-by-id |
30 | 30 | ✓ success criteria check |
31 | 31 | ✓ success criteria check |
32 | 32 | ✓ success criteria check |
33 | 33 | ✓ status code check (Response code 200 matches one of description codes: [200, 404]) |
34 | 34 | ✓ content-type check |
35 | 35 | ✓ schema check |
36 | | -[0m |
37 | | - ✓ DELETE /items/{id} - step drop-item[0m |
| 36 | +
|
| 37 | + ✓ DELETE /items/{id} - step drop-item |
38 | 38 | ✓ success criteria check |
39 | 39 | ✓ status code check (Response code 200 matches one of description codes: [200]) |
40 | | -[0m |
41 | | - ✓ GET /items/{id} - step get-after-deleting[0m |
| 40 | +
|
| 41 | + ✓ GET /items/{id} - step get-after-deleting |
42 | 42 | ✓ success criteria check |
43 | 43 | ✓ status code check (Response code 404 matches one of description codes: [200, 404]) |
44 | 44 | ✓ content-type check |
45 | | -[0m |
46 | | -────────────────────────────────────────────────────────────────────────────────[0m |
47 | | -[0m |
48 | | - Running workflow local-json-server.yaml / auto-inherit[0m |
49 | | -[0m |
50 | | - ✓ POST /items - step add-item-auto-inherit[0m |
| 45 | +
|
| 46 | +──────────────────────────────────────────────────────────────────────────────── |
| 47 | +
|
| 48 | + Running workflow local-json-server.yaml / auto-inherit |
| 49 | +
|
| 50 | + ✓ POST /items - step add-item-auto-inherit |
51 | 51 | ✓ status code check (Response code 201 matches one of description codes: [201]) |
52 | 52 | ✓ content-type check |
53 | 53 | ✓ schema check |
54 | | -[0m |
55 | | - ✓ GET /items - step get-all-items[0m |
| 54 | +
|
| 55 | + ✓ GET /items - step get-all-items |
56 | 56 | ✓ status code check (Response code 200 matches one of description codes: [200]) |
57 | 57 | ✓ content-type check |
58 | 58 | ✓ schema check |
59 | | -[0m |
60 | | - ✓ GET /items/{id} - step get-item-by-id-auto-inherit[0m |
| 59 | +
|
| 60 | + ✓ GET /items/{id} - step get-item-by-id-auto-inherit |
61 | 61 | ✓ status code check (Response code 404 matches one of description codes: [200, 404]) |
62 | 62 | ✓ content-type check |
63 | | -[0m |
64 | | - ✓ DELETE /items/{id} - step drop-item-auto-inherit[0m |
| 63 | +
|
| 64 | + ✓ DELETE /items/{id} - step drop-item-auto-inherit |
65 | 65 | ✓ success criteria check |
66 | 66 | ✓ status code check (Response code 200 matches one of description codes: [200]) |
67 | | -[0m |
68 | | -[0m |
| 67 | +
|
| 68 | +
|
69 | 69 | Failed tests info: |
70 | | -[0m |
71 | | - Workflow name: crud-items[0m |
72 | | -[0m |
73 | | - stepId - get-all-items-again[0m |
74 | | - ✗ success criteria check[0m |
75 | | - Checking simple criteria: {"condition":"$response.body#/0/value == 100"}[0m |
76 | | - [0m |
| 70 | +
|
| 71 | + Workflow name: crud-items |
| 72 | +
|
| 73 | + stepId - get-all-items-again |
| 74 | + ✗ success criteria check |
| 75 | + Checking simple criteria: {"condition":"$response.body#/0/value == 100"} |
| 76 | + |
77 | 77 | Summary for local-json-server.yaml |
78 | 78 | |
79 | 79 | Workflows: 2 passed, 1 failed, 3 total |
80 | 80 | Steps: 9 passed, 1 failed, 10 total |
81 | 81 | Checks: 31 passed, 1 failed, 32 total |
82 | | - Time: <test>ms[0m |
83 | | -[0m |
84 | | -[0m |
| 82 | + Time: <test>ms |
| 83 | +
|
| 84 | +
|
85 | 85 | ┌────────────────────────────────────────────────────────────────┬────────────┬─────────┬─────────┬──────────┬─────────┐ |
86 | 86 | │ Filename │ Workflows │ Passed │ Failed │ Warnings │ Skipped │ |
87 | 87 | ├────────────────────────────────────────────────────────────────┼────────────┼─────────┼─────────┼──────────┼─────────┤ |
88 | 88 | │ x local-json-server.yaml │ 3 │ 2 │ 1 │ - │ - │ |
89 | | -└────────────────────────────────────────────────────────────────┴────────────┴─────────┴─────────┴──────────┴─────────┘[0m |
90 | | -[0m |
91 | | -[0m |
| 89 | +└────────────────────────────────────────────────────────────────┴────────────┴─────────┴─────────┴──────────┴─────────┘ |
| 90 | +
|
| 91 | +
|
92 | 92 |
|
93 | 93 | Tests exited with error |
94 | 94 | " |
|
0 commit comments