summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster')
-rw-r--r--bitbake/lib/toaster/tests/browser/README19
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
27Firefox should work without requiring additional software to be installed. 27To run tests against Firefox, you may need to install the Marionette driver,
28depending on how new your version of Firefox is. One clue that you need to do
29this is if you see an exception like:
28 30
29The 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
35See https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/WebDriver
36for installation instructions. Ensure that the Marionette executable (renamed
37as wires on Linux or wires.exe on Windows) is on your PATH; and use "marionette"
38as the browser string passed via TOASTER_TESTS_BROWSER (see below).
39
40(Note: The Toaster tests have been checked against Firefox 47 with the
41Marionette driver.)
42
43The test cases will instantiate a Selenium driver set by the
30TOASTER_TESTS_BROWSER environment variable, or Chrome if this is not specified. 44TOASTER_TESTS_BROWSER environment variable, or Chrome if this is not specified.
31 45
32Available drivers: 46Available 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