Skip to content

Commit ca202b5

Browse files
barmacBuckwich
authored andcommitted
test: verify feel popup is rendered in container
1 parent 1a70a65 commit ca202b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/spec/BpmnPropertiesPanelRenderer.spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ describe('<BpmnPropertiesPanelRenderer>', function() {
7474

7575
afterEach(function() { return cleanup(); });
7676

77+
/** @type {HTMLElement} */
7778
let container;
7879

7980
beforeEach(function() {
@@ -1064,7 +1065,7 @@ describe('<BpmnPropertiesPanelRenderer>', function() {
10641065

10651066
// then
10661067
expect(feelPopup).to.exist;
1067-
expect(feelPopup.parentNode).to.eql(container);
1068+
expect(container.contains(feelPopup), 'popup should be rendered in configured container').to.be.true;
10681069
});
10691070

10701071

0 commit comments

Comments
 (0)