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: docs/contributing/core/index.md
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -248,9 +248,17 @@ It takes 5-10 minutes to run the full unit test suite.
248
248
If you run acceptance tests with the `--all` option, it will run tests in a real browser.
249
249
This takes 30-40 minutes to run.
250
250
This may repeatedly launch and close browser windows that gain focus, disrupting you from doing any other work.
251
-
If this happens, you can install the `chromedriver` OS package.
252
-
See https://developer.chrome.com/docs/chromedriver.
253
-
Then run `export ROBOT_BROWSER="headlesschrome"` and again run `bin/test --all`.
251
+
If this happens, you can use `headlesschrome` as testbrowser by setting an environment variable `export ROBOT_BROWSER="headlesschrome"` and again run `bin/test --all`.
252
+
253
+
Since we use [Playwright](https://playwright.dev/) for our robottests you have to install it first.
254
+
`plone.app.robotframework` provides a script for that:
255
+
256
+
```shell
257
+
# Install playwright browsers
258
+
./bin/rfbrowser init
259
+
```
260
+
261
+
After the browser resources are downloaded and initalized you can run the tests.
0 commit comments