1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-22 14:03:09 +00:00

Add needles to assert.

This commit is contained in:
Lukas Ruzicka 2018-06-27 12:35:39 +02:00
parent 796455e205
commit e402d5d819
5 changed files with 35 additions and 1 deletions

View File

@ -0,0 +1,17 @@
{
"properties": [],
"tags": [
"graphical_login",
"login_screen",
"DESKTOP-gnome"
],
"area": [
{
"xpos": 350,
"ypos": 342,
"width": 44,
"height": 39,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 KiB

View File

@ -0,0 +1,16 @@
{
"properties": [],
"tags": [
"DESKTOP-gnome",
"graphical_login_input"
],
"area": [
{
"xpos": 341,
"ypos": 372,
"width": 85,
"height": 67,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

View File

@ -18,8 +18,9 @@ sub run {
send_key "ctrl-alt-f1";
# login onto the system
assert_screen "graphical_login"
send_key "ret";
# assert_screen "graphical_login_input";
assert_screen "graphical_login_input";
my $password = get_var("USER_PASSWORD", "weakpassword");
type_very_safely $password;
send_key "ret";