Skip to content

Commit

Permalink
deps: update to diagram-js@14.7.2
Browse files Browse the repository at this point in the history
fix: remove incorrect attribute in replace menu

Related to camunda/camunda-modeler#4383
  • Loading branch information
barmac authored and nikku committed Jun 26, 2024
1 parent b11dee0 commit ab37581
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 8 deletions.
15 changes: 8 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
},
"dependencies": {
"bpmn-moddle": "^8.1.0",
"diagram-js": "^14.7.1",
"diagram-js": "^14.7.2",
"diagram-js-direct-editing": "^3.0.1",
"ids": "^1.0.5",
"inherits-browser": "^0.1.0",
Expand Down
22 changes: 22 additions & 0 deletions test/spec/features/popup-menu/ReplaceMenuProviderSpec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { expectToBeAccessible } from '@bpmn-io/a11y';

import {
bootstrapModeler,
getBpmnJS,
Expand Down Expand Up @@ -1842,6 +1844,26 @@ describe('features/popup-menu - replace menu provider', function() {
});


describe('a11y', function() {

beforeEach(bootstrapModeler(diagramXMLReplace, { modules: testModules }));


it('should report no violations', inject(async function(elementRegistry) {

// given
const startEvent = elementRegistry.get('StartEvent_1');

// when
openPopup(startEvent);

// then
const container = getMenuContainer();
await expectToBeAccessible(container);
}));
});


describe('integration', function() {


Expand Down

0 comments on commit ab37581

Please sign in to comment.