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
The readme states that the test helpers are required as a workaround due to some browsers prevent a simulated click event on the <CopyButton>:
Some browsers do not allow simulated clicks to fire execCommand('copy'). This makes testing difficult.
I tested with recent versions of Chrome and Firefox. And it seems to work just fine with regular click from @ember/test-helpers. Do you know for which browsers the test helpers provided by this addon are actually needed? Or are they maybe not needed anymore at all?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The readme states that the test helpers are required as a workaround due to some browsers prevent a simulated click event on the
<CopyButton>
:I tested with recent versions of Chrome and Firefox. And it seems to work just fine with regular
click
from@ember/test-helpers
. Do you know for which browsers the test helpers provided by this addon are actually needed? Or are they maybe not needed anymore at all?Beta Was this translation helpful? Give feedback.
All reactions