馃崚 appiumtests: click Cancel to close file dialog
Because of qt/qt/qtdeclarative@58581167 pressing Esc doesn't work reliably since the last CI rebuild.
(cherry picked from commit d2a0bbe2)
Co-authored-by: Fushan Wen qydwhotmail@gmail.com