0fa6138 Have non-English tests do graphical install and login

Authored and Committed by adamwill 7 years ago
46 files changed. 363 lines added. 33 lines removed.
lib/anacondatest.pm
file modified
+0 -10
lib/main_common.pm
file modified
+18 -1
needles/anaconda/package_selection/workstation_highlighted.json
file added
+14
needles/anaconda/package_selection/workstation_highlighted.png
file added
+0
needles/anaconda/package_selection/workstation_selected.json
file added
+14
needles/anaconda/package_selection/workstation_selected.png
file added
+0
needles/gnome/french/desktop_clean_french-20161215.json
file added
+24
needles/gnome/french/desktop_clean_french-20161215.png
file added
+0
needles/gnome/french/getting_started_french-20161215.json
file added
+16
needles/gnome/french/getting_started_french-20161215.png
file added
+0
needles/gnome/french/login_gdm_input_french-20161215.json
file added
+17
needles/gnome/french/login_gdm_input_french-20161215.png
file added
+0
needles/gnome/french/next_button_french-20161215.json
file added
+16
needles/gnome/french/next_button_french-20161215.png
file added
+0
needles/gnome/french/skip_button_french-20161215.json
file added
+16
needles/gnome/french/skip_button_french-20161215.png
file added
+0
needles/gnome/getting_started-20160901.json
file modified
+3 -2
needles/gnome/getting_started.json
file modified
+3 -2
needles/gnome/layout_us-20161215.json
file added
+15
needles/gnome/layout_us-20161215.png
file added
+0
needles/gnome/layout_us-gdm-20161215.json
file added
+14
needles/gnome/layout_us-gdm-20161215.png
file added
+0
needles/gnome/login_gdm.json
file modified
+1 -4
needles/gnome/next_button-20160823.json
file modified
+3 -2
needles/gnome/next_button-20160824.json
file modified
+3 -2
needles/gnome/next_button.json
file modified
+3 -2
needles/gnome/russian/desktop_clean_russian-20161215.json
file added
+25
needles/gnome/russian/desktop_clean_russian-20161215.png
file added
+0
needles/gnome/russian/getting_started_russian-20161215.json
file added
+16
needles/gnome/russian/getting_started_russian-20161215.png
file added
+0
needles/gnome/russian/layout_native_russian-20161215.json
file added
+15
needles/gnome/russian/layout_native_russian-20161215.png
file added
+0
needles/gnome/russian/layout_native_russian-gdm-20161215.json
file added
+15
needles/gnome/russian/layout_native_russian-gdm-20161215.png
file added
+0
needles/gnome/russian/login_gdm_input_russian-20161215.json
file added
+17
needles/gnome/russian/login_gdm_input_russian-20161215.png
file added
+0
needles/gnome/russian/next_button_russian-20161215.json
file added
+16
needles/gnome/russian/next_button_russian-20161215.png
file added
+0
needles/gnome/russian/skip_button_russian-20161215.json
file added
+16
needles/gnome/russian/skip_button_russian-20161215.png
file added
+0
needles/gnome/skip_button.json
file modified
+3 -2
templates
file modified
+8 -0
tests/_console_login.pm
file added
+29
tests/_do_install_and_reboot.pm
file modified
+3 -3
tests/_graphical_wait_login.pm
file modified
+18 -1
tests/disk_guided_encrypted.pm
file modified
+2 -2
    Have non-English tests do graphical install and login
    
    Summary:
    The non-English tests so far did not test that graphical login
    worked as expected, which is a fairly large hole. With this
    change, they should do a Workstation install and test login to
    both GNOME and the console works as expected. KDE is not yet
    tested.
    
    As part of this we tweak the implementation of keyboard layout
    switching in graphical environments to use a generic function
    in main_common which can handle both anaconda and desktops
    (just GNOME at present, but should extend easily to any desktop
    with a known switcher key and a visible layout indicator),
    replacing the anacondatest class method. I kinda don't like that
    the test has to specifically tell the function when it's in
    anaconda, but I don't think I want to start experimenting with
    a global 'test phase' openQA variable or anything like that at
    present.
    
    Fixes T842.
    
    Test Plan:
    Run the French and Russian install tests and check
    they work as expected. Also run an English Workstation install
    if you like, and make sure that didn't break. This change is
    live on staging ATM, seems to work fine.
    
    Reviewers: jskladan, garretraziel
    
    Reviewed By: garretraziel
    
    Subscribers: tflink
    
    Maniphest Tasks: T842
    
    Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D1071
    
        
file modified
+0 -10
file modified
+18 -1
empty file added
empty file added
file modified
+1 -4
file modified
+8 -0