You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that type() method is not working properly with latest version of serenity, in React components. Since I can not provide much details from my company's project, I created two repositories, where the issue is reproducible.
Problem: Typing on an React input component that already has value, is not clearing the input, but instead it types next to the previous value.
Info:
Works properly on old serenity 3.0.5 with selenium 3.x.x
Does not work with new serenity with selenium 4.x.x
Checked on firefox, still same behaviour
Checked on different driver version, still same behaviour
Type() works properly with serenity 3.6.7 on non-react component
Repositories to reproduce: -> Same test, different serenity version
P.S. With pure selenium 3.x.x and 4.x.x, clear() is not working properly as well, but since clear seems to be working properly with serenity 3.0.5, I thought is a good idea to post this issue here, besides selenium.
The text was updated successfully, but these errors were encountered:
It's not the Serenity version, it's related to the underlying Selenium verion. I believe this is related to inconsistant behaviour of the clear method on different browsers, devices and OSs. The Control-A/Delete hack stopped working for some contexts in more recent versions of Selenium. I don't have a fix.
It seems that type() method is not working properly with latest version of serenity, in React components. Since I can not provide much details from my company's project, I created two repositories, where the issue is reproducible.
Problem: Typing on an React input component that already has value, is not clearing the input, but instead it types next to the previous value.
Info:
non-react
componentRepositories to reproduce: -> Same test, different serenity version
Image:
P.S. With pure selenium 3.x.x and 4.x.x,
clear()
is not working properly as well, but since clear seems to be working properly with serenity 3.0.5, I thought is a good idea to post this issue here, besides selenium.The text was updated successfully, but these errors were encountered: