Skip to content

Commit cc91266

Browse files
committed
Sync E2E flow: E2E GetResponse - list-operations
1 parent 9fc0db0 commit cc91266

File tree

1 file changed

+313
-0
lines changed

1 file changed

+313
-0
lines changed
Lines changed: 313 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,313 @@
1+
{
2+
"flow": {
3+
"on-start": {
4+
"type": "appmixer.utils.controls.OnStart",
5+
"x": 100,
6+
"y": 200,
7+
"source": {},
8+
"version": "1.0.0",
9+
"config": {}
10+
},
11+
"before-all": {
12+
"type": "appmixer.utils.test.BeforeAll",
13+
"x": 250,
14+
"y": 200,
15+
"source": {
16+
"in": {
17+
"on-start": [
18+
"out"
19+
]
20+
}
21+
},
22+
"version": "1.0.0",
23+
"config": {}
24+
},
25+
"list-contacts": {
26+
"type": "appmixer.getResponse.core.ListContacts",
27+
"x": 400,
28+
"y": 100,
29+
"version": "1.0.0",
30+
"source": {
31+
"in": {
32+
"before-all": [
33+
"out"
34+
]
35+
}
36+
},
37+
"config": {
38+
"transform": {
39+
"in": {
40+
"before-all": {
41+
"out": {
42+
"type": "json2new",
43+
"modifiers": {
44+
"state": {},
45+
"outputType": {}
46+
},
47+
"lambda": {
48+
"state": "active",
49+
"outputType": "array"
50+
}
51+
}
52+
}
53+
}
54+
}
55+
}
56+
},
57+
"list-campaigns": {
58+
"type": "appmixer.getResponse.core.ListCampaigns",
59+
"x": 400,
60+
"y": 200,
61+
"version": "1.0.0",
62+
"source": {
63+
"in": {
64+
"before-all": [
65+
"out"
66+
]
67+
}
68+
},
69+
"config": {
70+
"transform": {
71+
"in": {
72+
"before-all": {
73+
"out": {
74+
"type": "json2new",
75+
"modifiers": {
76+
"status": {},
77+
"outputType": {}
78+
},
79+
"lambda": {
80+
"status": "active",
81+
"outputType": "array"
82+
}
83+
}
84+
}
85+
}
86+
}
87+
}
88+
},
89+
"list-tags": {
90+
"type": "appmixer.getResponse.core.ListTags",
91+
"x": 400,
92+
"y": 300,
93+
"version": "1.0.0",
94+
"source": {
95+
"in": {
96+
"before-all": [
97+
"out"
98+
]
99+
}
100+
},
101+
"config": {
102+
"transform": {
103+
"in": {
104+
"before-all": {
105+
"out": {
106+
"type": "json2new",
107+
"modifiers": {
108+
"outputType": {}
109+
},
110+
"lambda": {
111+
"outputType": "array"
112+
}
113+
}
114+
}
115+
}
116+
}
117+
}
118+
},
119+
"assert-contacts": {
120+
"type": "appmixer.utils.test.Assert",
121+
"x": 600,
122+
"y": 100,
123+
"version": "1.0.0",
124+
"source": {
125+
"in": {
126+
"list-contacts": [
127+
"out"
128+
]
129+
}
130+
},
131+
"config": {
132+
"transform": {
133+
"in": {
134+
"list-contacts": {
135+
"out": {
136+
"type": "json2new",
137+
"modifiers": {
138+
"expression": {
139+
"contacts-check": {
140+
"variable": "$.list-contacts.out.result",
141+
"functions": []
142+
}
143+
}
144+
},
145+
"lambda": {
146+
"expression": {
147+
"AND": [
148+
{
149+
"field": "{{{contacts-check}}}",
150+
"assertion": "notEmpty"
151+
}
152+
]
153+
}
154+
}
155+
}
156+
}
157+
}
158+
}
159+
}
160+
},
161+
"assert-campaigns": {
162+
"type": "appmixer.utils.test.Assert",
163+
"x": 600,
164+
"y": 200,
165+
"version": "1.0.0",
166+
"source": {
167+
"in": {
168+
"list-campaigns": [
169+
"out"
170+
]
171+
}
172+
},
173+
"config": {
174+
"transform": {
175+
"in": {
176+
"list-campaigns": {
177+
"out": {
178+
"type": "json2new",
179+
"modifiers": {
180+
"expression": {
181+
"campaigns-check": {
182+
"variable": "$.list-campaigns.out",
183+
"functions": []
184+
}
185+
}
186+
},
187+
"lambda": {
188+
"expression": {
189+
"AND": [
190+
{
191+
"field": "{{{campaigns-check}}}",
192+
"assertion": "notEmpty"
193+
}
194+
]
195+
}
196+
}
197+
}
198+
}
199+
}
200+
}
201+
}
202+
},
203+
"assert-tags": {
204+
"type": "appmixer.utils.test.Assert",
205+
"x": 600,
206+
"y": 300,
207+
"version": "1.0.0",
208+
"source": {
209+
"in": {
210+
"list-tags": [
211+
"out"
212+
]
213+
}
214+
},
215+
"config": {
216+
"transform": {
217+
"in": {
218+
"list-tags": {
219+
"out": {
220+
"type": "json2new",
221+
"modifiers": {
222+
"expression": {
223+
"tags-check": {
224+
"variable": "$.list-tags.out",
225+
"functions": []
226+
}
227+
}
228+
},
229+
"lambda": {
230+
"expression": {
231+
"AND": [
232+
{
233+
"field": "{{{tags-check}}}",
234+
"assertion": "notEmpty"
235+
}
236+
]
237+
}
238+
}
239+
}
240+
}
241+
}
242+
}
243+
}
244+
},
245+
"after-all": {
246+
"type": "appmixer.utils.test.AfterAll",
247+
"x": 800,
248+
"y": 200,
249+
"version": "1.0.0",
250+
"source": {
251+
"in": {
252+
"assert-contacts": [
253+
"out"
254+
],
255+
"assert-campaigns": [
256+
"out"
257+
],
258+
"assert-tags": [
259+
"out"
260+
]
261+
}
262+
},
263+
"config": {
264+
"properties": {
265+
"timeout": 60
266+
}
267+
}
268+
},
269+
"process-results": {
270+
"type": "appmixer.utils.test.ProcessE2EResults",
271+
"x": 950,
272+
"y": 200,
273+
"version": "1.0.1",
274+
"source": {
275+
"in": {
276+
"after-all": [
277+
"out"
278+
]
279+
}
280+
},
281+
"config": {
282+
"properties": {},
283+
"transform": {
284+
"in": {
285+
"after-all": {
286+
"out": {
287+
"type": "json2new",
288+
"modifiers": {
289+
"recipients": {},
290+
"testCase": {},
291+
"result": {
292+
"result-var": {
293+
"variable": "$.after-all.out",
294+
"functions": []
295+
}
296+
}
297+
},
298+
"lambda": {
299+
"recipients": "test@appmixer.ai",
300+
"testCase": "E2E GetResponse - list-operations",
301+
"result": "{{{result-var}}}"
302+
}
303+
}
304+
}
305+
}
306+
}
307+
}
308+
}
309+
},
310+
"name": "E2E GetResponse - list-operations",
311+
"type": "automation",
312+
"notes": {}
313+
}

0 commit comments

Comments
 (0)