Bug 218737 - [WPE][WebDriver] imported/w3c/webdriver/tests/element_click/navigate.py::test_numbers_link is flaky failing
Summary: [WPE][WebDriver] imported/w3c/webdriver/tests/element_click/navigate.py::test...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: wpe-webdriver
  Show dependency treegraph
 
Reported: 2020-11-09 20:32 PST by Lauro Moura
Modified: 2020-11-09 20:32 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lauro Moura 2020-11-09 20:32:01 PST
imported/w3c/webdriver/tests/element_click/navigate.py::test_numbers_link

Fails most of the time the comparison between `session.url` and the expected URL after clicking the link.

Adding a sleep as small as 1s after the element_click(session, element) is enough to make it pass consistently. Somehow the method is not "waitingForNavigationToComplete" (step 11 in element click[1]) enough in comparison to GTK, which seems to be more stable (failing only twice in the last 100 runs).

[1] https://www.w3.org/TR/webdriver2/#element-click
Comment 1 Lauro Moura 2020-11-09 20:32:57 PST
Fixing right parent bug, sorry.