mercredi 19 juin 2019

How to use the `fill_options` with fill_in for ember acceptance test?

When you have the input with already existed text inside and try to fill_in new text, it is concatenating, against is replacing, how to fix it on ember?

I can provide an example with Capybara which works correctly:

fill_in '.div', with: 'text', fill_options: { clear: :backspace }

Any help is appreciated




Aucun commentaire:

Enregistrer un commentaire