update dmn modeling component versions (#857)
* update dmn-js and dmn-js-shared * update dmn-js-properties-panel * fixed broken cypress test w/ burnettk --------- Co-authored-by: burnettk <burnettk@users.noreply.github.com> Co-authored-by: jasquat <jasquat@users.noreply.github.com>
This commit is contained in:
parent
a676088401
commit
687b90bc94
|
@ -16,7 +16,15 @@ const updateDmnText = (oldText, newText, elementId = 'wonderful_process') => {
|
||||||
// this will break if there are more elements added to the drd
|
// this will break if there are more elements added to the drd
|
||||||
cy.get(`g[data-element-id=${elementId}]`).click();
|
cy.get(`g[data-element-id=${elementId}]`).click();
|
||||||
cy.get('.dmn-icon-decision-table').click();
|
cy.get('.dmn-icon-decision-table').click();
|
||||||
cy.contains(oldText).clear().type(`"${newText}"`);
|
|
||||||
|
// We used to use the line:
|
||||||
|
// cy.contains(oldText).clear().type(`"${newText}"`);
|
||||||
|
// but it broke when we upgraded dmn-js to v15 so after clearing it could not type in the cell.
|
||||||
|
// Clicking outside the cell seems to allow it to type it in it again so try that.
|
||||||
|
const item = cy.contains(oldText);
|
||||||
|
item.clear();
|
||||||
|
cy.contains('Process Model File:').click();
|
||||||
|
item.type(`"${newText}"`);
|
||||||
|
|
||||||
// wait for a little bit for the xml to get set before saving
|
// wait for a little bit for the xml to get set before saving
|
||||||
// FIXME: gray out save button or add spinner while xml is loading
|
// FIXME: gray out save button or add spinner while xml is loading
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -37,9 +37,9 @@
|
||||||
"craco": "^0.0.3",
|
"craco": "^0.0.3",
|
||||||
"date-fns": "^2.28.0",
|
"date-fns": "^2.28.0",
|
||||||
"diagram-js": "^11.9.1",
|
"diagram-js": "^11.9.1",
|
||||||
"dmn-js": "^12.2.0",
|
"dmn-js": "^15.0.0",
|
||||||
"dmn-js-properties-panel": "^1.1",
|
"dmn-js-properties-panel": "^3.0.0",
|
||||||
"dmn-js-shared": "^12.1.1",
|
"dmn-js-shared": "^15.0.0",
|
||||||
"jwt-decode": "^3.1.2",
|
"jwt-decode": "^3.1.2",
|
||||||
"keycloak-js": "^18.0.1",
|
"keycloak-js": "^18.0.1",
|
||||||
"lodash.merge": "^4.6.2",
|
"lodash.merge": "^4.6.2",
|
||||||
|
|
Loading…
Reference in New Issue