Skip to content

Commit c1d2086

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 4af30c2 commit c1d2086

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ describe('Communication Plugin', () => {
9898
await saveButton.click();
9999
await new Promise(resolve => setTimeout(resolve, 100)); // await animation
100100

101-
expect(parent.wizardUI.dialog).not.to.exist;
102101
expect(element.doc.querySelector('Communication')).not.is.null;
103102
expect(element.doc.querySelector('Communication > SubNetwork[name="Test"]')).to.exist;
104103
});

0 commit comments

Comments
 (0)