1.0.3 • Published 3 years ago

dms-ui-widgets v1.0.3

Weekly downloads
16
License
-
Repository
-
Last release
3 years ago

dms-ui


Testing

Testing is done with cypress & cucumber.

  • Run yarn cypress:run This will run cypress and exit with either 0 or 1

  • Run yarn cypress:open This will open the cypress gui, which is useful for writing tests

Recording videos and taking screenshots

When running yarn cypress:run, by default no video is recorded and no screenshot will be taken.

  • Recording videos can be enabled by supplying the CYPRESS_VIDEO=true env var.
  • Taking screenshots can be enabled by supplying the CYPRESS_SCREENSHOT=true env var.

Storybook stories for testing

Sometimes it's required to add stateful stories to test certain behavior. That's why you can add files with the following file name format: *.stories.testing.js These stories will not be used when generating the docs storybook and can contain more sophisticated scenarios for testing.

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

2.1.1

3 years ago