-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically model MIWG reference diagrams #23
Comments
I want to tackle this as I am doing this year's MIWG (re)submission anyway. |
I don't see a way to create event definitions with bpmn-js-cli, and this is necessary to fully automate BPMN MIWG export tests, if we want to use the CLI only. As an alternative, we could try out puppeteer recorder to prepare e2e tests. I will record my manual export tests so that we have code to play with. |
Integration of new commands is fairly straight forward: https://github.com/bpmn-io/bpmn-js-integration/blob/master/lib/snapshot/commands/snapshot.js. |
I assumed we use puppeteer for the integration tests, but in fact we depend on PhantomJS for that 🤡. |
I tried to record my actions with Chrome and it appears that it does not notice dragging operations which prevents me from recording shapes/labels movement as well as connection adjustment. I will not implement this issue, but still save already prepared puppeteer JSONs: https://gist.github.com/barmac/475981da91aadb212ca756713499e0b5 |
What should we do?
As part of the MIWG test submission you have to model a set of diagrams and export them ("export test").
Given our scripted modeling capabilities we could automate large parts of the diagram modeling.
Why should we do it?
Automating modeling allows us to execute the MIWG tests on a more frequent basis.
The text was updated successfully, but these errors were encountered: