@iot-app-kit/react-components
TypeScript icon, indicating that this package has built-in type declarations

10.2.0 • Public • Published

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

Dependencies (38)

Dev Dependencies (50)

Package Sidebar

Install

npm i @iot-app-kit/react-components

Weekly Downloads

340

Version

10.2.0

License

Apache-2.0

Unpacked Size

2.16 MB

Total Files

2125

Last publish

Collaborators

  • tracfren
  • mitchlee-amzn
  • luxcortex
  • some-npm-user
  • jmbuss
  • gcharles
  • amzn-oss
  • chejimmy