Skip to content

Commit 4af30c2

Browse files
fix: Adding Subnetwork to a configuration without a Communication Element failed for the first time
When creating a `Communication` Element in Communication.ts, the created Element is also returned to use it as a parent for the wizard The `Should create a Communication Element` integration test is extended to also check that the Wizard is closed properly Signed-off-by: Pascal Wilbrink <[email protected]>
1 parent 617e72d commit 4af30c2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/integration/editors/communication/Communication.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ describe('Communication Plugin', () => {
8686
await fab.click();
8787
await new Promise(resolve => setTimeout(resolve, 100)); // await animation
8888
await parent.updateComplete;
89-
90-
expect(parent.wizardUI.dialogs.length).to.equal(1);
9189

9290
const dialog: Dialog = parent.wizardUI.dialog!;
9391
expect(dialog).to.not.be.undefined;

0 commit comments

Comments
 (0)