You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,23 +109,24 @@ For Jest debugging guide using Node.js, see [docs/tests/jest.md](docs/tests/jest
109
109
110
110
### Running E2E Tests
111
111
112
-
Our e2e test suite ensures the MetaMask extension functions correctly across both Firefox and Chrome browsers. Here's how to get started with e2e testing:
112
+
Our e2e test suite can be run on either Firefox or Chrome. Here's how to get started with e2e testing:
113
113
114
114
#### Preparing a Test Build
115
115
116
116
Before running e2e tests, you'll need a test build. You have two options:
117
117
118
118
1. Use `yarn download-builds:test` to quickly download and unzip test builds for Chrome and Firefox into the `./dist/` folder.
119
-
2. Create a Custom Test Build: For testing against different build types, use `yarn build:test`. This command allows you to generate test builds for various types, including:
120
-
-`build:test` for main build
121
-
-`build:test:flask` for flask build
122
-
-`build:test:mmi` for mmi build
123
-
-`build:test:mv3` for mv3 build
119
+
2. Create a custom test build: for testing against different build types, use `yarn build:test`. This command allows you to generate test builds for various types, including:
120
+
-`yarn build:test` for main build
121
+
-`yarn build:test:flask` for flask build
122
+
-`yarn build:test:mmi` for mmi build
123
+
-`yarn build:test:mv3` for mv3 build
124
124
125
125
#### Running Tests
126
126
Once you have your test build ready, choose the browser for your e2e tests:
127
127
- For Firefox, run `yarn test:e2e:firefox`.
128
128
- For Chrome, run `yarn test:e2e:chrome`.
129
+
129
130
These scripts support additional options for debugging. Use `--help`to see all available options.
0 commit comments