[INFRA] Rework the integration tests about CSS and style API interactions #2743
Labels
chore
Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)
Milestone
https://github.com/process-analytics/bpmn-visualization-js/pull/2732/files#r1225424168
We could/should create a dedicated file to store the tests about the interactions between the 2 APIs.
The checks about the CSS are currently done only by checking the DOM. As we override the mxGraph code to make mxGraph add the CSS classes, so we must keep DOM tests.
But we are updating the CSS classes directly in the mxGraph model, so we could add new tests to directly check the mxGraph model.
Note that this should be done before implementing #2803 if we're adding more tests to make sure we've looked at all the cases involved in the refactoring.
The text was updated successfully, but these errors were encountered: