Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aik099 opened this issue Feb 18, 2024 · 0 comments
Open

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

aik099 opened this issue Feb 18, 2024 · 0 comments

Comments

@aik099
Copy link
Member

aik099 commented Feb 18, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant