diff options
Diffstat (limited to 'bitbake')
| -rw-r--r-- | bitbake/lib/toaster/tests/browser/README | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/tests/browser/README b/bitbake/lib/toaster/tests/browser/README index f57154eda9..969f06cfc2 100644 --- a/bitbake/lib/toaster/tests/browser/README +++ b/bitbake/lib/toaster/tests/browser/README | |||
| @@ -24,15 +24,30 @@ To run tests against PhantomJS (headless): | |||
| 24 | * On *nix systems, put phantomjs on PATH | 24 | * On *nix systems, put phantomjs on PATH |
| 25 | * Not tested on Windows | 25 | * Not tested on Windows |
| 26 | 26 | ||
| 27 | Firefox should work without requiring additional software to be installed. | 27 | To run tests against Firefox, you may need to install the Marionette driver, |
| 28 | depending on how new your version of Firefox is. One clue that you need to do | ||
| 29 | this is if you see an exception like: | ||
| 28 | 30 | ||
| 29 | The test case will instantiate a Selenium driver set by the | 31 | selenium.common.exceptions.WebDriverException: Message: The browser |
| 32 | appears to have exited before we could connect. If you specified | ||
| 33 | a log_file in the FirefoxBinary constructor, check it for details. | ||
| 34 | |||
| 35 | See https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/WebDriver | ||
| 36 | for installation instructions. Ensure that the Marionette executable (renamed | ||
| 37 | as wires on Linux or wires.exe on Windows) is on your PATH; and use "marionette" | ||
| 38 | as the browser string passed via TOASTER_TESTS_BROWSER (see below). | ||
| 39 | |||
| 40 | (Note: The Toaster tests have been checked against Firefox 47 with the | ||
| 41 | Marionette driver.) | ||
| 42 | |||
| 43 | The test cases will instantiate a Selenium driver set by the | ||
| 30 | TOASTER_TESTS_BROWSER environment variable, or Chrome if this is not specified. | 44 | TOASTER_TESTS_BROWSER environment variable, or Chrome if this is not specified. |
| 31 | 45 | ||
| 32 | Available drivers: | 46 | Available drivers: |
| 33 | 47 | ||
| 34 | * chrome (default) | 48 | * chrome (default) |
| 35 | * firefox | 49 | * firefox |
| 50 | * marionette (for newer Firefoxes) | ||
| 36 | * ie | 51 | * ie |
| 37 | * phantomjs | 52 | * phantomjs |
| 38 | 53 | ||
