All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] toaster: add Selenium Docker container as browser test driver option
@ 2016-12-01  3:35 brian avery
  2016-12-01  3:35 ` [PATCH 1/1] toaster: browser tests - add Selenium Docker container as driver brian avery
  0 siblings, 1 reply; 3+ messages in thread
From: brian avery @ 2016-12-01  3:35 UTC (permalink / raw)
  To: bitbake-devel; +Cc: brian avery

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


^ permalink raw reply	[flat|nested] 3+ messages in thread
* [PATCH 0/1] toaster: add Selenium Docker container as browser test driver option
@ 2016-11-05 22:47 brian avery
  0 siblings, 0 replies; 3+ messages in thread
From: brian avery @ 2016-11-05 22:47 UTC (permalink / raw)
  To: toaster; +Cc: brian avery

Once again, some random upgrade on one of my build servers prevented me from running the selenium
browser tests. Ugh!

So, this patch will allow you to run the standard tests using the Selenium docker container as the
driver rather than relying on what seem to me to be pretty brittle drivers for firefox or chrome.

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

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 edb5b524b3ee807d55a437cbab3d768c5f6f2283:

  bitbake: lib/bb/cooker.py: fix for BBFILE_PATTERN = "" (2016-11-04 12:50:56 +0000)

are available in the git repository at:

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

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 |  7 +++++++
 2 files changed, 26 insertions(+), 2 deletions(-)

--
1.9.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-12-01  3:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-01  3:35 [PATCH 0/1] toaster: add Selenium Docker container as browser test driver option brian avery
2016-12-01  3:35 ` [PATCH 1/1] toaster: browser tests - add Selenium Docker container as driver brian avery
  -- strict thread matches above, loose matches on Subject: below --
2016-11-05 22:47 [PATCH 0/1] toaster: add Selenium Docker container as browser test driver option brian avery

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.