mermaid/e2e
Knut Sveidqvist 5667694652 info diagram to show version of mermaid, bugfixes for gantt chart 2019-06-15 14:29:26 +02:00
..
helpers Added e2e tests and snapshot files 2019-06-01 19:21:15 +02:00
platform Added test of usage via webpack to the e2e tests 2019-06-09 06:49:40 -07:00
spec info diagram to show version of mermaid, bugfixes for gantt chart 2019-06-15 14:29:26 +02:00
README.md Added e2e tests and snapshot files 2019-06-01 19:21:15 +02:00
jest.config.js Adding image snapshots for graphs 2019-05-31 14:20:43 +02:00

README.md

End to end tests

These tests are end to end tests in the sense that they actually render a full diagram in the browser. The purpose of these tests is to simplify handling of merge requests and releases by highlighting possible unexpected side-effects.

Apart from beeing rendered in a browser the tests perform image snapshots of the diagrams. The tests is handled in the same way as regular jest snapshots tests with the difference that an image comparison is performed instead of a comparison of the generated code.

To run the tests

  1. Start the dev server by running yarn dev
  2. Run yarn e2e to run the tests