mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-11 17:34:23 +00:00
Add needles to assert.
This commit is contained in:
parent
796455e205
commit
e402d5d819
17
needles/gnome/login_gdm_blue.json
Normal file
17
needles/gnome/login_gdm_blue.json
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"graphical_login",
|
||||||
|
"login_screen",
|
||||||
|
"DESKTOP-gnome"
|
||||||
|
],
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 350,
|
||||||
|
"ypos": 342,
|
||||||
|
"width": 44,
|
||||||
|
"height": 39,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/gnome/login_gdm_blue.png
Normal file
BIN
needles/gnome/login_gdm_blue.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 244 KiB |
16
needles/gnome/login_gdm_input_f27.json
Normal file
16
needles/gnome/login_gdm_input_f27.json
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"DESKTOP-gnome",
|
||||||
|
"graphical_login_input"
|
||||||
|
],
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 341,
|
||||||
|
"ypos": 372,
|
||||||
|
"width": 85,
|
||||||
|
"height": 67,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/gnome/login_gdm_input_f27.png
Normal file
BIN
needles/gnome/login_gdm_input_f27.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 252 KiB |
@ -18,8 +18,9 @@ sub run {
|
|||||||
send_key "ctrl-alt-f1";
|
send_key "ctrl-alt-f1";
|
||||||
|
|
||||||
# login onto the system
|
# login onto the system
|
||||||
|
assert_screen "graphical_login"
|
||||||
send_key "ret";
|
send_key "ret";
|
||||||
# assert_screen "graphical_login_input";
|
assert_screen "graphical_login_input";
|
||||||
my $password = get_var("USER_PASSWORD", "weakpassword");
|
my $password = get_var("USER_PASSWORD", "weakpassword");
|
||||||
type_very_safely $password;
|
type_very_safely $password;
|
||||||
send_key "ret";
|
send_key "ret";
|
||||||
|
Loading…
Reference in New Issue
Block a user