@nocobase/plugin-workflow-test 1.6.10 → 1.7.0-alpha.10
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.
|
@@ -148,7 +148,9 @@ class ApprovalTriggerNode {
|
|
|
148
148
|
this.nodeConfigure = this.node.locator(">div").first();
|
|
149
149
|
this.collectionDropDown = page.getByLabel("block-item-DataSourceCollectionCascader-workflows-Collection").locator(".ant-select-selection-search-input");
|
|
150
150
|
this.dataBlocksInitiationRadio = page.getByRole("radio", { name: "Initiate in data blocks only" });
|
|
151
|
-
this.dataBlocksAndGlobalApprovalBlocksInitiationRadio = page.getByRole("radio", {
|
|
151
|
+
this.dataBlocksAndGlobalApprovalBlocksInitiationRadio = page.getByRole("radio", {
|
|
152
|
+
name: "Initiate in both data blocks"
|
|
153
|
+
});
|
|
152
154
|
this.allowedToBeWithdrawnCheckbox = page.getByLabel("Allowed to be withdrawn");
|
|
153
155
|
this.goToconfigureButton = page.getByRole("button", { name: "Go to configure" });
|
|
154
156
|
this.addBlockButton = page.getByLabel(`schema-initializer-Grid-ApprovalApplyAddBlockButton-${collectionName}`);
|
package/dist/e2e/e2eUtils.js
CHANGED
|
@@ -104,9 +104,12 @@ const apiGetWorkflow = async (id) => {
|
|
|
104
104
|
});
|
|
105
105
|
const state = await api.storageState();
|
|
106
106
|
const headers = getHeaders(state);
|
|
107
|
-
const result = await api.get(
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
const result = await api.get(
|
|
108
|
+
`/api/workflows:get?filterByTk=${id}&appends[]=stats.executed&appends[]=versionStats.executed`,
|
|
109
|
+
{
|
|
110
|
+
headers
|
|
111
|
+
}
|
|
112
|
+
);
|
|
110
113
|
if (!result.ok()) {
|
|
111
114
|
throw new Error(await result.text());
|
|
112
115
|
}
|
package/dist/externalVersion.js
CHANGED
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
-
"@nocobase/client": "1.
|
|
12
|
-
"@nocobase/utils": "1.
|
|
11
|
+
"@nocobase/client": "1.7.0-alpha.10",
|
|
12
|
+
"@nocobase/utils": "1.7.0-alpha.10",
|
|
13
13
|
"lodash": "4.17.21",
|
|
14
|
-
"@nocobase/test": "1.
|
|
15
|
-
"@nocobase/server": "1.
|
|
16
|
-
"@nocobase/data-source-manager": "1.
|
|
17
|
-
"@nocobase/database": "1.
|
|
14
|
+
"@nocobase/test": "1.7.0-alpha.10",
|
|
15
|
+
"@nocobase/server": "1.7.0-alpha.10",
|
|
16
|
+
"@nocobase/data-source-manager": "1.7.0-alpha.10",
|
|
17
|
+
"@nocobase/database": "1.7.0-alpha.10"
|
|
18
18
|
};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@nocobase/plugin-workflow-test",
|
|
3
3
|
"displayName": "Workflow: test kit",
|
|
4
4
|
"displayName.zh-CN": "工作流:测试工具包",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.7.0-alpha.10",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
7
7
|
"main": "dist/server/index.js",
|
|
8
8
|
"types": "./dist/server/index.d.ts",
|
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
"@nocobase/server": "1.x",
|
|
12
12
|
"@nocobase/test": "1.x"
|
|
13
13
|
},
|
|
14
|
-
"gitHead": "
|
|
14
|
+
"gitHead": "d2c8d0194316b2d1bf42af6f466cf4b29af84778"
|
|
15
15
|
}
|