[Webkit-unassigned] [Bug 188118] [GTK] Many WebDriver tests are failing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 27 12:47:29 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=188118

--- Comment #3 from Michael Catanzaro <mcatanzaro at igalia.com> ---
_____________ test_should_fullscreen_the_current_window[WebKitGTK] _____________

driver = <selenium.webdriver.webkitgtk.webdriver.WebDriver (session="e15545c7-7d93-476c-a5c2-d1c8aaab5d35")>

    @pytest.mark.xfail_chrome(raises=WebDriverException,
                              reason='Fullscreen command not implemented')
    @pytest.mark.xfail_firefox(raises=WebDriverException,
                               reason='Fullscreen command not implemented')
    @pytest.mark.xfail_remote(raises=WebDriverException,
                              reason='Fullscreen command not implemented')
    @pytest.mark.xfail_safari(raises=WebDriverException,
                              reason='Fullscreen command not implemented')
    @pytest.mark.skipif(os.environ.get('CI') == 'true',
                        reason='Fullscreen command causes Travis to hang')
    def test_should_fullscreen_the_current_window(driver):
        start_width = driver.execute_script('return window.innerWidth;')
        start_height = driver.execute_script('return window.innerHeight;')

        driver.fullscreen_window()

>       WebDriverWait(driver, 2).until(lambda d: driver.execute_script('return window.innerWidth;') >
                                       start_width)

driver     = <selenium.webdriver.webkitgtk.webdriver.WebDriver (session="e15545c7-7d93-476c-a5c2-d1c8aaab5d35")>
start_height = 716
start_width = 1014

WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/window_tests.py:140: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <selenium.webdriver.support.wait.WebDriverWait (session="e15545c7-7d93-476c-a5c2-d1c8aaab5d35")>
method = <function <lambda> at 0x7f6062df12a8>, message = ''

    def until(self, method, message=''):
        """Calls the method provided with the driver as an argument until the \
            return value is not False."""
        screen = None
        stacktrace = None

        end_time = time.time() + self._timeout
        while True:
            try:
                value = method(self._driver)
                if value:
                    return value
            except self._ignored_exceptions as exc:
                screen = getattr(exc, 'screen', None)
                stacktrace = getattr(exc, 'stacktrace', None)
            time.sleep(self._poll)
            if time.time() > end_time:
                break
>       raise TimeoutException(message, screen, stacktrace)
E       TimeoutException: Message:

end_time   = 1532716091.136181
message    = ''
method     = <function <lambda> at 0x7f6062df12a8>
screen     = None
self       = <selenium.webdriver.support.wait.WebDriverWait (session="e15545c7-7d93-476c-a5c2-d1c8aaab5d35")>
stacktrace = None
value      = False

WebDriverTests/imported/selenium/py/selenium/webdriver/support/wait.py:80: TimeoutException

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180727/0c199818/attachment.html>


More information about the webkit-unassigned mailing list