[Webkit-unassigned] [Bug 174672] New: WebDriver: implement page load timeout
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 20 04:48:53 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=174672
Bug ID: 174672
Summary: WebDriver: implement page load timeout
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: cgarcia at igalia.com
CC: bburg at apple.com, joepeck at webkit.org
Depends on: 174670
Blocks: 166679
https://www.w3.org/TR/webdriver/#dfn-session-page-load-timeout
selenium/webdriver/common/page_load_timeout_tests.py FF
================================================================================== short test summary info ===================================================================================
FAIL selenium/webdriver/common/page_load_timeout_tests.py::testShouldTimeoutOnPageLoadTakingTooLong[WebKitGTK]
FAIL selenium/webdriver/common/page_load_timeout_tests.py::testClickShouldTimeout[WebKitGTK]
========================================================================================== FAILURES ==========================================================================================
____________________________________________________________________ testShouldTimeoutOnPageLoadTakingTooLong[WebKitGTK] _____________________________________________________________________
driver = <selenium.webdriver.webkitgtk.webdriver.WebDriver (session="6f75f398-cd74-4b81-9f3b-0a72079c3323")>, pages = <conftest.Pages object at 0x7f65ac738190>
@pytest.mark.xfail_marionette(
reason='https://bugzilla.mozilla.org/show_bug.cgi?id=1309231')
@pytest.mark.xfail_phantomjs(
reason='PhantomJS does not implement page load timeouts')
def testShouldTimeoutOnPageLoadTakingTooLong(driver, pages):
driver.set_page_load_timeout(0.01)
with pytest.raises(TimeoutException):
> pages.load("simpleTest.html")
E Failed: DID NOT RAISE <class 'selenium.common.exceptions.TimeoutException'>
selenium/webdriver/common/page_load_timeout_tests.py:30: Failed
_____________________________________________________________________________ testClickShouldTimeout[WebKitGTK] ______________________________________________________________________________
driver = <selenium.webdriver.webkitgtk.webdriver.WebDriver (session="c0147747-bb31-4599-925f-87f1079cdaf6")>, pages = <conftest.Pages object at 0x7f65ac952450>
@pytest.mark.xfail_marionette(
reason='https://bugzilla.mozilla.org/show_bug.cgi?id=1309231')
@pytest.mark.xfail_phantomjs(
reason='PhantomJS does not implement page load timeouts')
def testClickShouldTimeout(driver, pages):
pages.load("simpleTest.html")
driver.set_page_load_timeout(0.01)
with pytest.raises(TimeoutException):
> driver.find_element_by_id("multilinelink").click()
E Failed: DID NOT RAISE <class 'selenium.common.exceptions.TimeoutException'>
selenium/webdriver/common/page_load_timeout_tests.py:41: Failed
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=166679
[Bug 166679] [GTK][META] WebDriver implementation
https://bugs.webkit.org/show_bug.cgi?id=174670
[Bug 174670] WebDriver: wait until navigation is complete before running new commands and after a click
--
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/20170720/390ecacb/attachment.html>
More information about the webkit-unassigned
mailing list