Skip to content

Commit c6c18c0

Browse files
committed
sync e2e flows
1 parent e44b5c0 commit c6c18c0

File tree

4 files changed

+169
-3
lines changed

4 files changed

+169
-3
lines changed
Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
{
2+
"flow": {
3+
"fbb75e69-59ee-4f2e-a7e8-212e903ce201": {
4+
"type": "appmixer.utils.controls.OnStart",
5+
"x": 100,
6+
"y": 200,
7+
"source": {},
8+
"version": "1.0.0",
9+
"config": {}
10+
},
11+
"22d27632-f226-48e3-ac14-dcfe271c5a52": {
12+
"type": "appmixer.utils.test.BeforeAll",
13+
"x": 300,
14+
"y": 200,
15+
"source": {
16+
"in": {
17+
"fbb75e69-59ee-4f2e-a7e8-212e903ce201": [
18+
"out"
19+
]
20+
}
21+
},
22+
"version": "1.0.0",
23+
"config": {}
24+
},
25+
"find-custom-modules": {
26+
"type": "appmixer.zoho.crm.FindCustomModules",
27+
"x": 500,
28+
"y": 200,
29+
"version": "1.0.0",
30+
"source": {
31+
"in": {
32+
"22d27632-f226-48e3-ac14-dcfe271c5a52": [
33+
"out"
34+
]
35+
}
36+
},
37+
"config": {
38+
"transform": {
39+
"in": {
40+
"22d27632-f226-48e3-ac14-dcfe271c5a52": {
41+
"out": {
42+
"type": "json2new",
43+
"modifiers": {
44+
"searchQuery": {},
45+
"sortBy": {},
46+
"sortOrder": {},
47+
"outputType": {}
48+
},
49+
"lambda": {
50+
"searchQuery": "",
51+
"sortBy": "created_time",
52+
"sortOrder": "desc",
53+
"outputType": "array"
54+
}
55+
}
56+
}
57+
}
58+
}
59+
}
60+
},
61+
"assert-modules-found": {
62+
"type": "appmixer.utils.test.Assert",
63+
"x": 700,
64+
"y": 200,
65+
"version": "1.0.0",
66+
"source": {
67+
"in": {
68+
"find-custom-modules": [
69+
"out"
70+
]
71+
}
72+
},
73+
"config": {
74+
"transform": {
75+
"in": {
76+
"find-custom-modules": {
77+
"out": {
78+
"type": "json2new",
79+
"modifiers": {
80+
"expression": {
81+
"result-check": {
82+
"variable": "$.find-custom-modules.out.result",
83+
"functions": []
84+
}
85+
}
86+
},
87+
"lambda": {
88+
"expression": {
89+
"AND": [
90+
{
91+
"field": "",
92+
"assertion": "notEmpty",
93+
"expected": ""
94+
}
95+
]
96+
}
97+
}
98+
}
99+
}
100+
}
101+
}
102+
}
103+
},
104+
"after-all": {
105+
"type": "appmixer.utils.test.AfterAll",
106+
"x": 900,
107+
"y": 200,
108+
"version": "1.0.0",
109+
"source": {
110+
"in": {
111+
"assert-modules-found": [
112+
"out"
113+
]
114+
}
115+
},
116+
"config": {
117+
"properties": {
118+
"timeout": 30
119+
}
120+
}
121+
},
122+
"process-results": {
123+
"type": "appmixer.utils.test.ProcessE2EResults",
124+
"x": 1100,
125+
"y": 200,
126+
"version": "1.0.1",
127+
"source": {
128+
"in": {
129+
"after-all": [
130+
"out"
131+
]
132+
}
133+
},
134+
"config": {
135+
"properties": {},
136+
"transform": {
137+
"in": {
138+
"after-all": {
139+
"out": {
140+
"type": "json2new",
141+
"modifiers": {
142+
"recipients": {},
143+
"testCase": {},
144+
"result": {
145+
"result-var": {
146+
"variable": "$.after-all.out",
147+
"functions": []
148+
}
149+
}
150+
},
151+
"lambda": {
152+
"recipients": "test@appmixer.ai",
153+
"testCase": "E2E Zoho - findcustommodules",
154+
"result": "{{{result-var}}}"
155+
}
156+
}
157+
}
158+
}
159+
}
160+
}
161+
}
162+
},
163+
"name": "E2E Zoho - findcustommodules",
164+
"type": "automation",
165+
"notes": {}
166+
}

src/appmixer/zoho/books/test-flow-contact.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,7 @@
12371237
"version": "1.0.0"
12381238
}
12391239
},
1240-
"name": "Jirka ZOHO Books CreateContact, Update Invoice status",
1240+
"name": "E2E ZOHO - CreateContact, Update Invoice status",
12411241
"type": "automation",
12421242
"notes": {}
12431243
}

src/appmixer/zoho/books/test-flow-list.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1528,7 +1528,7 @@
15281528
"version": "1.0.0"
15291529
}
15301530
},
1531-
"name": "Jirka ZOHO Books List components",
1531+
"name": "E2E ZOHO - List components",
15321532
"type": "automation",
15331533
"notes": {}
15341534
}

src/appmixer/zoho/books/test-flow-update-invoice.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@
544544
"version": "1.0.0"
545545
}
546546
},
547-
"name": "Jirka ZOHO Books UpdateInvoice",
547+
"name": "E2E ZOHO - UpdateInvoice",
548548
"type": "automation",
549549
"notes": {}
550550
}

0 commit comments

Comments
 (0)