diff --git a/README.md b/README.md index 21a67235a..f14691313 100644 --- a/README.md +++ b/README.md @@ -61,13 +61,16 @@ You can run the linter by itself with `yarn lint`, and you can automatically fix ### Running E2E Tests -Our e2e test suite can be run on either Firefox or Chrome. In either case, start by creating a test build by running `yarn build:test`. +Our e2e test suite can be run on either Firefox or Chrome. -- Firefox e2e tests can be run with `yarn test:e2e:firefox`. +1. **required** `yarn build:test` to create a test build. +2. run tests, targetting the browser: + * Firefox e2e tests can be run with `yarn test:e2e:firefox`. + * Chrome e2e tests can be run with `yarn test:e2e:chrome`. The `chromedriver` package major version must match the major version of your local Chrome installation. If they don't match, update whichever is behind before running Chrome e2e tests. -- Chrome e2e tests can be run with `yarn test:e2e:chrome`. The `chromedriver` package major version must match the major version of your local Chrome installation. If they don't match, update whichever is behind before running Chrome e2e tests. +#### Running a single e2e test -- Single e2e tests can be run with `yarn test:e2e:single test/e2e/tests/TEST_NAME.spec.js` along with the options below. +Single e2e tests can be run with `yarn test:e2e:single test/e2e/tests/TEST_NAME.spec.js` along with the options below. ```console --browser Set the browser used; either 'chrome' or 'firefox'.