Skip to content

The "EventsTest::testRightClick" test fails on Selenium 3.x #381

@aik099

Description

@aik099

When the \Behat\Mink\Tests\Driver\Js\EventsTest::testRightClick test is executed on Selenium 3.x it fails with this message:

Failed asserting that two strings are equal.
Expected :'right clicked'
Actual   :'single clicked'

The driver code seems to be written correctly (I've double-checked with the Facebook's driver version: https://github.com/php-webdriver/php-webdriver/blob/5d8e66ff849b5614015d35e99d759252e371ce26/lib/Remote/RemoteMouse.php#L100 ).

Not sure why the test fails.

More research is done in #354 (comment) .

The fix was done in #372 , but it's using Actions , which isn't implemented in the WebDriver.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions