Skip to content

Commit 20187e5

Browse files
committed
chore: remove unnecessary files
1 parent 9379f7d commit 20187e5

File tree

2 files changed

+36
-394
lines changed

2 files changed

+36
-394
lines changed

__tests__/respect/local-json-server/__snapshots__/local-json-server.test.ts.snap

Lines changed: 36 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -5,70 +5,68 @@ exports[`local-json-server > local-json-server test case 1`] = `
55
66
Running workflow local-json-server.arazzo.yaml / before
77
8-
✓ GET /items - step get-all-items-before
9-
    ✓ status code check - $statusCode in [200]
10-
    ✓ content-type check
11-
    ✓ schema check
8+
✗ GET /items - step get-all-items-before
9+
    ✗ status code check
1210
1311
────────────────────────────────────────────────────────────────────────────────
1412
1513
Running workflow local-json-server.arazzo.yaml / crud-items
1614
17-
✓ POST /items - step add-item
18-
    ✓ success criteria check - $statusCode == 201
19-
    ✓ status code check - $statusCode in [201]
20-
    ✓ content-type check
21-
    ✓ schema check
22-
23-
✗ GET /items - step get-all-items-again
24-
    ✗ success criteria check - $response.body#/0/value == 100
25-
    ✓ status code check - $statusCode in [200]
26-
    ✓ content-type check
27-
    ✓ schema check
15+
✗ POST /items - step add-item
16+
    ✗ success criteria check - $statusCode == 201
17+
    ✗ status code check
18+
    ✗ unexpected error
2819
2920
────────────────────────────────────────────────────────────────────────────────
3021
3122
Running workflow local-json-server.arazzo.yaml / auto-inherit
3223
33-
✓ POST /items - step add-item-auto-inherit
34-
    ✓ status code check - $statusCode in [201]
35-
    ✓ content-type check
36-
    ✓ schema check
37-
38-
✓ GET /items - step get-all-items
39-
    ✓ status code check - $statusCode in [200]
40-
    ✓ content-type check
41-
    ✓ schema check
42-
43-
✓ GET /items/{id} - step get-item-by-id-auto-inherit
44-
    ✓ status code check - $statusCode in [200, 404]
45-
    ✓ content-type check
46-
47-
✓ DELETE /items/{id} - step drop-item-auto-inherit
48-
    ✓ success criteria check - $statusCode == 200
49-
    ✓ status code check - $statusCode in [200]
24+
✗ POST /items - step add-item-auto-inherit
25+
    ✗ status code check
26+
    ✗ unexpected error
5027
5128
5229
  Failed tests info:
5330
31+
  Workflow name: before
32+
33+
    stepId - get-all-items-before
34+
    ✗ status code check
35+
      
36+
      
5437
  Workflow name: crud-items
5538
56-
    stepId - get-all-items-again
39+
    stepId - add-item
5740
    ✗ success criteria check
58-
      Checking simple criteria: {"condition":"$response.body#/0/value == 100"}
41+
      Checking simple criteria: {"condition":"$statusCode == 201"}
42+
      
43+
    ✗ status code check
44+
      
45+
      
46+
    ✗ unexpected error
47+
    Reason: Error in resolving runtime expression '$response.body#/id'.
48+
    This could be because the expression references a value from a previous failed step, or is trying to reference a variable that hasn't been set.
49+
  Workflow name: auto-inherit
50+
51+
    stepId - add-item-auto-inherit
52+
    ✗ status code check
53+
      
5954
      
55+
    ✗ unexpected error
56+
    Reason: Error in resolving runtime expression '$response.body#/id'.
57+
    This could be because the expression references a value from a previous failed step, or is trying to reference a variable that hasn't been set.
6058
  Summary for local-json-server.arazzo.yaml
6159
  
62-
  Workflows: 2 passed, 1 failed, 3 total
63-
  Steps: 6 passed, 1 failed, 7 total
64-
  Checks: 20 passed, 1 failed, 21 total
60+
  Workflows: 3 failed, 3 total
61+
  Steps: 3 failed, 3 total
62+
  Checks: 6 failed, 6 total
6563
  Time: <test>ms
6664
6765
6866
┌───────────────────────────────────────────────────────────────────────┬────────────┬─────────┬─────────┬──────────┐
6967
│ Filename │ Workflows │ Passed │ Failed │ Warnings │
7068
├───────────────────────────────────────────────────────────────────────┼────────────┼─────────┼─────────┼──────────┤
71-
│ x local-json-server.arazzo.yaml │ 3 │ 21 │ - │
69+
│ x local-json-server.arazzo.yaml │ 3 │ 03 │ - │
7270
└───────────────────────────────────────────────────────────────────────┴────────────┴─────────┴─────────┴──────────┘
7371
7472

0 commit comments

Comments
 (0)