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:
Kevin Burnett 2024-01-09 11:00:53 -08:00 committed by GitHub
parent a676088401
commit 687b90bc94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 853 additions and 887 deletions

View File

@ -16,7 +16,15 @@ const updateDmnText = (oldText, newText, elementId = 'wonderful_process') => {
// this will break if there are more elements added to the drd
cy.get(`g[data-element-id=${elementId}]`).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
// FIXME: gray out save button or add spinner while xml is loading

File diff suppressed because it is too large Load Diff

View File

@ -37,9 +37,9 @@
"craco": "^0.0.3",
"date-fns": "^2.28.0",
"diagram-js": "^11.9.1",
"dmn-js": "^12.2.0",
"dmn-js-properties-panel": "^1.1",
"dmn-js-shared": "^12.1.1",
"dmn-js": "^15.0.0",
"dmn-js-properties-panel": "^3.0.0",
"dmn-js-shared": "^15.0.0",
"jwt-decode": "^3.1.2",
"keycloak-js": "^18.0.1",
"lodash.merge": "^4.6.2",