mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-22 14:03:09 +00:00
Create a desktop test using high contrast.
This commit is contained in:
parent
475b875bc0
commit
de395edab7
@ -943,6 +943,25 @@
|
|||||||
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%"
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"desktop_browser_highcontrast": {
|
||||||
|
"profiles": {
|
||||||
|
"fedora-KDE-live-iso-x86_64-*-64bit": 22,
|
||||||
|
"fedora-Silverblue-dvd_ostree-iso-ppc64le-*-ppc64le": 50,
|
||||||
|
"fedora-Silverblue-dvd_ostree-iso-x86_64-*-64bit": 50,
|
||||||
|
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 20,
|
||||||
|
"fedora-Workstation-live-iso-x86_64-*-64bit": 20,
|
||||||
|
"fedora-Workstation-upgrade-x86_64-*-64bit": 40,
|
||||||
|
"fedora-Workstation-upgrade-aarch64-*-aarch64": 40,
|
||||||
|
"fedora-Workstation-raw_xz-raw.xz-aarch64-*-aarch64": 22
|
||||||
|
},
|
||||||
|
"settings": {
|
||||||
|
"BOOTFROM": "c",
|
||||||
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
||||||
|
"POSTINSTALL": "desktop_browser",
|
||||||
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
||||||
|
"HIGHCONTRAST": "true"
|
||||||
|
}
|
||||||
|
},
|
||||||
"desktop_notifications_live": {
|
"desktop_notifications_live": {
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"fedora-KDE-live-iso-x86_64-*-64bit": 32,
|
"fedora-KDE-live-iso-x86_64-*-64bit": 32,
|
||||||
|
@ -32,6 +32,16 @@ sub run {
|
|||||||
$self->root_console(tty => 3);
|
$self->root_console(tty => 3);
|
||||||
disable_firefox_studies;
|
disable_firefox_studies;
|
||||||
desktop_vt;
|
desktop_vt;
|
||||||
|
# In case of high contrast testing switch it on.
|
||||||
|
if (get_var('HIGHCONTRAST')) {
|
||||||
|
send_key("super");
|
||||||
|
type_very_safely("contrast");
|
||||||
|
assert_and_click("accessibility_launcher");
|
||||||
|
assert_and_click("accessibility_seeing");
|
||||||
|
assert_and_click("accessibility_highcontrast");
|
||||||
|
assert_and_click("icon_window_off");
|
||||||
|
wait_still_screen(3);
|
||||||
|
}
|
||||||
send_key 'super';
|
send_key 'super';
|
||||||
# wait out animations
|
# wait out animations
|
||||||
wait_still_screen(stilltime => 4, similarity_level => 45);
|
wait_still_screen(stilltime => 4, similarity_level => 45);
|
||||||
|
Loading…
Reference in New Issue
Block a user