From e9829f651470517291c00213d3141653f2c4ab55 Mon Sep 17 00:00:00 2001 From: Lokesh Dhakar Date: Sun, 14 Jul 2019 09:27:49 -0700 Subject: [PATCH] docs: Info on adding Cypress browser tests --- CONTRIBUTING.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cf38401..99e0812 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,6 +5,11 @@ Run Cypress integration tests in Chrome browser. - `npm run dev` to start local server. - `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 - Update version number in `src/color-thief.js` and `package.json`