@nocobase/plugin-workflow-test 1.7.0-beta.7 → 1.7.0-beta.9

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", { name: "Initiate in both data blocks" });
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}`);
@@ -8,11 +8,11 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "1.7.0-beta.7",
12
- "@nocobase/utils": "1.7.0-beta.7",
11
+ "@nocobase/client": "1.7.0-beta.9",
12
+ "@nocobase/utils": "1.7.0-beta.9",
13
13
  "lodash": "4.17.21",
14
- "@nocobase/test": "1.7.0-beta.7",
15
- "@nocobase/server": "1.7.0-beta.7",
16
- "@nocobase/data-source-manager": "1.7.0-beta.7",
17
- "@nocobase/database": "1.7.0-beta.7"
14
+ "@nocobase/test": "1.7.0-beta.9",
15
+ "@nocobase/server": "1.7.0-beta.9",
16
+ "@nocobase/data-source-manager": "1.7.0-beta.9",
17
+ "@nocobase/database": "1.7.0-beta.9"
18
18
  };
@@ -45,11 +45,11 @@ module.exports = __toCommonJS(server_exports);
45
45
  var import_path = __toESM(require("path"));
46
46
  var import_server = require("@nocobase/server");
47
47
  var import_test = require("@nocobase/test");
48
- var import_functions = __toESM(require("./functions"));
49
- var import_triggers = __toESM(require("./triggers"));
50
- var import_instructions = __toESM(require("./instructions"));
51
48
  var import_data_source_manager = require("@nocobase/data-source-manager");
52
49
  var import_utils = require("@nocobase/utils");
50
+ var import_functions = __toESM(require("./functions"));
51
+ var import_instructions = __toESM(require("./instructions"));
52
+ var import_triggers = __toESM(require("./triggers"));
53
53
  var import_test2 = require("@nocobase/test");
54
54
  class TestCollectionPlugin extends import_server.Plugin {
55
55
  async load() {
@@ -84,7 +84,7 @@ async function getApp({
84
84
  new import_data_source_manager.SequelizeDataSource({
85
85
  name: "another",
86
86
  collectionManager: {
87
- database: (0, import_test.mockDatabase)({
87
+ database: await (0, import_test.createMockDatabase)({
88
88
  tablePrefix: `t${(0, import_utils.uid)(5)}`
89
89
  })
90
90
  },
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.7.0-beta.7",
5
+ "version": "1.7.0-beta.9",
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": "cd4ee4a58c0dc80418a71b3bba3b56552b85526f"
14
+ "gitHead": "7013a5080f3695d7750ab21005c90d2172c16480"
15
15
  }