[Webkit-unassigned] [Bug 253572] New: REGRESSION(258166 at main): WebDriver tests fail to run

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 8 08:47:03 PST 2023


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

            Bug ID: 253572
           Summary: REGRESSION(258166 at main): WebDriver tests fail to run
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gsnedders at apple.com
                CC: Hironori.Fujii at sony.com, jbedard at apple.com,
                    pangle at apple.com

Currently all the WebDriver tests fail (at least internally on macOS, and I _strongly_ suspect in open source GTK/WPE).

This is mostly with errors like:

Tests/WebDriver/py/tests/wpt/tests/element_click/user_prompts.py:122: in test_default
    check_user_prompt_closed_with_exception(dialog_type, retval)
Tests/WebDriver/py/tests/wpt/tests/element_click/user_prompts.py:36: in check_user_prompt_closed_with_exception
    session.url = inline("<input type=text>")
E   AttributeError: 'async_generator' object has no attribute 'url'

This is caused by upgrade pytest_asyncio to 0.20.3 in 258166 at main. Per its changelog, https://github.com/pytest-dev/pytest-asyncio/blob/v0.20.3/CHANGELOG.rst, both 0.19 and 0.20 had breaking changes.

By comparison, the vendored upstream copy (https://github.com/web-platform-tests/wpt/tree/master/tools/third_party/pytest-asyncio) is currently at 0.14, and that also works with Python 3.11.

As a first move, which gets the internal WebDriver tests working, let's downgrade to 0.18.3.

-- 
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/20230308/3b473c57/attachment.htm>


More information about the webkit-unassigned mailing list