@qaick/runner 0.30.0 → 0.30.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/package-dist/fixtures/qaick-local-http-regression.qaick.json +5002 -0
  2. package/package-dist/fixtures/regression-cancel.qaick.json +314 -0
  3. package/package-dist/fixtures/regression-declared-inputs.qaick.json +281 -0
  4. package/package-dist/fixtures/regression-input-conflict.qaick.json +548 -0
  5. package/package-dist/fixtures/regression-script.qaick.json +58 -0
  6. package/package-dist/fixtures/regression-timeout.qaick.json +314 -0
  7. package/package-dist/fixtures/script-worker-http.qaick.json +226 -0
  8. package/package-dist/package.json +4 -4
  9. package/package-dist/src/demo/RunnerWalkthrough.js +1 -1
  10. package/package-dist/src/runner/RunnerModule.d.ts.map +1 -1
  11. package/package-dist/src/runner/RunnerModule.js +43 -30
  12. package/package-dist/src/runner/RunnerModule.js.map +1 -1
  13. package/package-dist/src/runner/action-template-lowering.d.ts.map +1 -1
  14. package/package-dist/src/runner/action-template-lowering.js +7 -3
  15. package/package-dist/src/runner/action-template-lowering.js.map +1 -1
  16. package/package-dist/src/runner/catalog.d.ts +4 -1
  17. package/package-dist/src/runner/catalog.d.ts.map +1 -1
  18. package/package-dist/src/runner/catalog.js +11 -6
  19. package/package-dist/src/runner/catalog.js.map +1 -1
  20. package/package-dist/src/runner/fixture.js +1 -1
  21. package/package-dist/src/runner/fixture.js.map +1 -1
  22. package/package-dist/src/runner/history.js +1 -1
  23. package/package-dist/src/runner/invocation-inputs.d.ts +33 -0
  24. package/package-dist/src/runner/invocation-inputs.d.ts.map +1 -0
  25. package/package-dist/src/runner/invocation-inputs.js +85 -0
  26. package/package-dist/src/runner/invocation-inputs.js.map +1 -0
  27. package/package-dist/src/runner/loaded-target.d.ts +13 -0
  28. package/package-dist/src/runner/loaded-target.d.ts.map +1 -0
  29. package/package-dist/src/runner/loaded-target.js +23 -0
  30. package/package-dist/src/runner/loaded-target.js.map +1 -0
  31. package/package-dist/src/runner/package-loader.js +2 -2
  32. package/package-dist/src/runner/result-export.d.ts +7 -2
  33. package/package-dist/src/runner/result-export.d.ts.map +1 -1
  34. package/package-dist/src/runner/result-export.js +4 -3
  35. package/package-dist/src/runner/result-export.js.map +1 -1
  36. package/package-dist/src/runner/runtime-client-adapter.d.ts.map +1 -1
  37. package/package-dist/src/runner/runtime-client-adapter.js +4 -3
  38. package/package-dist/src/runner/runtime-client-adapter.js.map +1 -1
  39. package/package-dist/src/runner/studio-artifact-loader.js +2 -2
  40. package/package-dist/src/runner/studio-hierarchy-loader.js +2 -2
  41. package/package.json +4 -4
