Skip to content

toaster: add Selenium Docker container as browser test driver option

brian avery bitbake-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1toaster: browser tests - add Selenium Docker container as driverlib/toaster/tests/browser/README lib/toaster/tests/browser/selenium_helpers_base.py+30 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] toaster: add Selenium Docker container as browser test driver option

So, this patch will allow you to run the standard tests using the Selenium docker container as the driver rather than relying on host side drivers for firefox.

This is V2. It no longer overloads the TOASTER_TESTS_BROWSER with an address and now pulls the liveserver address from the instance.

The README in lib/toaster/tests/browser has some instructions and more are located on the wiki at https://wiki.yoctoproject.org/wiki/TipsAndTricks/TestingToasterWithContainers.

This patch assumes the firefox container. Later, if we want to, we can add an additional env variable to override firefox or chrome containers. Initially, I just wanted to get this approach working so that we could use it.

-Brian
an intel employee

                                                                                                                                                                                                         The following changes since commit 9e63f81c78e284c9b325fe04a1b59e61c7ad8a1a:

bitbake: ast: remove BBVERSIONS support (2016-11-30 15:48:10 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib bavery/toaster/remoteContainerTestV2
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=bavery/toaster/remoteContainerTestV2

brian avery (1):
toaster: browser tests - add Selenium Docker container as driver

 lib/toaster/tests/browser/README                   | 21 +++++++++++++++++++--
 lib/toaster/tests/browser/selenium_helpers_base.py | 13 +++++++++++--
 2 files changed, 30 insertions(+), 4 deletions(-)

--
1.9.1