@tachybase/plugin-workflow-test 0.23.41 → 0.23.48
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.
|
@@ -41,13 +41,6 @@ __export(e2ePageObjectModel_exports, {
|
|
|
41
41
|
});
|
|
42
42
|
module.exports = __toCommonJS(e2ePageObjectModel_exports);
|
|
43
43
|
class CreateWorkFlow {
|
|
44
|
-
page;
|
|
45
|
-
name;
|
|
46
|
-
triggerType;
|
|
47
|
-
description;
|
|
48
|
-
autoDeleteHistory;
|
|
49
|
-
submitButton;
|
|
50
|
-
cancelButton;
|
|
51
44
|
constructor(page) {
|
|
52
45
|
this.page = page;
|
|
53
46
|
this.name = page.getByLabel("block-item-CollectionField-workflows-Name").getByRole("textbox");
|
|
@@ -59,14 +52,6 @@ class CreateWorkFlow {
|
|
|
59
52
|
}
|
|
60
53
|
}
|
|
61
54
|
class EditWorkFlow {
|
|
62
|
-
page;
|
|
63
|
-
name;
|
|
64
|
-
statusIsOn;
|
|
65
|
-
statusIisOff;
|
|
66
|
-
description;
|
|
67
|
-
autoDeleteHistory;
|
|
68
|
-
submitButton;
|
|
69
|
-
cancelButton;
|
|
70
55
|
constructor(page, workFlowName) {
|
|
71
56
|
this.page = page;
|
|
72
57
|
this.name = page.getByLabel("block-item-CollectionField-workflows-Name").getByRole("textbox");
|
|
@@ -79,10 +64,6 @@ class EditWorkFlow {
|
|
|
79
64
|
}
|
|
80
65
|
}
|
|
81
66
|
class WorkflowManagement {
|
|
82
|
-
page;
|
|
83
|
-
addNewButton;
|
|
84
|
-
deleteButton;
|
|
85
|
-
filterButton;
|
|
86
67
|
constructor(page) {
|
|
87
68
|
this.page = page;
|
|
88
69
|
this.addNewButton = page.getByLabel("action-Action-Add new-workflows");
|
|
@@ -91,12 +72,6 @@ class WorkflowManagement {
|
|
|
91
72
|
}
|
|
92
73
|
}
|
|
93
74
|
class WorkflowListRecords {
|
|
94
|
-
page;
|
|
95
|
-
executionCountPopup;
|
|
96
|
-
configureAction;
|
|
97
|
-
editAction;
|
|
98
|
-
duplicateAction;
|
|
99
|
-
deleteAction;
|
|
100
75
|
constructor(page, workFlowName) {
|
|
101
76
|
this.page = page;
|
|
102
77
|
this.executionCountPopup = page.getByLabel(`executed-${workFlowName}`);
|
|
@@ -107,23 +82,6 @@ class WorkflowListRecords {
|
|
|
107
82
|
}
|
|
108
83
|
}
|
|
109
84
|
class ApprovalTriggerNode {
|
|
110
|
-
page;
|
|
111
|
-
node;
|
|
112
|
-
nodeTitle;
|
|
113
|
-
nodeConfigure;
|
|
114
|
-
collectionDropDown;
|
|
115
|
-
dataBlocksInitiationRadio;
|
|
116
|
-
dataBlocksAndGlobalApprovalBlocksInitiationRadio;
|
|
117
|
-
allowedToBeWithdrawnCheckbox;
|
|
118
|
-
goToconfigureButton;
|
|
119
|
-
addBlockButton;
|
|
120
|
-
addApplyFormMenu;
|
|
121
|
-
configureFieldsButton;
|
|
122
|
-
configureActionsButton;
|
|
123
|
-
saveDraftSwitch;
|
|
124
|
-
submitButton;
|
|
125
|
-
cancelButton;
|
|
126
|
-
addNodeButton;
|
|
127
85
|
constructor(page, triggerName, collectionName) {
|
|
128
86
|
this.page = page;
|
|
129
87
|
this.node = page.getByText("TriggeraConfigure");
|
|
@@ -149,31 +107,6 @@ class ApprovalTriggerNode {
|
|
|
149
107
|
}
|
|
150
108
|
}
|
|
151
109
|
class ApprovalPassthroughModeNode {
|
|
152
|
-
page;
|
|
153
|
-
node;
|
|
154
|
-
nodeTitle;
|
|
155
|
-
nodeConfigure;
|
|
156
|
-
addAssigneesButton;
|
|
157
|
-
assigneesDropDown;
|
|
158
|
-
OrRadio;
|
|
159
|
-
AndRadio;
|
|
160
|
-
votingRadio;
|
|
161
|
-
parallellyRadio;
|
|
162
|
-
sequentiallyRadio;
|
|
163
|
-
goToconfigureButton;
|
|
164
|
-
addBlockButton;
|
|
165
|
-
addDetailsMenu;
|
|
166
|
-
detailsConfigureFieldsButton;
|
|
167
|
-
addActionsMenu;
|
|
168
|
-
actionsConfigureFieldsButton;
|
|
169
|
-
actionsConfigureActionsButton;
|
|
170
|
-
addApproveButton;
|
|
171
|
-
addRejectButton;
|
|
172
|
-
addReturnButton;
|
|
173
|
-
addNodeResult;
|
|
174
|
-
submitButton;
|
|
175
|
-
cancelButton;
|
|
176
|
-
addNodeButton;
|
|
177
110
|
constructor(page, nodeName, collectionName) {
|
|
178
111
|
this.page = page;
|
|
179
112
|
this.node = page.getByLabel(`Approval-${nodeName}`, { exact: true });
|
|
@@ -207,19 +140,6 @@ class ApprovalPassthroughModeNode {
|
|
|
207
140
|
}
|
|
208
141
|
}
|
|
209
142
|
class ScheduleTriggerNode {
|
|
210
|
-
page;
|
|
211
|
-
node;
|
|
212
|
-
nodeTitle;
|
|
213
|
-
nodeConfigure;
|
|
214
|
-
customTimeTriggerOptions;
|
|
215
|
-
startTimeEntryBox;
|
|
216
|
-
RrpeatModeDropdown;
|
|
217
|
-
dataTableTimeFieldOptions;
|
|
218
|
-
collectionDropDown;
|
|
219
|
-
startTimeDropdown;
|
|
220
|
-
submitButton;
|
|
221
|
-
cancelButton;
|
|
222
|
-
addNodeButton;
|
|
223
143
|
constructor(page, triggerName, collectionName) {
|
|
224
144
|
this.page = page;
|
|
225
145
|
this.node = page.getByText("TriggeraConfigure");
|
|
@@ -237,15 +157,6 @@ class ScheduleTriggerNode {
|
|
|
237
157
|
}
|
|
238
158
|
}
|
|
239
159
|
class CollectionTriggerNode {
|
|
240
|
-
page;
|
|
241
|
-
node;
|
|
242
|
-
nodeTitle;
|
|
243
|
-
nodeConfigure;
|
|
244
|
-
collectionDropDown;
|
|
245
|
-
triggerOnDropdown;
|
|
246
|
-
submitButton;
|
|
247
|
-
cancelButton;
|
|
248
|
-
addNodeButton;
|
|
249
160
|
constructor(page, triggerName, collectionName) {
|
|
250
161
|
this.page = page;
|
|
251
162
|
this.node = page.getByLabel(`Trigger-${triggerName}`);
|
|
@@ -259,15 +170,6 @@ class CollectionTriggerNode {
|
|
|
259
170
|
}
|
|
260
171
|
}
|
|
261
172
|
class FormEventTriggerNode {
|
|
262
|
-
page;
|
|
263
|
-
node;
|
|
264
|
-
nodeTitle;
|
|
265
|
-
nodeConfigure;
|
|
266
|
-
collectionDropDown;
|
|
267
|
-
relationalDataDropdown;
|
|
268
|
-
submitButton;
|
|
269
|
-
cancelButton;
|
|
270
|
-
addNodeButton;
|
|
271
173
|
constructor(page, triggerName, collectionName) {
|
|
272
174
|
this.page = page;
|
|
273
175
|
this.node = page.getByLabel(`Trigger-${triggerName}`);
|
|
@@ -281,16 +183,6 @@ class FormEventTriggerNode {
|
|
|
281
183
|
}
|
|
282
184
|
}
|
|
283
185
|
class ClculationNode {
|
|
284
|
-
page;
|
|
285
|
-
node;
|
|
286
|
-
nodeTitle;
|
|
287
|
-
nodeConfigure;
|
|
288
|
-
mathCalculationEngine;
|
|
289
|
-
formulaCalculationEngine;
|
|
290
|
-
calculationExpression;
|
|
291
|
-
submitButton;
|
|
292
|
-
cancelButton;
|
|
293
|
-
addNodeButton;
|
|
294
186
|
constructor(page, nodeName) {
|
|
295
187
|
this.page = page;
|
|
296
188
|
this.node = page.getByLabel(`Calculation-${nodeName}`, { exact: true });
|
|
@@ -305,20 +197,6 @@ class ClculationNode {
|
|
|
305
197
|
}
|
|
306
198
|
}
|
|
307
199
|
class QueryRecordNode {
|
|
308
|
-
page;
|
|
309
|
-
node;
|
|
310
|
-
nodeTitle;
|
|
311
|
-
nodeConfigure;
|
|
312
|
-
collectionDropDown;
|
|
313
|
-
allowMultipleDataBoxesForResults;
|
|
314
|
-
addSortFieldsButton;
|
|
315
|
-
pageNumberEditBox;
|
|
316
|
-
pageNumberVariableButton;
|
|
317
|
-
pageSizeEditBox;
|
|
318
|
-
exitProcessOptionsBoxWithEmptyResult;
|
|
319
|
-
submitButton;
|
|
320
|
-
cancelButton;
|
|
321
|
-
addNodeButton;
|
|
322
200
|
constructor(page, nodeName) {
|
|
323
201
|
this.page = page;
|
|
324
202
|
this.node = page.getByLabel(`Query record-${nodeName}`, { exact: true });
|
|
@@ -337,15 +215,6 @@ class QueryRecordNode {
|
|
|
337
215
|
}
|
|
338
216
|
}
|
|
339
217
|
class CreateRecordNode {
|
|
340
|
-
page;
|
|
341
|
-
node;
|
|
342
|
-
nodeTitle;
|
|
343
|
-
nodeConfigure;
|
|
344
|
-
collectionDropDown;
|
|
345
|
-
addFieldsButton;
|
|
346
|
-
submitButton;
|
|
347
|
-
cancelButton;
|
|
348
|
-
addNodeButton;
|
|
349
218
|
constructor(page, nodeName) {
|
|
350
219
|
this.page = page;
|
|
351
220
|
this.node = page.getByLabel(`Create record-${nodeName}`, { exact: true });
|
|
@@ -359,17 +228,6 @@ class CreateRecordNode {
|
|
|
359
228
|
}
|
|
360
229
|
}
|
|
361
230
|
class UpdateRecordNode {
|
|
362
|
-
page;
|
|
363
|
-
node;
|
|
364
|
-
nodeTitle;
|
|
365
|
-
nodeConfigure;
|
|
366
|
-
collectionDropDown;
|
|
367
|
-
batchUpdateModeRadio;
|
|
368
|
-
articleByArticleUpdateModeRadio;
|
|
369
|
-
addFieldsButton;
|
|
370
|
-
submitButton;
|
|
371
|
-
cancelButton;
|
|
372
|
-
addNodeButton;
|
|
373
231
|
constructor(page, nodeName) {
|
|
374
232
|
this.page = page;
|
|
375
233
|
this.node = page.getByLabel(`Update record-${nodeName}`, { exact: true });
|
|
@@ -385,14 +243,6 @@ class UpdateRecordNode {
|
|
|
385
243
|
}
|
|
386
244
|
}
|
|
387
245
|
class DeleteRecordNode {
|
|
388
|
-
page;
|
|
389
|
-
node;
|
|
390
|
-
nodeTitle;
|
|
391
|
-
nodeConfigure;
|
|
392
|
-
collectionDropDown;
|
|
393
|
-
submitButton;
|
|
394
|
-
cancelButton;
|
|
395
|
-
addNodeButton;
|
|
396
246
|
constructor(page, nodeName) {
|
|
397
247
|
this.page = page;
|
|
398
248
|
this.node = page.getByLabel(`Delete record-${nodeName}`, { exact: true });
|
|
@@ -405,23 +255,6 @@ class DeleteRecordNode {
|
|
|
405
255
|
}
|
|
406
256
|
}
|
|
407
257
|
class AggregateNode {
|
|
408
|
-
page;
|
|
409
|
-
node;
|
|
410
|
-
nodeTitle;
|
|
411
|
-
nodeConfigure;
|
|
412
|
-
countRadio;
|
|
413
|
-
sumRadio;
|
|
414
|
-
avgRadio;
|
|
415
|
-
maxRadio;
|
|
416
|
-
minRadio;
|
|
417
|
-
dataTableDataRadio;
|
|
418
|
-
linkedDataTableDataRadio;
|
|
419
|
-
collectionDropDown;
|
|
420
|
-
aggregatedFieldDropDown;
|
|
421
|
-
distinctCheckBox;
|
|
422
|
-
submitButton;
|
|
423
|
-
cancelButton;
|
|
424
|
-
addNodeButton;
|
|
425
258
|
constructor(page, nodeName) {
|
|
426
259
|
this.page = page;
|
|
427
260
|
this.node = page.getByLabel(`Aggregate-${nodeName}`, { exact: true });
|
|
@@ -443,21 +276,6 @@ class AggregateNode {
|
|
|
443
276
|
}
|
|
444
277
|
}
|
|
445
278
|
class ManualNode {
|
|
446
|
-
page;
|
|
447
|
-
node;
|
|
448
|
-
nodeTitle;
|
|
449
|
-
nodeConfigure;
|
|
450
|
-
assigneesDropDown;
|
|
451
|
-
configureUserInterfaceButton;
|
|
452
|
-
addBlockButton;
|
|
453
|
-
triggerDataMenu;
|
|
454
|
-
nodeDataMenu;
|
|
455
|
-
customFormMenu;
|
|
456
|
-
createRecordFormMenu;
|
|
457
|
-
updateRecordFormMenu;
|
|
458
|
-
submitButton;
|
|
459
|
-
cancelButton;
|
|
460
|
-
addNodeButton;
|
|
461
279
|
constructor(page, nodeName) {
|
|
462
280
|
this.page = page;
|
|
463
281
|
this.node = page.getByLabel(`Manual-${nodeName}`, { exact: true });
|
|
@@ -479,17 +297,6 @@ class ManualNode {
|
|
|
479
297
|
}
|
|
480
298
|
}
|
|
481
299
|
class ConditionYesNode {
|
|
482
|
-
page;
|
|
483
|
-
node;
|
|
484
|
-
nodeTitle;
|
|
485
|
-
nodeConfigure;
|
|
486
|
-
basicRadio;
|
|
487
|
-
mathRadio;
|
|
488
|
-
formulaRadio;
|
|
489
|
-
conditionExpressionEditBox;
|
|
490
|
-
submitButton;
|
|
491
|
-
cancelButton;
|
|
492
|
-
addNodeButton;
|
|
493
300
|
constructor(page, nodeName) {
|
|
494
301
|
this.page = page;
|
|
495
302
|
this.node = page.getByLabel(`Condition-${nodeName}`, { exact: true });
|
|
@@ -505,19 +312,6 @@ class ConditionYesNode {
|
|
|
505
312
|
}
|
|
506
313
|
}
|
|
507
314
|
class ConditionBranchNode {
|
|
508
|
-
page;
|
|
509
|
-
node;
|
|
510
|
-
nodeTitle;
|
|
511
|
-
nodeConfigure;
|
|
512
|
-
basicRadio;
|
|
513
|
-
mathRadio;
|
|
514
|
-
formulaRadio;
|
|
515
|
-
conditionExpressionEditBox;
|
|
516
|
-
submitButton;
|
|
517
|
-
cancelButton;
|
|
518
|
-
addNoBranchNode;
|
|
519
|
-
addYesBranchNode;
|
|
520
|
-
addNodeButton;
|
|
521
315
|
constructor(page, nodeName) {
|
|
522
316
|
this.page = page;
|
|
523
317
|
this.node = page.getByLabel(`Condition-${nodeName}`, { exact: true });
|
|
@@ -535,14 +329,6 @@ class ConditionBranchNode {
|
|
|
535
329
|
}
|
|
536
330
|
}
|
|
537
331
|
class SQLNode {
|
|
538
|
-
page;
|
|
539
|
-
node;
|
|
540
|
-
nodeTitle;
|
|
541
|
-
nodeConfigure;
|
|
542
|
-
sqlEditBox;
|
|
543
|
-
submitButton;
|
|
544
|
-
cancelButton;
|
|
545
|
-
addNodeButton;
|
|
546
332
|
constructor(page, nodeName) {
|
|
547
333
|
this.page = page;
|
|
548
334
|
this.node = page.getByLabel(`SQL action-${nodeName}`, { exact: true });
|
|
@@ -555,17 +341,6 @@ class SQLNode {
|
|
|
555
341
|
}
|
|
556
342
|
}
|
|
557
343
|
class ParallelBranchNode {
|
|
558
|
-
page;
|
|
559
|
-
node;
|
|
560
|
-
nodeTitle;
|
|
561
|
-
nodeConfigure;
|
|
562
|
-
addBranchButton;
|
|
563
|
-
allSucceededRadio;
|
|
564
|
-
anySucceededRadio;
|
|
565
|
-
anySucceededOrFailedRadio;
|
|
566
|
-
submitButton;
|
|
567
|
-
cancelButton;
|
|
568
|
-
addNodeButton;
|
|
569
344
|
constructor(page, nodeName) {
|
|
570
345
|
this.page = page;
|
|
571
346
|
this.node = page.getByLabel(`Parallel branch-${nodeName}`, { exact: true });
|
package/dist/externalVersion.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
"@tachybase/client": "0.23.
|
|
3
|
-
"@tachybase/utils": "0.23.
|
|
2
|
+
"@tachybase/client": "0.23.48",
|
|
3
|
+
"@tachybase/utils": "0.23.48",
|
|
4
4
|
"lodash": "4.17.21",
|
|
5
|
-
"@tachybase/test": "0.23.
|
|
6
|
-
"@tachybase/data-source": "0.23.
|
|
7
|
-
"@tachybase/resourcer": "0.23.
|
|
8
|
-
"@tachybase/server": "0.23.
|
|
9
|
-
"@tachybase/database": "0.23.
|
|
5
|
+
"@tachybase/test": "0.23.48",
|
|
6
|
+
"@tachybase/data-source": "0.23.48",
|
|
7
|
+
"@tachybase/resourcer": "0.23.48",
|
|
8
|
+
"@tachybase/server": "0.23.48",
|
|
9
|
+
"@tachybase/database": "0.23.48"
|
|
10
10
|
};
|
package/dist/server/triggers.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/plugin-workflow-test",
|
|
3
3
|
"displayName": "Workflow: test kit",
|
|
4
|
-
"version": "0.23.
|
|
4
|
+
"version": "0.23.48",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/server/index.js",
|
|
7
7
|
"types": "./dist/server/index.d.ts",
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
"lodash": "4.17.21"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@tachybase/
|
|
14
|
-
"@tachybase/
|
|
15
|
-
"@tachybase/
|
|
16
|
-
"@tachybase/resourcer": "0.23.
|
|
17
|
-
"@tachybase/
|
|
18
|
-
"@tachybase/
|
|
19
|
-
"@tachybase/
|
|
13
|
+
"@tachybase/client": "0.23.48",
|
|
14
|
+
"@tachybase/database": "0.23.48",
|
|
15
|
+
"@tachybase/data-source": "0.23.48",
|
|
16
|
+
"@tachybase/resourcer": "0.23.48",
|
|
17
|
+
"@tachybase/test": "0.23.48",
|
|
18
|
+
"@tachybase/utils": "0.23.48",
|
|
19
|
+
"@tachybase/server": "0.23.48"
|
|
20
20
|
},
|
|
21
21
|
"displayName.zh-CN": "工作流:测试工具包",
|
|
22
22
|
"scripts": {
|