Skip to content

Commit 279e1a4

Browse files
committed
sync e2e flows
1 parent 846ab0a commit 279e1a4

File tree

1 file changed

+308
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)