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:
parent
3dca7cbf55
commit
90b5acf72a
19
needles/anaconda_install_password_dictionary_error.json
Normal file
19
needles/anaconda_install_password_dictionary_error.json
Normal 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"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/anaconda_install_password_dictionary_error.png
Normal file
BIN
needles/anaconda_install_password_dictionary_error.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 49 KiB |
@ -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')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user