1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-28 16:43:09 +00:00

handle 'weak password' due to dictionary load error

Summary:
Rawhide currently seems to have a bug in spell check dictionary
load, which causes the test to fail as it requires another Done
click. So add a workaround needle that handles this case.

Test Plan:
Apply the patch, run some tests, see if they work. I
did a test run on staging:
https://openqa.stg.fedoraproject.org/tests/13331

Reviewers: garretraziel, jskladan

Reviewed By: jskladan

Subscribers: tflink

Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D815
This commit is contained in:
Adam Williamson 2016-04-14 23:37:22 -07:00
parent 3dca7cbf55
commit 90b5acf72a
3 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{
"tags": [
"ENV-DISTRI-fedora",
"LANGUAGE-english",
"anaconda_install_password_dictionary_error"
],
"area": [
{
"xpos": 511,
"ypos": 742,
"width": 145,
"height": 18,
"type": "match"
}
],
"properties": [
"workaround"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

View File

@ -21,6 +21,9 @@ sub run {
send_key "tab"; send_key "tab";
type_string $root_password; type_string $root_password;
assert_and_click "anaconda_spoke_done"; assert_and_click "anaconda_spoke_done";
if (check_screen "anaconda_install_password_dictionary_error", 10) {
assert_and_click "anaconda_spoke_done";
}
# Set user details # Set user details
sleep 1; sleep 1;
@ -35,6 +38,10 @@ sub run {
type_string $user_password; type_string $user_password;
assert_and_click "anaconda_install_user_creation_make_admin"; assert_and_click "anaconda_install_user_creation_make_admin";
assert_and_click "anaconda_spoke_done"; assert_and_click "anaconda_spoke_done";
# handle 'weak password' due to dictionary error: WORKAROUND
if (check_screen "anaconda_install_password_dictionary_error", 10) {
assert_and_click "anaconda_spoke_done";
}
# Check username (and hence keyboard layout) if non-English # Check username (and hence keyboard layout) if non-English
if (get_var('LANGUAGE')) { if (get_var('LANGUAGE')) {