generic-poky/bitbake/lib/toaster/tests
Elliot Smith ef72321fe4 bitbake: toaster-tests: maximize browser window when running UI tests
In some pages of the UI, the UI tests failed because parts of
the UI which should be visible were being reported as not
visible by the Selenium PhantomJS driver.

On investigation, it turns out that PhantomJS uses a very narrow
default window. This meant that some parts of the UI were being
clipped and were thus not "visible" to the driver, causing test
failures (specifically, on the new custom image page).

Ensure that the window is maximized before running tests to
prevent this happening.

(Bitbake rev: 3f61bef9359926211be7a3177a2071963726ead5)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15 08:35:04 +01:00
..
browser bitbake: toaster-tests: maximize browser window when running UI tests 2016-06-15 08:35:04 +01:00
builds bitbake: toaster: tests Add a BuildTest helper class 2016-06-15 08:35:03 +01:00
__init__.py bitbake: toaster: tests Migrate to Selenium for UI tests 2016-04-01 07:14:58 +01:00
toaster-tests-requirements.txt bitbake: toaster: tests Migrate to Selenium for UI tests 2016-04-01 07:14:58 +01:00