Test suite: make keyboard input more reliable
Otherwise we often lose "ctrl" when pressing "ctrl + v".
Last test suite analysis: !971 (comment 200099)
refs #19237 (but we should probably not close the issue just yet, since this branch does not fully fix it)
Edited by intrigeri