Note: If possible, execute the integration test on our released artifacts.
We use a number of pre-defined steps to ensure the stability of our releases through integration tests.
Target: Perform tests on nightly builds on supported platforms.
- fetch the release
- fetch latest version of A11y-checker plugin
- test changes of the release from the users' perspective end-2-end (e.g., include deployment where appropriate) (see release issue and changelog)
- click like crazy (see below)
Manual integration tests:
- create a new BPMN diagram
- build this diagram from scratch
- save file on disk as
test.bpmn
- save file with other file name on disk
- export as SVG
- export as PNG
- export as JPG
- SVG, PNG and JPG exports open in browser
- create a new diagram
-
CTRL + A
+CTRL + C
in previously created diagram - remove start event in empty diagram
-
CTRL + V
in empty diagram pastes all contents
- configure service task in properties panel
- add
async:before
- add execution listener
- add input mapping
- verify results in XML tab
Based on the test diagram:
- Add Form configuration (FormField + FormData) to "Inspect Invoice" UserTask
- Copy / Paste task; properties are kept
- Change task to ServiceTask; properties are gone from XML
- Undo last step
CTRL + Z
; properties are back - Redo last step
CTRL + Y
; Task changed to Service Task without form properties
- Add Properties, Input/Output Mapping,
asyncBefore
, Retry Time Cycle and implementation to "Check" ServiceTask- Copy / Paste task; properties are kept
- Change task to Send Task; properties are kept
- Change task to UserTask; implementation property is gone from XML (except Retry Time Cycle, Input/output Mapping and
asyncBefore
)
- I can select the latest (alpha?) version of a diagram
- For Camunda 7, BPMN, validation works
- For Camunda 8, BPMN, validation works
- In a Camunda 8 BPMN the problems panel indicates missing implementation details
- In a Camunda 7 BPMN diagram the problems panel indicates missing HTTL (
Process > History time to live
)
- create a new DMN diagram
- build this diagram from scratch
- morph
Go on Holidays
to a decision table - morph
Which Season
to a decision table - morph
Which Region
to a literal expression - click onto blue overlay on
Go on Holidays
jumps into table editing mode - changing name reflects in DRD
- save file on disk as
test.dmn
from table editing mode - save file on disk as
test2.dmn
from diagram mode - both import correctly after save
- export DRD as SVG
- export DRD as PNG
- export DRD as JPG
- SVG, PNG and JPG exports open in browser
- create a new Camunda Form
- build this form from scratch
- add a regular expression (
^CAM-[0-9]+$
) to the invoice number field - save file on disk as
test.form
- file imports correctly after save
- Set the Execution Platform Version to
Camunda 8.4
- An error is shown:
Expression
is not supported by Camunda Platform 8.4 - Clicking on the error focuses the respective element
- An error is shown:
- Set the Execution Platform Version to
Camunda 8.5
or higher- No errors are shown
- Create a simple
Start Event -> User Task -> End Event
process - Create a simple form with id
foo
- Reference the form in the user task via
Camunda Forms -> reference=foo
- Verify that deployment of BPMN + Form file works
- bindings register:
- external change detection works
- change file in external editor
- focus editor with file open
- message to reload displays
- double click in FS opens file in editor (existing instance ?)
-
.bpmn
-
.dmn
-
.form
-
- Open
broken.bpmn
and verify a proper error message is shown (No diagram to display)
- No new issues were reported during the tests
- The modal opened via "Accessibility violations" button is empty
- MacOS
- Downloading archive, extracting and starting application works
- Downloading DMG, installing and starting it works
- key bindings work (Mac = CMD, CMD+SHIFT+Z, Other = CTRL)
- restore workspace on reopen (diagrams, properties panel)
- drag and drop
- icons are present
- OS specific menus are being displayed
- menu bar (icons, correctly disabled + enabled)
- correct modeler version displayed in about menu
- flags work (e.g., start with
$ ./camunda-modeler --no-disable-cmmn
or provide flag inflags.json
file => CMMN diagrams can be created)- Note: On MacOS, you need to
$ cd Camunda\ Modeler.app/Contents/MacOS
first.
- Note: On MacOS, you need to