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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 27 12:41:42 PDT 2018


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

Michael Catanzaro <mcatanzaro at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mcatanzaro at igalia.com

--- Comment #1 from Michael Catanzaro <mcatanzaro at igalia.com> ---
______________ testShouldHandleAlertOnPageBeforeUnload[WebKitGTK] ______________

driver = <selenium.webdriver.webkitgtk.webdriver.WebDriver (session="768f3a45-1b30-4b4e-9b6e-ea1ad8c3c301")>
pages = <conftest.Pages object at 0x7f6061968a10>

    def testShouldHandleAlertOnPageBeforeUnload(driver, pages):
        pages.load("pageWithOnBeforeUnloadMessage.html")

        element = driver.find_element(By.ID, "navigate")
        element.click()

>       alert = _waitForAlert(driver)

driver     = <selenium.webdriver.webkitgtk.webdriver.WebDriver (session="768f3a45-1b30-4b4e-9b6e-ea1ad8c3c301")>
element    = <selenium.webdriver.remote.webelement.WebElement (session="768f3a45-1b30-4b4e-9b6e-ea1ad8c3c301", element="node-A7AFE675-0BF1-4957-8B3B-BFB8ACE80CE1")>
pages      = <conftest.Pages object at 0x7f6061968a10>

WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/alerts_tests.py:249: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/alerts_tests.py:318: in _waitForAlert
    return WebDriverWait(driver, 3).until(EC.alert_is_present())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <selenium.webdriver.support.wait.WebDriverWait (session="768f3a45-1b30-4b4e-9b6e-ea1ad8c3c301")>
method = <selenium.webdriver.support.expected_conditions.alert_is_present object at 0x7f6061968210>
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   = 1532715605.473464
message    = ''
method     = <selenium.webdriver.support.expected_conditions.alert_is_present object at 0x7f6061968210>
screen     = None
self       = <selenium.webdriver.support.wait.WebDriverWait (session="768f3a45-1b30-4b4e-9b6e-ea1ad8c3c301")>
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/2378f587/attachment.html>


More information about the webkit-unassigned mailing list