docs: Info on adding Cypress browser tests

This commit is contained in:
Lokesh Dhakar
2019-07-14 09:27:49 -07:00
parent a271686ab9
commit e9829f6514

View File

@@ -5,6 +5,11 @@ Run Cypress integration tests in Chrome browser.
- `npm run dev` to start local server. - `npm run dev` to start local server.
- `npm run test` - `npm run test`
## Adding tests
- Update `cypress/test-pages/index.html` as needed or create a new test page if you need new examples.
- Add new tests in `cypress/integration/apis_spec.js`
## Making a new release ## Making a new release
- Update version number in `src/color-thief.js` and `package.json` - Update version number in `src/color-thief.js` and `package.json`