-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TEST] improve 'events' visual tests (#543)
Use a BPMN diagram that contains the whole events of the BPMN palette. So, we now test all elements that the lib is currently supported, and we are prepared to test remaining events to support in the future. As the BPMN diagram is too large for the load method using the url query param in the 'visual testing' page, add a new loading method: - allow the test page to load a BPMN diagram using a query param providing the url to the file to load (via the Fetch API) - copy the file from the test fixtures folder to a folder that is served by the test server - pass the relative path to the newly copied file as url parameter to make the page load this file - update the 'visual testing' page to display the BPMN file fetching errors In addition, refactor and share functions used to load the BPMN content in e2e tests.
- Loading branch information
Showing
11 changed files
with
705 additions
and
52 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-7.22 KB
(83%)
...image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-events-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.