mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-24 23:03:08 +00:00
wait for Password: prompt
This commit is contained in:
parent
3863d840b0
commit
b8e011e2ff
18
needles/password_required.json
Normal file
18
needles/password_required.json
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"tags": [
|
||||||
|
"password_required",
|
||||||
|
"ENV-DISTRI-fedora",
|
||||||
|
"ENV-INSTLANG-en_US",
|
||||||
|
"ENV-FLAVOR-server"
|
||||||
|
],
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 0,
|
||||||
|
"ypos": 79,
|
||||||
|
"width": 72,
|
||||||
|
"height": 21,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": []
|
||||||
|
}
|
BIN
needles/password_required.png
Normal file
BIN
needles/password_required.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 958 B |
@ -20,6 +20,7 @@ sub run {
|
|||||||
{
|
{
|
||||||
type_string get_var("USER_LOGIN");
|
type_string get_var("USER_LOGIN");
|
||||||
send_key "ret";
|
send_key "ret";
|
||||||
|
assert_screen "password_required", 10;
|
||||||
type_string get_var("USER_PASSWORD");
|
type_string get_var("USER_PASSWORD");
|
||||||
send_key "ret";
|
send_key "ret";
|
||||||
assert_screen "user_logged_in", 10;
|
assert_screen "user_logged_in", 10;
|
||||||
@ -38,6 +39,7 @@ sub run {
|
|||||||
type_string "root";
|
type_string "root";
|
||||||
send_key "ret";
|
send_key "ret";
|
||||||
}
|
}
|
||||||
|
assert_screen "password_required", 10;
|
||||||
type_string get_var("ROOT_PASSWORD");
|
type_string get_var("ROOT_PASSWORD");
|
||||||
send_key "ret";
|
send_key "ret";
|
||||||
assert_screen "root_logged_in", 10;
|
assert_screen "root_logged_in", 10;
|
||||||
|
Loading…
Reference in New Issue
Block a user