4 ms·
Does it really? Does it test for whether a button you thought was present isn't actually clickable? If you're going to write tests, I think it makes an insane
by rtpg 11y ago
Does it really? Does it test for whether a button you thought was present isn't actually clickable?
If you're going to write tests, I think it makes an insane amount of sense to emulate real world conditions as much as feasibly possible (making judgement calls on things that don't matter like speed of the mouse).
- masklinn 11y agoMost Selenium tests don't test that a button is actually clickable though, they find things through the DOM and if the button is offscreen or hidden they won't realise it.
- xirdstl 11y agoIn my experience, an exception is thrown in my Selenium test if a button is hidden or not clickable and I try to click it.