e1ec199 try to be safer when typing in X: slower, more checks

Authored and Committed by adamwill 7 years ago
25 files changed. 277 lines added. 168 lines removed.
lib/anacondatest.pm
file modified
+6 -9
lib/fedoradistribution.pm
file modified
+1 -1
lib/freeipa.pm
file modified
+17 -29
lib/installedtest.pm
file modified
+10 -15
lib/main_common.pm
file modified
+35 -2
needles/anaconda/install_process/french/install_finish_configuration_french.json
file added
+17
needles/anaconda/install_process/french/install_finish_configuration_french.png
file added
+0
needles/anaconda/install_process/install_finish_configuration.json
file added
+16
needles/anaconda/install_process/install_finish_configuration.png
file added
+0
needles/anaconda/install_process/russian/install_finish_configuration_russian.json
file added
+17
needles/anaconda/install_process/russian/install_finish_configuration_russian.png
file added
+0
needles/anaconda/universal/warning_bar.json
file added
+17
needles/anaconda/universal/warning_bar.png
file added
+0
tests/_boot_to_anaconda.pm
file modified
+3 -3
tests/_do_install_and_reboot.pm
file modified
+55 -28
tests/_graphical_wait_login.pm
file modified
+4 -2
tests/_network_static.pm
file modified
+7 -19
tests/_software_selection.pm
file modified
+2 -1
tests/desktop_browser_postinstall.pm
file modified
+18 -4
tests/desktop_terminal_postinstall.pm
file modified
+10 -4
tests/disk_guided_encrypted.pm
file modified
+4 -3
tests/freeipa_password_change_postinstall.pm
file modified
+7 -13
tests/freeipa_webui_postinstall.pm
file modified
+12 -21
tests/install_source_graphical.pm
file modified
+7 -3
tests/realmd_join_cockpit_postinstall.pm
file modified
+12 -11
    try to be safer when typing in X: slower, more checks
    
    Summary:
    the main thing this does is try and type slower in X - this
    should cover nearly everywhere we type anything in X, and make
    it type slower. We also add a bit more safety checking to some
    old tests which didn't have it (mainly _do_install_and_reboot)
    - wait_still_screen after typing to make sure all the keypresses
    were registered before continuing.
    
    This is an attempt to mitigate the problems we've seen where
    the wrong text gets typed into the wrong places and the tests
    break.
    
    This branch is live on staging atm. It still has *some* issues,
    but I do think it's an improvement.
    
    Test Plan:
    run the tests (probably several times), compare to
    runs without the change, see if it's better or worse...
    
    Reviewers: jskladan, garretraziel
    
    Reviewed By: garretraziel
    
    Subscribers: tflink
    
    Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D993
    
        
file modified
+6 -9
file modified
+1 -1
file modified
+17 -29
file modified
+10 -15
file modified
+35 -2
empty file added
file modified
+3 -3
file modified
+55 -28
file modified
+7 -19
file modified
+2 -1