<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>253572</bug_id>
          
          <creation_ts>2023-03-08 08:47:03 -0800</creation_ts>
          <short_desc>REGRESSION(258166@main): WebDriver tests fail to run</short_desc>
          <delta_ts>2023-03-08 10:01:27 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=249564</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sam Sneddon [:gsnedders]">gsnedders</reporter>
          <assigned_to name="Sam Sneddon [:gsnedders]">gsnedders</assigned_to>
          <cc>fujii</cc>
    
    <cc>jbedard</cc>
    
    <cc>pangle</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1939735</commentid>
    <comment_count>0</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-03-08 08:47:03 -0800</bug_when>
    <thetext>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(&quot;&lt;input type=text&gt;&quot;)
E   AttributeError: &apos;async_generator&apos; object has no attribute &apos;url&apos;

This is caused by upgrade pytest_asyncio to 0.20.3 in 258166@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&apos;s downgrade to 0.18.3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1939736</commentid>
    <comment_count>1</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-03-08 08:52:18 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/11231</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1939764</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-03-08 10:00:11 -0800</bug_when>
    <thetext>Committed 261374@main (572012dd3e05): &lt;https://commits.webkit.org/261374@main&gt;

Reviewed commits have been landed. Closing PR #11231 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1939765</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-03-08 10:01:27 -0800</bug_when>
    <thetext>&lt;rdar://problem/106433594&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>