Open sp53519 opened 7 years ago
Yep! It is a bug :(
Unfortunately, I can not promise that it will be fixed really soon, so pull requests are welcome :)
Am I right this bug is in gemini-selenium layer? Or where is the problem in which component?
It is a problem in gemini.
Flick works in wd (http client to selenium which gemini uses), it is a bug in gemini β> https://github.com/gemini-testing/gemini/blob/master/lib/tests-api/actions-builder.js#L294-L309
https://github.com/gemini-testing/gemini/blob/master/lib/tests-api/actions-builder.js#L301
I tried to change this code
return browser.flick(elem, offsets.x, offsets.y, speed);
to
return browser.flick(elem.value, offsets.x, offsets.y, speed);
These changes work in chromedriver, but do not work in selenium. I do not understand what's the matter.
sorry, but what do you mean by "selenium"? what browser and environment?
Output of
gemini --version
: 4.13.0Contents of
.gemini.yml
file:Test source code:
Command used to run the test:
Result:
Expected behaviour: Swipe occurs instead of the error.