@livechat/platform-workflows 0.1.7 → 0.44.0-beta.v1
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.
- package/dist/chunk-6ZQIQVNX.mjs +33594 -0
- package/dist/chunk-OAUPCV3P.mjs +19 -0
- package/dist/config.d.mts +0 -4
- package/dist/config.d.ts +0 -4
- package/dist/config.js +6 -17
- package/dist/config.mjs +1 -2
- package/dist/constants.d.mts +921 -993
- package/dist/constants.d.ts +921 -993
- package/dist/constants.js +31411 -9497
- package/dist/constants.mjs +393 -10773
- package/dist/domain.d.mts +298 -0
- package/dist/domain.d.ts +298 -0
- package/dist/domain.js +35232 -0
- package/dist/domain.mjs +2975 -0
- package/dist/index.css +64 -73
- package/dist/index.d.mts +817 -21
- package/dist/index.d.ts +817 -21
- package/dist/index.js +56780 -21544
- package/dist/index.mjs +58180 -22037
- package/dist/tests.d.mts +140 -10
- package/dist/tests.d.ts +140 -10
- package/dist/tests.js +147 -17
- package/dist/tests.mjs +147 -19
- package/dist/types-BSdHiBvO.d.mts +440 -0
- package/dist/types-BSdHiBvO.d.ts +440 -0
- package/package.json +38 -30
- package/dist/chunk-BW4GCPXP.mjs +0 -20
- package/dist/chunk-EACC5D4G.mjs +0 -113
- package/dist/chunk-I4E63NIC.mjs +0 -24
- package/dist/chunk-OHDSKF3P.mjs +0 -193
- package/dist/chunk-PWFJOGII.mjs +0 -83
- package/dist/chunk-UQO6HYDU.mjs +0 -84
- package/dist/chunk-V3FK4SUN.mjs +0 -1606
- package/dist/chunk-WFVTCU6F.mjs +0 -24
- package/dist/chunk-WNNR3KXF.mjs +0 -1607
- package/dist/chunk-WS4FFM4M.mjs +0 -111
- package/dist/chunk-XIPVJOPR.mjs +0 -1621
- package/dist/chunk-YS3C7NY2.mjs +0 -1623
- package/dist/index-B3GBo8sA.d.mts +0 -98
- package/dist/index-B3GBo8sA.d.ts +0 -98
package/dist/tests.d.mts
CHANGED
|
@@ -1,11 +1,42 @@
|
|
|
1
1
|
declare const WORKFLOWS_TEST_SELECTORS: {
|
|
2
2
|
views: {
|
|
3
3
|
workflows: {
|
|
4
|
+
components: {
|
|
5
|
+
layout: {
|
|
6
|
+
sidebar: {
|
|
7
|
+
closeButton: string;
|
|
8
|
+
};
|
|
9
|
+
pagination: {
|
|
10
|
+
paginationArrowButton: {
|
|
11
|
+
nextButton: string;
|
|
12
|
+
previousButton: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
picker: {
|
|
17
|
+
itemList: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
4
20
|
creator: {
|
|
5
21
|
navbar: {
|
|
22
|
+
runsButton: string;
|
|
23
|
+
readOnlyTag: string;
|
|
6
24
|
activateSwitch: string;
|
|
7
25
|
publishButton: string;
|
|
8
26
|
editButton: string;
|
|
27
|
+
nameInput: string;
|
|
28
|
+
editNameButton: string;
|
|
29
|
+
draftTag: string;
|
|
30
|
+
withDraftTag: string;
|
|
31
|
+
backButton: string;
|
|
32
|
+
actionMenu: {
|
|
33
|
+
button: string;
|
|
34
|
+
detailsButton: string;
|
|
35
|
+
executionsButton: string;
|
|
36
|
+
discardDraftButton: string;
|
|
37
|
+
editDraftButton: string;
|
|
38
|
+
runButton: string;
|
|
39
|
+
};
|
|
9
40
|
};
|
|
10
41
|
builder: {
|
|
11
42
|
nodes: {
|
|
@@ -16,29 +47,88 @@ declare const WORKFLOWS_TEST_SELECTORS: {
|
|
|
16
47
|
trigger: {
|
|
17
48
|
button: string;
|
|
18
49
|
};
|
|
50
|
+
tooltipErrorTrigger: string;
|
|
19
51
|
};
|
|
20
52
|
};
|
|
21
53
|
forms: {
|
|
54
|
+
customFieldActions: {
|
|
55
|
+
addToTrigerButton: string;
|
|
56
|
+
connectTriggerButton: string;
|
|
57
|
+
switchTriggerButton: string;
|
|
58
|
+
};
|
|
22
59
|
integrations: {
|
|
23
60
|
text: {
|
|
24
61
|
info: string;
|
|
25
62
|
button: string;
|
|
26
63
|
};
|
|
27
64
|
};
|
|
65
|
+
widgets: {
|
|
66
|
+
credentialPicker: {
|
|
67
|
+
displayName: string;
|
|
68
|
+
removeButton: string;
|
|
69
|
+
secondaryInfo: string;
|
|
70
|
+
reconnectButton: string;
|
|
71
|
+
};
|
|
72
|
+
tagsInput: {
|
|
73
|
+
formatIcon: string;
|
|
74
|
+
triggerIcon: string;
|
|
75
|
+
wrapper: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
testRun: {
|
|
79
|
+
runButton: string;
|
|
80
|
+
errorMessageText: string;
|
|
81
|
+
status: {
|
|
82
|
+
statusText: string;
|
|
83
|
+
statusIconSuccess: string;
|
|
84
|
+
statusIconError: string;
|
|
85
|
+
responseInfo: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
testRunModal: {
|
|
89
|
+
wrapper: string;
|
|
90
|
+
runButton: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
controls: {
|
|
94
|
+
homeButton: string;
|
|
95
|
+
};
|
|
96
|
+
handles: {
|
|
97
|
+
buttons: {
|
|
98
|
+
runButton: string;
|
|
99
|
+
removeEdgeButton: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
forms: {
|
|
104
|
+
allSetAlert: string;
|
|
105
|
+
buttons: {
|
|
106
|
+
removeButton: string;
|
|
28
107
|
};
|
|
29
108
|
};
|
|
30
109
|
modals: {
|
|
31
|
-
|
|
110
|
+
add: {
|
|
32
111
|
wrapper: string;
|
|
33
|
-
|
|
34
|
-
|
|
112
|
+
search: string;
|
|
113
|
+
card: (key: string) => string;
|
|
114
|
+
categoryButton: (key: string) => string;
|
|
35
115
|
saveButton: string;
|
|
116
|
+
noMatchingText: (kind: string) => string;
|
|
36
117
|
};
|
|
37
|
-
|
|
118
|
+
delete: {
|
|
38
119
|
wrapper: string;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
120
|
+
deleteButton: string;
|
|
121
|
+
cancelButton: string;
|
|
122
|
+
};
|
|
123
|
+
execute: {
|
|
124
|
+
wrapper: string;
|
|
125
|
+
cancelButton: string;
|
|
126
|
+
runButton: string;
|
|
127
|
+
};
|
|
128
|
+
import: {
|
|
129
|
+
wrapper: string;
|
|
130
|
+
cancelButton: string;
|
|
131
|
+
confirmButton: string;
|
|
42
132
|
};
|
|
43
133
|
publish: {
|
|
44
134
|
wrapper: string;
|
|
@@ -50,6 +140,14 @@ declare const WORKFLOWS_TEST_SELECTORS: {
|
|
|
50
140
|
element: {
|
|
51
141
|
wrapper: string;
|
|
52
142
|
};
|
|
143
|
+
executions: {
|
|
144
|
+
noPublishedWorkflow: string;
|
|
145
|
+
noWorkflowRunsYet: string;
|
|
146
|
+
noMatchingExecution: string;
|
|
147
|
+
card: (id: string) => string;
|
|
148
|
+
executionDate: string;
|
|
149
|
+
status: string;
|
|
150
|
+
};
|
|
53
151
|
details: {
|
|
54
152
|
executions: {
|
|
55
153
|
list: {
|
|
@@ -57,9 +155,6 @@ declare const WORKFLOWS_TEST_SELECTORS: {
|
|
|
57
155
|
status: string;
|
|
58
156
|
};
|
|
59
157
|
};
|
|
60
|
-
panel: {
|
|
61
|
-
historyTab: string;
|
|
62
|
-
};
|
|
63
158
|
info: {
|
|
64
159
|
dateCreated: string;
|
|
65
160
|
dateUpdated: string;
|
|
@@ -71,13 +166,24 @@ declare const WORKFLOWS_TEST_SELECTORS: {
|
|
|
71
166
|
};
|
|
72
167
|
list: {
|
|
73
168
|
grid: {
|
|
169
|
+
filters: {
|
|
170
|
+
wrapper: string;
|
|
171
|
+
statusFilter: string;
|
|
172
|
+
clearFiltersButton: string;
|
|
173
|
+
};
|
|
74
174
|
table: {
|
|
75
175
|
wrapper: string;
|
|
76
176
|
body: string;
|
|
77
177
|
menuTrigger: string;
|
|
78
178
|
activateSwitch: string;
|
|
79
179
|
infoButton: string;
|
|
180
|
+
emptyInfo: string;
|
|
80
181
|
workflowItem: (id: string) => string;
|
|
182
|
+
withDraftTag: string;
|
|
183
|
+
draftTag: string;
|
|
184
|
+
clearFiltersButton: string;
|
|
185
|
+
productIconsRow: string;
|
|
186
|
+
productIconCount: string;
|
|
81
187
|
};
|
|
82
188
|
};
|
|
83
189
|
view: {
|
|
@@ -91,16 +197,40 @@ declare const WORKFLOWS_TEST_SELECTORS: {
|
|
|
91
197
|
previewTemplate: {
|
|
92
198
|
wrapper: string;
|
|
93
199
|
useButton: string;
|
|
200
|
+
productsUsed: string;
|
|
201
|
+
};
|
|
202
|
+
previewImport: {
|
|
203
|
+
wrapper: string;
|
|
204
|
+
useButton: string;
|
|
205
|
+
closeButton: string;
|
|
206
|
+
};
|
|
207
|
+
previewFallback: {
|
|
208
|
+
wrapper: string;
|
|
209
|
+
closeButton: string;
|
|
94
210
|
};
|
|
95
211
|
};
|
|
96
212
|
home: {
|
|
213
|
+
noTemplatesFoundInfo: string;
|
|
97
214
|
cards: {
|
|
98
215
|
template: {
|
|
99
216
|
wrapper: string;
|
|
100
217
|
};
|
|
218
|
+
scratch: {
|
|
219
|
+
cardHeader: string;
|
|
220
|
+
};
|
|
101
221
|
};
|
|
102
222
|
};
|
|
103
223
|
};
|
|
224
|
+
common: {
|
|
225
|
+
errorPage: {
|
|
226
|
+
backButton: string;
|
|
227
|
+
homeButton: string;
|
|
228
|
+
refreshButton: string;
|
|
229
|
+
};
|
|
230
|
+
tree: {
|
|
231
|
+
listElementExpanderButton: string;
|
|
232
|
+
};
|
|
233
|
+
};
|
|
104
234
|
};
|
|
105
235
|
};
|
|
106
236
|
};
|
package/dist/tests.d.ts
CHANGED
|
@@ -1,11 +1,42 @@
|
|
|
1
1
|
declare const WORKFLOWS_TEST_SELECTORS: {
|
|
2
2
|
views: {
|
|
3
3
|
workflows: {
|
|
4
|
+
components: {
|
|
5
|
+
layout: {
|
|
6
|
+
sidebar: {
|
|
7
|
+
closeButton: string;
|
|
8
|
+
};
|
|
9
|
+
pagination: {
|
|
10
|
+
paginationArrowButton: {
|
|
11
|
+
nextButton: string;
|
|
12
|
+
previousButton: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
picker: {
|
|
17
|
+
itemList: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
4
20
|
creator: {
|
|
5
21
|
navbar: {
|
|
22
|
+
runsButton: string;
|
|
23
|
+
readOnlyTag: string;
|
|
6
24
|
activateSwitch: string;
|
|
7
25
|
publishButton: string;
|
|
8
26
|
editButton: string;
|
|
27
|
+
nameInput: string;
|
|
28
|
+
editNameButton: string;
|
|
29
|
+
draftTag: string;
|
|
30
|
+
withDraftTag: string;
|
|
31
|
+
backButton: string;
|
|
32
|
+
actionMenu: {
|
|
33
|
+
button: string;
|
|
34
|
+
detailsButton: string;
|
|
35
|
+
executionsButton: string;
|
|
36
|
+
discardDraftButton: string;
|
|
37
|
+
editDraftButton: string;
|
|
38
|
+
runButton: string;
|
|
39
|
+
};
|
|
9
40
|
};
|
|
10
41
|
builder: {
|
|
11
42
|
nodes: {
|
|
@@ -16,29 +47,88 @@ declare const WORKFLOWS_TEST_SELECTORS: {
|
|
|
16
47
|
trigger: {
|
|
17
48
|
button: string;
|
|
18
49
|
};
|
|
50
|
+
tooltipErrorTrigger: string;
|
|
19
51
|
};
|
|
20
52
|
};
|
|
21
53
|
forms: {
|
|
54
|
+
customFieldActions: {
|
|
55
|
+
addToTrigerButton: string;
|
|
56
|
+
connectTriggerButton: string;
|
|
57
|
+
switchTriggerButton: string;
|
|
58
|
+
};
|
|
22
59
|
integrations: {
|
|
23
60
|
text: {
|
|
24
61
|
info: string;
|
|
25
62
|
button: string;
|
|
26
63
|
};
|
|
27
64
|
};
|
|
65
|
+
widgets: {
|
|
66
|
+
credentialPicker: {
|
|
67
|
+
displayName: string;
|
|
68
|
+
removeButton: string;
|
|
69
|
+
secondaryInfo: string;
|
|
70
|
+
reconnectButton: string;
|
|
71
|
+
};
|
|
72
|
+
tagsInput: {
|
|
73
|
+
formatIcon: string;
|
|
74
|
+
triggerIcon: string;
|
|
75
|
+
wrapper: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
testRun: {
|
|
79
|
+
runButton: string;
|
|
80
|
+
errorMessageText: string;
|
|
81
|
+
status: {
|
|
82
|
+
statusText: string;
|
|
83
|
+
statusIconSuccess: string;
|
|
84
|
+
statusIconError: string;
|
|
85
|
+
responseInfo: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
testRunModal: {
|
|
89
|
+
wrapper: string;
|
|
90
|
+
runButton: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
controls: {
|
|
94
|
+
homeButton: string;
|
|
95
|
+
};
|
|
96
|
+
handles: {
|
|
97
|
+
buttons: {
|
|
98
|
+
runButton: string;
|
|
99
|
+
removeEdgeButton: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
forms: {
|
|
104
|
+
allSetAlert: string;
|
|
105
|
+
buttons: {
|
|
106
|
+
removeButton: string;
|
|
28
107
|
};
|
|
29
108
|
};
|
|
30
109
|
modals: {
|
|
31
|
-
|
|
110
|
+
add: {
|
|
32
111
|
wrapper: string;
|
|
33
|
-
|
|
34
|
-
|
|
112
|
+
search: string;
|
|
113
|
+
card: (key: string) => string;
|
|
114
|
+
categoryButton: (key: string) => string;
|
|
35
115
|
saveButton: string;
|
|
116
|
+
noMatchingText: (kind: string) => string;
|
|
36
117
|
};
|
|
37
|
-
|
|
118
|
+
delete: {
|
|
38
119
|
wrapper: string;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
120
|
+
deleteButton: string;
|
|
121
|
+
cancelButton: string;
|
|
122
|
+
};
|
|
123
|
+
execute: {
|
|
124
|
+
wrapper: string;
|
|
125
|
+
cancelButton: string;
|
|
126
|
+
runButton: string;
|
|
127
|
+
};
|
|
128
|
+
import: {
|
|
129
|
+
wrapper: string;
|
|
130
|
+
cancelButton: string;
|
|
131
|
+
confirmButton: string;
|
|
42
132
|
};
|
|
43
133
|
publish: {
|
|
44
134
|
wrapper: string;
|
|
@@ -50,6 +140,14 @@ declare const WORKFLOWS_TEST_SELECTORS: {
|
|
|
50
140
|
element: {
|
|
51
141
|
wrapper: string;
|
|
52
142
|
};
|
|
143
|
+
executions: {
|
|
144
|
+
noPublishedWorkflow: string;
|
|
145
|
+
noWorkflowRunsYet: string;
|
|
146
|
+
noMatchingExecution: string;
|
|
147
|
+
card: (id: string) => string;
|
|
148
|
+
executionDate: string;
|
|
149
|
+
status: string;
|
|
150
|
+
};
|
|
53
151
|
details: {
|
|
54
152
|
executions: {
|
|
55
153
|
list: {
|
|
@@ -57,9 +155,6 @@ declare const WORKFLOWS_TEST_SELECTORS: {
|
|
|
57
155
|
status: string;
|
|
58
156
|
};
|
|
59
157
|
};
|
|
60
|
-
panel: {
|
|
61
|
-
historyTab: string;
|
|
62
|
-
};
|
|
63
158
|
info: {
|
|
64
159
|
dateCreated: string;
|
|
65
160
|
dateUpdated: string;
|
|
@@ -71,13 +166,24 @@ declare const WORKFLOWS_TEST_SELECTORS: {
|
|
|
71
166
|
};
|
|
72
167
|
list: {
|
|
73
168
|
grid: {
|
|
169
|
+
filters: {
|
|
170
|
+
wrapper: string;
|
|
171
|
+
statusFilter: string;
|
|
172
|
+
clearFiltersButton: string;
|
|
173
|
+
};
|
|
74
174
|
table: {
|
|
75
175
|
wrapper: string;
|
|
76
176
|
body: string;
|
|
77
177
|
menuTrigger: string;
|
|
78
178
|
activateSwitch: string;
|
|
79
179
|
infoButton: string;
|
|
180
|
+
emptyInfo: string;
|
|
80
181
|
workflowItem: (id: string) => string;
|
|
182
|
+
withDraftTag: string;
|
|
183
|
+
draftTag: string;
|
|
184
|
+
clearFiltersButton: string;
|
|
185
|
+
productIconsRow: string;
|
|
186
|
+
productIconCount: string;
|
|
81
187
|
};
|
|
82
188
|
};
|
|
83
189
|
view: {
|
|
@@ -91,16 +197,40 @@ declare const WORKFLOWS_TEST_SELECTORS: {
|
|
|
91
197
|
previewTemplate: {
|
|
92
198
|
wrapper: string;
|
|
93
199
|
useButton: string;
|
|
200
|
+
productsUsed: string;
|
|
201
|
+
};
|
|
202
|
+
previewImport: {
|
|
203
|
+
wrapper: string;
|
|
204
|
+
useButton: string;
|
|
205
|
+
closeButton: string;
|
|
206
|
+
};
|
|
207
|
+
previewFallback: {
|
|
208
|
+
wrapper: string;
|
|
209
|
+
closeButton: string;
|
|
94
210
|
};
|
|
95
211
|
};
|
|
96
212
|
home: {
|
|
213
|
+
noTemplatesFoundInfo: string;
|
|
97
214
|
cards: {
|
|
98
215
|
template: {
|
|
99
216
|
wrapper: string;
|
|
100
217
|
};
|
|
218
|
+
scratch: {
|
|
219
|
+
cardHeader: string;
|
|
220
|
+
};
|
|
101
221
|
};
|
|
102
222
|
};
|
|
103
223
|
};
|
|
224
|
+
common: {
|
|
225
|
+
errorPage: {
|
|
226
|
+
backButton: string;
|
|
227
|
+
homeButton: string;
|
|
228
|
+
refreshButton: string;
|
|
229
|
+
};
|
|
230
|
+
tree: {
|
|
231
|
+
listElementExpanderButton: string;
|
|
232
|
+
};
|
|
233
|
+
};
|
|
104
234
|
};
|
|
105
235
|
};
|
|
106
236
|
};
|
package/dist/tests.js
CHANGED
|
@@ -28,11 +28,42 @@ module.exports = __toCommonJS(tests_exports);
|
|
|
28
28
|
var WORKFLOWS_TEST_SELECTORS = {
|
|
29
29
|
views: {
|
|
30
30
|
workflows: {
|
|
31
|
+
components: {
|
|
32
|
+
layout: {
|
|
33
|
+
sidebar: {
|
|
34
|
+
closeButton: "close-btn"
|
|
35
|
+
},
|
|
36
|
+
pagination: {
|
|
37
|
+
paginationArrowButton: {
|
|
38
|
+
nextButton: "next-btn",
|
|
39
|
+
previousButton: "previous-btn"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
picker: {
|
|
44
|
+
itemList: "virtuoso-item-list"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
31
47
|
creator: {
|
|
32
48
|
navbar: {
|
|
49
|
+
runsButton: "runs-btn",
|
|
50
|
+
readOnlyTag: "read-only-tag",
|
|
33
51
|
activateSwitch: "activate-switch",
|
|
34
52
|
publishButton: "publish-btn",
|
|
35
|
-
editButton: "edit-btn"
|
|
53
|
+
editButton: "edit-btn",
|
|
54
|
+
nameInput: "name-input",
|
|
55
|
+
editNameButton: "edit-name-btn",
|
|
56
|
+
draftTag: "draft-tag",
|
|
57
|
+
withDraftTag: "with-draft-tag",
|
|
58
|
+
backButton: "back-btn",
|
|
59
|
+
actionMenu: {
|
|
60
|
+
button: "action-menu-trigger-button",
|
|
61
|
+
detailsButton: "details-btn",
|
|
62
|
+
executionsButton: "executions-btn",
|
|
63
|
+
discardDraftButton: "discard-draft-btn",
|
|
64
|
+
editDraftButton: "edit-draft-btn",
|
|
65
|
+
runButton: "run"
|
|
66
|
+
}
|
|
36
67
|
},
|
|
37
68
|
builder: {
|
|
38
69
|
nodes: {
|
|
@@ -42,30 +73,89 @@ var WORKFLOWS_TEST_SELECTORS = {
|
|
|
42
73
|
},
|
|
43
74
|
trigger: {
|
|
44
75
|
button: "add-trigger-btn"
|
|
45
|
-
}
|
|
76
|
+
},
|
|
77
|
+
tooltipErrorTrigger: "tooltip-trigger"
|
|
46
78
|
}
|
|
47
79
|
},
|
|
48
80
|
forms: {
|
|
81
|
+
customFieldActions: {
|
|
82
|
+
addToTrigerButton: "add-to-trigger-btn",
|
|
83
|
+
connectTriggerButton: "connect-trigger-btn",
|
|
84
|
+
switchTriggerButton: "switch-trigger-btn"
|
|
85
|
+
},
|
|
49
86
|
integrations: {
|
|
50
87
|
text: {
|
|
51
88
|
info: "info-container",
|
|
52
89
|
button: "start-trial-btn"
|
|
53
90
|
}
|
|
91
|
+
},
|
|
92
|
+
widgets: {
|
|
93
|
+
credentialPicker: {
|
|
94
|
+
displayName: "credential-display-name",
|
|
95
|
+
removeButton: "remove-credential-btn",
|
|
96
|
+
secondaryInfo: "credential-secondary-info",
|
|
97
|
+
reconnectButton: "reconnect-btn"
|
|
98
|
+
},
|
|
99
|
+
tagsInput: {
|
|
100
|
+
formatIcon: "custom-tags-format-icon",
|
|
101
|
+
triggerIcon: "custom-tags-picker-trigger-icon",
|
|
102
|
+
wrapper: "custom-tags-picker"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
testRun: {
|
|
106
|
+
runButton: "test-run-button",
|
|
107
|
+
errorMessageText: "error-message-text",
|
|
108
|
+
status: {
|
|
109
|
+
statusText: "result-status",
|
|
110
|
+
statusIconSuccess: "result-status-icon-success",
|
|
111
|
+
statusIconError: "result-status-icon-error",
|
|
112
|
+
responseInfo: "result-response-info"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
testRunModal: {
|
|
116
|
+
wrapper: "test-run-modal",
|
|
117
|
+
runButton: "test-run-btn"
|
|
54
118
|
}
|
|
119
|
+
},
|
|
120
|
+
controls: {
|
|
121
|
+
homeButton: "home-btn"
|
|
122
|
+
},
|
|
123
|
+
handles: {
|
|
124
|
+
buttons: {
|
|
125
|
+
runButton: "run-btn",
|
|
126
|
+
removeEdgeButton: "remove-edge-btn"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
forms: {
|
|
131
|
+
allSetAlert: "form-all-set-alert",
|
|
132
|
+
buttons: {
|
|
133
|
+
removeButton: "custom-remove-btn"
|
|
55
134
|
}
|
|
56
135
|
},
|
|
57
136
|
modals: {
|
|
58
|
-
|
|
59
|
-
wrapper: "add-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
137
|
+
add: {
|
|
138
|
+
wrapper: "add-modal",
|
|
139
|
+
search: "search-input",
|
|
140
|
+
card: (key) => `card-option-${key}`,
|
|
141
|
+
categoryButton: (key) => `card-category-${key}`,
|
|
142
|
+
saveButton: "save-building-block-btn",
|
|
143
|
+
noMatchingText: (kind) => `no-matching-${kind}`
|
|
144
|
+
},
|
|
145
|
+
delete: {
|
|
146
|
+
wrapper: "delete-workflow-modal",
|
|
147
|
+
deleteButton: "delete-workflow-btn",
|
|
148
|
+
cancelButton: "cancel-delete-btn"
|
|
63
149
|
},
|
|
64
|
-
|
|
65
|
-
wrapper: "
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
150
|
+
execute: {
|
|
151
|
+
wrapper: "execute-workflow-modal",
|
|
152
|
+
cancelButton: "cancel-execute-btn",
|
|
153
|
+
runButton: "run-execute-btn"
|
|
154
|
+
},
|
|
155
|
+
import: {
|
|
156
|
+
wrapper: "import-workflow-modal",
|
|
157
|
+
cancelButton: "cancel-import-btn",
|
|
158
|
+
confirmButton: "run-import-btn"
|
|
69
159
|
},
|
|
70
160
|
publish: {
|
|
71
161
|
wrapper: "publish-workflow-modal",
|
|
@@ -77,6 +167,14 @@ var WORKFLOWS_TEST_SELECTORS = {
|
|
|
77
167
|
element: {
|
|
78
168
|
wrapper: "element-wrapper"
|
|
79
169
|
},
|
|
170
|
+
executions: {
|
|
171
|
+
noPublishedWorkflow: "no-published-workflow",
|
|
172
|
+
noWorkflowRunsYet: "no-workflow-runs-yet",
|
|
173
|
+
noMatchingExecution: "no-matching-execution",
|
|
174
|
+
card: (id) => `execution-${id}`,
|
|
175
|
+
executionDate: "execution-date",
|
|
176
|
+
status: "execution-status"
|
|
177
|
+
},
|
|
80
178
|
details: {
|
|
81
179
|
executions: {
|
|
82
180
|
list: {
|
|
@@ -84,9 +182,6 @@ var WORKFLOWS_TEST_SELECTORS = {
|
|
|
84
182
|
status: "execution-status"
|
|
85
183
|
}
|
|
86
184
|
},
|
|
87
|
-
panel: {
|
|
88
|
-
historyTab: "history-tab"
|
|
89
|
-
},
|
|
90
185
|
info: {
|
|
91
186
|
dateCreated: "date-created",
|
|
92
187
|
dateUpdated: "date-updated",
|
|
@@ -98,13 +193,24 @@ var WORKFLOWS_TEST_SELECTORS = {
|
|
|
98
193
|
},
|
|
99
194
|
list: {
|
|
100
195
|
grid: {
|
|
196
|
+
filters: {
|
|
197
|
+
wrapper: "filters-wrapper",
|
|
198
|
+
statusFilter: "status-filter",
|
|
199
|
+
clearFiltersButton: "clear-filters-btn"
|
|
200
|
+
},
|
|
101
201
|
table: {
|
|
102
202
|
wrapper: "workflows-table",
|
|
103
203
|
body: "workflows-table-body",
|
|
104
204
|
menuTrigger: "action-menu-trigger",
|
|
105
205
|
activateSwitch: "activate-switch",
|
|
106
206
|
infoButton: "info-btn",
|
|
107
|
-
|
|
207
|
+
emptyInfo: "empty-info",
|
|
208
|
+
workflowItem: (id) => `workflow-item-${id}`,
|
|
209
|
+
withDraftTag: "with-draft-tag",
|
|
210
|
+
draftTag: "draft-tag",
|
|
211
|
+
clearFiltersButton: "clear-filters-btn",
|
|
212
|
+
productIconsRow: "product-icons-row",
|
|
213
|
+
productIconCount: "product-icon-count"
|
|
108
214
|
}
|
|
109
215
|
},
|
|
110
216
|
view: {
|
|
@@ -117,16 +223,40 @@ var WORKFLOWS_TEST_SELECTORS = {
|
|
|
117
223
|
},
|
|
118
224
|
previewTemplate: {
|
|
119
225
|
wrapper: "template-preview-modal",
|
|
120
|
-
useButton: "use-template-btn"
|
|
226
|
+
useButton: "use-template-btn",
|
|
227
|
+
productsUsed: "products-used"
|
|
228
|
+
},
|
|
229
|
+
previewImport: {
|
|
230
|
+
wrapper: "import-preview-modal",
|
|
231
|
+
useButton: "use-import-btn",
|
|
232
|
+
closeButton: "close-import-btn"
|
|
233
|
+
},
|
|
234
|
+
previewFallback: {
|
|
235
|
+
wrapper: "import-preview-fallback-modal",
|
|
236
|
+
closeButton: "close-btn"
|
|
121
237
|
}
|
|
122
238
|
},
|
|
123
239
|
home: {
|
|
240
|
+
noTemplatesFoundInfo: "no-templates-found-info",
|
|
124
241
|
cards: {
|
|
125
242
|
template: {
|
|
126
243
|
wrapper: "template-card"
|
|
244
|
+
},
|
|
245
|
+
scratch: {
|
|
246
|
+
cardHeader: "card-header"
|
|
127
247
|
}
|
|
128
248
|
}
|
|
129
249
|
}
|
|
250
|
+
},
|
|
251
|
+
common: {
|
|
252
|
+
errorPage: {
|
|
253
|
+
backButton: "error-page-back-button",
|
|
254
|
+
homeButton: "error-page-home-button",
|
|
255
|
+
refreshButton: "error-page-refresh-button"
|
|
256
|
+
},
|
|
257
|
+
tree: {
|
|
258
|
+
listElementExpanderButton: "tree-list-element-expander-button"
|
|
259
|
+
}
|
|
130
260
|
}
|
|
131
261
|
}
|
|
132
262
|
}
|