<?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>291615</bug_id>
          
          <creation_ts>2025-04-15 21:40:57 -0700</creation_ts>
          <short_desc>[WebDriver][GLIB] Some interactions tests failing due to failure to perform actions related to mouse actions</short_desc>
          <delta_ts>2025-08-27 09:11:17 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebDriver</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>280567</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=193684</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lauro Moura">lmoura</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bburg</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2111251</commentid>
    <comment_count>0</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2025-04-15 21:40:57 -0700</bug_when>
    <thetext>Basically, tests using the following fixture: perform_drag_and_drop_with_mouse, which uses the Perform Actions API:

```
def perform_drag_and_drop_with_mouse(driver, pages):
    &quot;&quot;&quot;Copied from org.openqa.selenium.interactions.TestBasicMouseInterface.&quot;&quot;&quot;
    pages.load(&quot;draggableLists.html&quot;)
    dragReporter = driver.find_element(By.ID, &quot;dragging_reports&quot;)
    toDrag = driver.find_element(By.ID, &quot;rightitem-3&quot;)
    dragInto = driver.find_element(By.ID, &quot;sortable1&quot;)

    holdItem = ActionChains(driver).click_and_hold(toDrag)
    moveToSpecificItem = ActionChains(driver).move_to_element(driver.find_element(By.ID, &quot;leftitem-4&quot;))
    moveToOtherList = ActionChains(driver).move_to_element(dragInto)
    drop = ActionChains(driver).release(dragInto)
    assert &quot;Nothing happened.&quot; == dragReporter.text

    holdItem.perform()
    moveToSpecificItem.perform()
    moveToOtherList.perform()
    assert &quot;Nothing happened. DragOut&quot; == dragReporter.text

    drop.perform()
```

Example test: 

imported/selenium/py/test/selenium/webdriver/common/interactions_tests.py::test_dragging_element_with_mouse_moves_it_to_another_list

Running the test shows no mouse interaction being actually performed.

Digging into the SimulatedInputDispatcher code, the keyframes arrive into the browser without the `mouseInteraction` field, which `transitionInputSourceToState` uses to actually call `m_client.simulateMouseInteraction`.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2111252</commentid>
    <comment_count>1</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2025-04-15 21:49:20 -0700</bug_when>
    <thetext>Changing to a better title, as this actually related to mouse actions and not drag and drop. For example, Selenium has a `context_click()` action helper, which does a right click, and is also failing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2139066</commentid>
    <comment_count>2</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2025-08-27 09:11:17 -0700</bug_when>
    <thetext>It is indeed a duplicate of bug280567.

*** This bug has been marked as a duplicate of bug 280567 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>