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
the [parallel tests](https://testng.org/doc/documentation-main.html#parallel-tests)
214
-
feature on TestNG. This is used by `selenium-grid.xml` test suite file which has the `parallel="tests"` attribute and value,
217
+
feature on TestNG. This is used by `selenium-grid.xml` test suite file which has the `parallel="tests"` attribute and
218
+
value,
215
219
whereas `test` item inside the test suite will execute in parallel.
216
220
The browser in use for each `test` should be defined by a parameter, like:
217
221
@@ -237,18 +241,21 @@ Please note that you need to do the following actions before running it in paral
237
241
238
242
* Docker installed
239
243
* Pull the images for Chrome Edge and Firefox - Optional
240
-
* Images are pulled if not available and initial test execution will be slow
241
-
*`docker pull selenium-standalog-chrome`
242
-
*`docker pull selenium-standalog-firefox`
243
-
*`docker pull selenium/standalone-edge`
244
-
* If you are using a MacBook with either M1 or M2 chip you must check the following experimental feature in Docker Desktop: Settings -> Features in development -> Use Rosetta for x86/amd64 emulation on Apple Silicon
244
+
* Images are pulled if not available and initial test execution will be slow
245
+
* `docker pull selenium-standalog-chrome`
246
+
* `docker pull selenium-standalog-firefox`
247
+
* `docker pull selenium/standalone-edge`
248
+
* If you are using a MacBook with either M1 or M2 chip you must check the following experimental feature in Docker
249
+
Desktop: Settings -> Features in development -> Use Rosetta for x86/amd64 emulation on Apple Silicon
245
250
* Pay attention to the `grid/config.toml` file that has comments for each specific SO
246
251
* Start the Grid by running the following command inside the `grid` folder
247
252
*`docker-compose up`
248
253
* Run the project using the following command
254
+
249
255
```shell
250
256
mvn test -Pweb-execution -Dsuite=selenium-grid -Dtarget=selenium-grid -Dheadless=true
251
257
```
258
+
252
259
* Open the [Selenium Grid] page to see the node status
253
260
254
261
### Configuration files
@@ -295,7 +302,7 @@ To execute this suite, via the command line you can call the parameter `-P` and
295
302
Eg: executing the multi_browser suite
296
303
297
304
```bash
298
-
mvn test -Pweb-execution -Dtestng.dtd.http=true
305
+
mvn test -Pweb-execution
299
306
```
300
307
301
308
If you have more than one suite on _src/test/resources/suites_ folder you can parameterize the xml file name.
0 commit comments