mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
Change readme for running e2e (#16386)
This commit is contained in:
parent
17c1fef9be
commit
ef1c6fc959
11
README.md
11
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'.
|
||||
|
Loading…
Reference in New Issue
Block a user