@nocobase/flow-engine 2.1.0-beta.30 → 2.1.0-beta.32

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/flow-engine",
3
- "version": "2.1.0-beta.30",
3
+ "version": "2.1.0-beta.32",
4
4
  "private": false,
5
5
  "description": "A standalone flow engine for NocoBase, managing workflows, models, and actions.",
6
6
  "main": "lib/index.js",
@@ -8,8 +8,8 @@
8
8
  "dependencies": {
9
9
  "@formily/antd-v5": "1.x",
10
10
  "@formily/reactive": "2.x",
11
- "@nocobase/sdk": "2.1.0-beta.30",
12
- "@nocobase/shared": "2.1.0-beta.30",
11
+ "@nocobase/sdk": "2.1.0-beta.32",
12
+ "@nocobase/shared": "2.1.0-beta.32",
13
13
  "ahooks": "^3.7.2",
14
14
  "axios": "^1.7.0",
15
15
  "dayjs": "^1.11.9",
@@ -37,5 +37,5 @@
37
37
  ],
38
38
  "author": "NocoBase Team",
39
39
  "license": "Apache-2.0",
40
- "gitHead": "1a493069cd0d8a4f403668bfe592879678c894b2"
40
+ "gitHead": "659c5efe992da7118d33c768bbd9e837a2c4716f"
41
41
  }
@@ -1202,6 +1202,7 @@ describe('AddSubModelButton toggleable behavior', () => {
1202
1202
  },
1203
1203
  { timeout: 3000 },
1204
1204
  );
1205
+ await waitFor(() => expect(screen.getByRole('switch')).toHaveAttribute('aria-checked', 'true'));
1205
1206
 
1206
1207
  // dropdown should remain open and children should still be visible (no flicker / reload)
1207
1208
  expect(screen.getByText('Async Group')).toBeInTheDocument();
@@ -1218,6 +1219,7 @@ describe('AddSubModelButton toggleable behavior', () => {
1218
1219
 
1219
1220
  // ensure destroy has been called (avoid flakiness on exact call counts)
1220
1221
  await waitFor(() => {
1222
+ expect(screen.getByRole('switch')).toHaveAttribute('aria-checked', 'false');
1221
1223
  expect(repo.destroy).toHaveBeenCalled();
1222
1224
  });
1223
1225
  });