@iot-app-kit/react-components
v12.1.0
Published
**UI Tests**
Downloads
11,033
Keywords
Readme
UI Tests
Pre-requisites: You need to have Docker installed locally to run UI Tests, we rely on it to provide the necessary browsers to generate consistent screenshots.
Commands:
# Run all tests once
npm run test:ui
# Check for flaky tests
npm run test:ui:reliability
# Update snapshots
npm run test:ui:update
If you want to run the tests locally for whatever reason, as opposed to the docker image, you can run
the same commands with the --production
flag, which will run them without docker:
# Run all tests once
npm run test:ui --production
# Check for flaky tests
npm run test:ui:reliability --production