@@ -0,0 +1,314 @@
1
+ {
2
+ "schemaVersion": 10,
3
+ "project": {
4
+ "id": "regression-cancel",
5
+ "name": "HTTP cancel regression",
6
+ "actions": [],
7
+ "operations": [],
8
+ "variables": [],
9
+ "flows": [
10
+ {
11
+ "id": "regression-cancel",
12
+ "name": "HTTP cancel regression",
13
+ "nodes": [
14
+ {
15
+ "id": "wait",
16
+ "type": "action",
17
+ "clientId": "project",
18
+ "actionId": "http-wait",
19
+ "label": "slow/cancel",
20
+ "position": {
21
+ "x": 820,
22
+ "y": -160
23
+ },
24
+ "inputs": {
25
+ "namespace": {
26
+ "type": "variable",
27
+ "variableName": "customerId"
28
+ }
29
+ },
30
+ "actionDefinition": {
31
+ "id": "http-wait",
32
+ "name": "slow/cancel",
33
+ "type": "api",
34
+ "inputs": [
35
+ {
36
+ "id": "p-namespace",
37
+ "name": "namespace",
38
+ "type": "string",
39
+ "required": false
40
+ },
41
+ {
42
+ "id": "p-sampleValue",
43
+ "name": "sampleValue",
44
+ "type": "string",
45
+ "required": false
46
+ }
47
+ ],
48
+ "outputs": [
49
+ {
50
+ "id": "p-token",
51
+ "name": "token",
52
+ "type": "string",
53
+ "required": false
54
+ },
55
+ {
56
+ "id": "p-sampleValue",
57
+ "name": "sampleValue",
58
+ "type": "string",
59
+ "required": false
60
+ },
61
+ {
62
+ "id": "p-number",
63
+ "name": "number",
64
+ "type": "number",
65
+ "required": false
66
+ },
67
+ {
68
+ "id": "p-decimal",
69
+ "name": "decimal",
70
+ "type": "number",
71
+ "required": false
72
+ },
73
+ {
74
+ "id": "p-falseValue",
75
+ "name": "falseValue",
76
+ "type": "boolean",
77
+ "required": false
78
+ },
79
+ {
80
+ "id": "p-nullValue",
81
+ "name": "nullValue",
82
+ "type": "json",
83
+ "required": false
84
+ },
85
+ {
86
+ "id": "p-object",
87
+ "name": "object",
88
+ "type": "json",
89
+ "required": false
90
+ },
91
+ {
92
+ "id": "p-array",
93
+ "name": "array",
94
+ "type": "json",
95
+ "required": false
96
+ }
97
+ ],
98
+ "api": {
99
+ "method": "POST",
100
+ "url": "http://127.0.0.1:5197/slow/cancel",
101
+ "query": "{\"namespace\":\"$namespace\"}",
102
+ "headers": "{\"Content-Type\":\"text/plain\"}",
103
+ "body": "fixed request",
104
+ "response": {
105
+ "fields": [
106
+ {
107
+ "name": "token",
108
+ "path": "$.token",
109
+ "type": "string"
110
+ },
111
+ {
112
+ "name": "sampleValue",
113
+ "path": "$.sampleValue",
114
+ "type": "string"
115
+ },
116
+ {
117
+ "name": "number",
118
+ "path": "$.number",
119
+ "type": "number"
120
+ },
121
+ {
122
+ "name": "decimal",
123
+ "path": "$.decimal",
124
+ "type": "number"
125
+ },
126
+ {
127
+ "name": "falseValue",
128
+ "path": "$.falseValue",
129
+ "type": "boolean"
130
+ },
131
+ {
132
+ "name": "nullValue",
133
+ "path": "$.nullValue",
134
+ "type": "json"
135
+ },
136
+ {
137
+ "name": "object",
138
+ "path": "$.object",
139
+ "type": "json"
140
+ },
141
+ {
142
+ "name": "array",
143
+ "path": "$.array",
144
+ "type": "json"
145
+ }
146
+ ]
147
+ }
148
+ }
149
+ }
150
+ },
151
+ {
152
+ "id": "after",
153
+ "type": "action",
154
+ "clientId": "project",
155
+ "actionId": "http-after",
156
+ "label": "mark/AFTER-CANCEL",
157
+ "position": {
158
+ "x": 800,
159
+ "y": -200
160
+ },
161
+ "inputs": {
162
+ "namespace": {
163
+ "type": "variable",
164
+ "variableName": "customerId"
165
+ }
166
+ },
167
+ "actionDefinition": {
168
+ "id": "http-after",
169
+ "name": "mark/AFTER-CANCEL",
170
+ "type": "api",
171
+ "inputs": [
172
+ {
173
+ "id": "p-namespace",
174
+ "name": "namespace",
175
+ "type": "string",
176
+ "required": false
177
+ },
178
+ {
179
+ "id": "p-sampleValue",
180
+ "name": "sampleValue",
181
+ "type": "string",
182
+ "required": false
183
+ }
184
+ ],
185
+ "outputs": [
186
+ {
187
+ "id": "p-token",
188
+ "name": "token",
189
+ "type": "string",
190
+ "required": false
191
+ },
192
+ {
193
+ "id": "p-sampleValue",
194
+ "name": "sampleValue",
195
+ "type": "string",
196
+ "required": false
197
+ },
198
+ {
199
+ "id": "p-number",
200
+ "name": "number",
201
+ "type": "number",
202
+ "required": false
203
+ },
204
+ {
205
+ "id": "p-decimal",
206
+ "name": "decimal",
207
+ "type": "number",
208
+ "required": false
209
+ },
210
+ {
211
+ "id": "p-falseValue",
212
+ "name": "falseValue",
213
+ "type": "boolean",
214
+ "required": false
215
+ },
216
+ {
217
+ "id": "p-nullValue",
218
+ "name": "nullValue",
219
+ "type": "json",
220
+ "required": false
221
+ },
222
+ {
223
+ "id": "p-object",
224
+ "name": "object",
225
+ "type": "json",
226
+ "required": false
227
+ },
228
+ {
229
+ "id": "p-array",
230
+ "name": "array",
231
+ "type": "json",
232
+ "required": false
233
+ }
234
+ ],
235
+ "api": {
236
+ "method": "POST",
237
+ "url": "http://127.0.0.1:5197/mark/AFTER-CANCEL",
238
+ "query": "{\"namespace\":\"$namespace\"}",
239
+ "headers": "{\"Content-Type\":\"text/plain\"}",
240
+ "body": "fixed request",
241
+ "response": {
242
+ "fields": [
243
+ {
244
+ "name": "token",
245
+ "path": "$.token",
246
+ "type": "string"
247
+ },
248
+ {
249
+ "name": "sampleValue",
250
+ "path": "$.sampleValue",
251
+ "type": "string"
252
+ },
253
+ {
254
+ "name": "number",
255
+ "path": "$.number",
256
+ "type": "number"
257
+ },
258
+ {
259
+ "name": "decimal",
260
+ "path": "$.decimal",
261
+ "type": "number"
262
+ },
263
+ {
264
+ "name": "falseValue",
265
+ "path": "$.falseValue",
266
+ "type": "boolean"
267
+ },
268
+ {
269
+ "name": "nullValue",
270
+ "path": "$.nullValue",
271
+ "type": "json"
272
+ },
273
+ {
274
+ "name": "object",
275
+ "path": "$.object",
276
+ "type": "json"
277
+ },
278
+ {
279
+ "name": "array",
280
+ "path": "$.array",
281
+ "type": "json"
282
+ }
283
+ ]
284
+ }
285
+ }
286
+ }
287
+ }
288
+ ],
289
+ "sequence": [
290
+ "wait",
291
+ "after"
292
+ ],
293
+ "edges": [],
294
+ "inputs": [
295
+ {
296
+ "id": "p-customerId",
297
+ "name": "customerId",
298
+ "type": "string",
299
+ "required": false,
300
+ "defaultValue": "cancel"
301
+ }
302
+ ],
303
+ "outputs": [],
304
+ "variables": []
305
+ }
306
+ ],
307
+ "flowReferences": [
308
+ {
309
+ "source": "project",
310
+ "flowId": "regression-cancel"
311
+ }
312
+ ]
313
+ }
314
+ }
@@ -0,0 +1,281 @@
1
+ {
2
+ "schemaVersion": 10,
3
+ "project": {
4
+ "id": "declared-input-regression",
5
+ "name": "Declared input regression",
6
+ "actions": [],
7
+ "operations": [],
8
+ "flows": [
9
+ {
10
+ "id": "regression-core",
11
+ "name": "Flow 1 \u2014 Independent core",
12
+ "nodes": [
13
+ {
14
+ "id": "basics",
15
+ "type": "action",
16
+ "clientId": "project",
17
+ "actionId": "http-basics",
18
+ "label": "produce/basics",
19
+ "position": {
20
+ "x": 780,
21
+ "y": -240
22
+ },
23
+ "inputs": {
24
+ "namespace": {
25
+ "type": "variable",
26
+ "variableName": "customerId"
27
+ },
28
+ "arbitraryDeclaredInput": {
29
+ "type": "variable",
30
+ "variableName": "arbitraryDeclaredInput"
31
+ },
32
+ "n": {
33
+ "type": "variable",
34
+ "variableName": "n"
35
+ },
36
+ "b": {
37
+ "type": "variable",
38
+ "variableName": "b"
39
+ },
40
+ "s": {
41
+ "type": "variable",
42
+ "variableName": "s"
43
+ },
44
+ "payload": {
45
+ "type": "variable",
46
+ "variableName": "payload"
47
+ }
48
+ },
49
+ "actionDefinition": {
50
+ "id": "http-basics",
51
+ "name": "produce/basics",
52
+ "type": "api",
53
+ "inputs": [
54
+ {
55
+ "id": "p-namespace",
56
+ "name": "namespace",
57
+ "type": "string",
58
+ "required": false
59
+ },
60
+ {
61
+ "id": "p-sampleValue",
62
+ "name": "sampleValue",
63
+ "type": "string",
64
+ "required": false
65
+ },
66
+ {
67
+ "name": "arbitraryDeclaredInput",
68
+ "type": "string",
69
+ "id": "action-arbitraryDeclaredInput",
70
+ "required": false
71
+ },
72
+ {
73
+ "name": "n",
74
+ "type": "number",
75
+ "id": "action-n",
76
+ "required": false
77
+ },
78
+ {
79
+ "name": "b",
80
+ "type": "boolean",
81
+ "id": "action-b",
82
+ "required": false
83
+ },
84
+ {
85
+ "name": "s",
86
+ "type": "string",
87
+ "id": "action-s",
88
+ "required": false
89
+ },
90
+ {
91
+ "name": "payload",
92
+ "type": "json",
93
+ "id": "action-payload",
94
+ "required": false
95
+ },
96
+ {
97
+ "name": "comment",
98
+ "type": "json",
99
+ "id": "action-comment",
100
+ "required": false
101
+ }
102
+ ],
103
+ "outputs": [
104
+ {
105
+ "id": "p-token",
106
+ "name": "token",
107
+ "type": "string",
108
+ "required": false
109
+ },
110
+ {
111
+ "id": "p-sampleValue",
112
+ "name": "sampleValue",
113
+ "type": "string",
114
+ "required": false
115
+ },
116
+ {
117
+ "id": "p-number",
118
+ "name": "number",
119
+ "type": "number",
120
+ "required": false
121
+ },
122
+ {
123
+ "id": "p-decimal",
124
+ "name": "decimal",
125
+ "type": "number",
126
+ "required": false
127
+ },
128
+ {
129
+ "id": "p-falseValue",
130
+ "name": "falseValue",
131
+ "type": "boolean",
132
+ "required": false
133
+ },
134
+ {
135
+ "id": "p-nullValue",
136
+ "name": "nullValue",
137
+ "type": "json",
138
+ "required": false
139
+ },
140
+ {
141
+ "id": "p-object",
142
+ "name": "object",
143
+ "type": "json",
144
+ "required": false
145
+ },
146
+ {
147
+ "id": "p-array",
148
+ "name": "array",
149
+ "type": "json",
150
+ "required": false
151
+ }
152
+ ],
153
+ "api": {
154
+ "method": "POST",
155
+ "url": "http://127.0.0.1:5197/produce/basics",
156
+ "query": "{\"namespace\": \"$namespace\", \"n\": \"$n\", \"b\": \"$b\", \"s\": \"$s\", \"arbitrary\": \"$arbitraryDeclaredInput\"}",
157
+ "headers": "{\"Content-Type\":\"application/json\"}",
158
+ "body": "$payload",
159
+ "response": {
160
+ "fields": [
161
+ {
162
+ "name": "token",
163
+ "path": "$.token",
164
+ "type": "string"
165
+ },
166
+ {
167
+ "name": "sampleValue",
168
+ "path": "$.sampleValue",
169
+ "type": "string"
170
+ },
171
+ {
172
+ "name": "number",
173
+ "path": "$.number",
174
+ "type": "number"
175
+ },
176
+ {
177
+ "name": "decimal",
178
+ "path": "$.decimal",
179
+ "type": "number"
180
+ },
181
+ {
182
+ "name": "falseValue",
183
+ "path": "$.falseValue",
184
+ "type": "boolean"
185
+ },
186
+ {
187
+ "name": "nullValue",
188
+ "path": "$.nullValue",
189
+ "type": "json"
190
+ },
191
+ {
192
+ "name": "object",
193
+ "path": "$.object",
194
+ "type": "json"
195
+ },
196
+ {
197
+ "name": "array",
198
+ "path": "$.array",
199
+ "type": "json"
200
+ }
201
+ ]
202
+ }
203
+ }
204
+ }
205
+ }
206
+ ],
207
+ "sequence": [
208
+ "basics"
209
+ ],
210
+ "edges": [],
211
+ "inputs": [
212
+ {
213
+ "id": "p-customerId",
214
+ "name": "customerId",
215
+ "type": "string",
216
+ "required": false,
217
+ "defaultValue": "regression-default"
218
+ },
219
+ {
220
+ "name": "arbitraryDeclaredInput",
221
+ "type": "string",
222
+ "defaultValue": "declared-example",
223
+ "id": "input-arbitraryDeclaredInput",
224
+ "required": false
225
+ },
226
+ {
227
+ "name": "n",
228
+ "type": "number",
229
+ "defaultValue": 259,
230
+ "id": "input-n",
231
+ "required": false
232
+ },
233
+ {
234
+ "name": "b",
235
+ "type": "boolean",
236
+ "defaultValue": true,
237
+ "id": "input-b",
238
+ "required": false
239
+ },
240
+ {
241
+ "name": "s",
242
+ "type": "string",
243
+ "defaultValue": "default",
244
+ "id": "input-s",
245
+ "required": false
246
+ },
247
+ {
248
+ "name": "payload",
249
+ "type": "json",
250
+ "defaultValue": {
251
+ "id": 7,
252
+ "items": [
253
+ 1,
254
+ 2,
255
+ 3
256
+ ]
257
+ },
258
+ "id": "input-payload",
259
+ "required": false
260
+ },
261
+ {
262
+ "name": "comment",
263
+ "type": "json",
264
+ "id": "input-comment",
265
+ "required": false
266
+ }
267
+ ],
268
+ "outputs": [],
269
+ "variables": [],
270
+ "description": "HTTP evidence only. Structured bindings are inspectable/runnable; structural edits are restricted until reconciliation exists."
271
+ }
272
+ ],
273
+ "flowReferences": [
274
+ {
275
+ "source": "project",
276
+ "flowId": "regression-core"
277
+ }
278
+ ],
279
+ "variables": []
280
+ }
281
+ }