[Webkit-unassigned] [Bug 180400] New: WebDriver: test imported/w3c/webdriver/tests/element_click/bubbling.py::test_spin_event_loop is failing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 5 02:10:56 PST 2017


            Bug ID: 180400
           Summary: WebDriver: test
                    ::test_spin_event_loop is failing
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebDriver
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: bburg at apple.com

session = <webdriver.client.Session object at 0x7ff1c632a610>

    def test_spin_event_loop(session):
        Wait until the user agent event loop has spun enough times to
        process the DOM events generated by clicking.
        session.url = inline("""
            body * {
              margin: 10px;
              padding: 10px;
              border: 1px solid blue;

            <div id=three>THREE
              <div id=two>TWO
                <div id=one>ONE</div>

            window.delayedClicks = [];

            for (let level of document.querySelectorAll("div")) {
              level.addEventListener("click", ({currentTarget}) => {
                setTimeout(() => window.delayedClicks.push(currentTarget), 100);
        three, two, one = session.find.css("div")

        delayed_clicks = session.execute_script("return window.delayedClicks")
>       assert one in delayed_clicks
E       assert <webdriver.client.Element object at 0x7ff1c6321390> in []

delayed_clicks = []
one        = <webdriver.client.Element object at 0x7ff1c6321390>
session    = <webdriver.client.Session object at 0x7ff1c632a610>
three      = <webdriver.client.Element object at 0x7ff1c6321490>
two        = <webdriver.client.Element object at 0x7ff1c6321d10>

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/20171205/18336232/attachment.html>

More information about the webkit-unassigned mailing list