Actions
action #61064
closedtestapi.pm should sleep before clicking
Description
In KDE Plasma from git master (going to be 5.18) is having trouble with receiving click events on desktop icons. We've tracked this down to the fact that there is no delay between the testapi moving the mouse to the click coordinates and the actual click getting performed. This can lead to no item being considered selected/hovered and nothing happening.
I've talked to one of the Plasma devs and we kinda concluded that this is a defect with testapi as this isn't really reflective how a user would interact with the UI.
Thankfully this is indeed easy to resolve by simply adding a sleep() after mouse_set() in click_lastmatch()
Actions