1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-01-06 01:13:07 +00:00

Rewrite test and redo needles for the newest iso.

This commit is contained in:
Lukáš Růžička 2019-11-04 14:54:02 +01:00
parent 319bdaadb4
commit 241b82c326
40 changed files with 219 additions and 73 deletions

View File

@ -1,13 +1,13 @@
{
"properties": [],
"tags": [
"win_setup_express_settings"
"win_setup_accept"
],
"area": [
{
"xpos": 808,
"ypos": 661,
"width": 83,
"xpos": 891,
"ypos": 668,
"width": 53,
"height": 21,
"type": "match"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

View File

@ -1,14 +1,14 @@
{
"properties": [],
"tags": [
"win_setup_next_blue"
"win_setup_bluenext"
],
"area": [
{
"xpos": 880,
"ypos": 663,
"xpos": 896,
"ypos": 667,
"width": 44,
"height": 19,
"height": 23,
"type": "match"
}
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"win_setup_blueno"
],
"area": [
{
"xpos": 713,
"ypos": 664,
"width": 50,
"height": 27,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"win_setup_booted_logged"
],
"area": [
{
"xpos": 838,
"ypos": 677,
"width": 185,
"height": 37,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"win_setup_childhood_nickname"
],
"area": [
{
"xpos": 389,
"ypos": 549,
"width": 101,
"height": 17,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View File

@ -1,14 +1,14 @@
{
"properties": [],
"tags": [
"win_setup_custom_install"
"win_eula_custom_install"
],
"area": [
{
"xpos": 243,
"ypos": 323,
"width": 98,
"height": 17,
"width": 99,
"height": 16,
"type": "match"
}
]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"win_setup_decline"
],
"area": [
{
"xpos": 710,
"ypos": 664,
"width": 55,
"height": 27,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View File

@ -1,14 +1,14 @@
{
"properties": [],
"tags": [
"win_setup_eula_accept"
"win_eula_accept"
],
"area": [
{
"xpos": 238,
"ypos": 499,
"width": 64,
"height": 23,
"ypos": 501,
"width": 62,
"height": 21,
"type": "match"
}
]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

View File

@ -5,10 +5,10 @@
],
"area": [
{
"xpos": 475,
"ypos": 385,
"width": 76,
"height": 17,
"xpos": 473,
"ypos": 383,
"width": 80,
"height": 21,
"type": "match"
}
]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -5,10 +5,10 @@
],
"area": [
{
"xpos": 75,
"ypos": 304,
"width": 36,
"height": 36,
"xpos": 33,
"ypos": 668,
"width": 88,
"height": 21,
"type": "match"
}
]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -1,15 +0,0 @@
{
"properties": [],
"tags": [
"win_setup_logged"
],
"area": [
{
"xpos": 4,
"ypos": 732,
"width": 104,
"height": 34,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 KiB

View File

@ -1,15 +1,15 @@
{
"area": [
{
"xpos": 430,
"ypos": 237,
"width": 165,
"height": 46,
"type": "match"
}
],
"properties": [],
"tags": [
"win_setup_main"
]
{
"properties": [],
"tags": [
"win_setup_main"
],
"area": [
{
"xpos": 429,
"ypos": 236,
"width": 170,
"height": 50,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -5,10 +5,10 @@
],
"area": [
{
"xpos": 745,
"ypos": 545,
"width": 53,
"height": 15,
"xpos": 739,
"ypos": 543,
"width": 67,
"height": 17,
"type": "match"
}
]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"win_setup_oldest_cousin"
],
"area": [
{
"xpos": 482,
"ypos": 570,
"width": 91,
"height": 17,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"win_setup_security_question"
],
"area": [
{
"xpos": 285,
"ypos": 503,
"width": 118,
"height": 25,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"win_setup_skip"
],
"area": [
{
"xpos": 894,
"ypos": 666,
"width": 45,
"height": 23,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"win_setup_yes"
],
"area": [
{
"xpos": 894,
"ypos": 666,
"width": 45,
"height": 23,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@ -1,13 +1,13 @@
{
"properties": [],
"tags": [
"win_setup_click_user"
"win_setup_your_pet"
],
"area": [
{
"xpos": 75,
"ypos": 315,
"width": 75,
"xpos": 388,
"ypos": 528,
"width": 65,
"height": 18,
"type": "match"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

View File

@ -26,29 +26,70 @@ sub run {
# The drive 0 will always be empty, so just click Next to continue
assert_and_click "win_setup_next", 20;
# Use Express setting to set up the installation, we do not really
# care about it.
assert_and_click "win_setup_express_settings", 600;
# Confirm the region, the default US region will be ok.
assert_and_click "win_setup_yes", 600;
# Confirm the keyboard layout, the default US keyboard will be ok.
assert_and_click "win_setup_yes", 60;
# Skip adding the second keyboard, we are not interested anyway.
assert_and_click "win_setup_skip", 60;
# Join a local domain
assert_and_click "win_setup_local_account", 600;
assert_and_click "win_setup_next", 20;
assert_and_click "win_setup_bluenext", 20;
# Fill-in account info
assert_and_click "win_setup_click_user", 30;
type_very_safely "fedora";
send_key "tab";
sleep 1;
# Fill-in the account name
type_very_safely "Fedora";
assert_and_click "win_setup_bluenext", 20;
# Fill-in the password
type_very_safely "weakpassword";
send_key "tab";
sleep 1;
assert_and_click "win_setup_bluenext", 20;
# Confirm the password
type_very_safely "weakpassword";
assert_and_click "win_setup_bluenext", 20;
# Deal with security questions
# What was your first pet's name?
assert_and_click "win_setup_security_question", 30;
assert_and_click "win_setup_your_pet", 30;
sleep 1;
send_key "tab";
sleep 1;
type_very_safely "usual";
type_very_safely "Bob";
assert_and_click "win_setup_bluenext", 30;
# What was your childhood nickname?
assert_and_click "win_setup_security_question", 30;
assert_and_click "win_setup_childhood_nickname", 30;
sleep 1;
send_key "tab";
sleep 1;
type_very_safely "Bob";
assert_and_click "win_setup_bluenext", 30;
# What was the name of your oldest cousin?
assert_and_click "win_setup_security_question", 30;
assert_and_click "win_setup_oldest_cousin", 30;
sleep 1;
send_key "tab";
sleep 1;
type_very_safely "Bob";
assert_and_click "win_setup_bluenext", 30;
# Refuse the activity history.
assert_and_click "win_setup_blueno", 30;
# Refuse digital assistant
assert_and_click "win_setup_decline", 30;
# Accept suggested values (bad but fast and easy)
assert_and_click "win_setup_accept", 30;
# Check if booted
assert_screen "win_setup_logged", 600;
assert_screen "win_setup_booted_logged", 600;
}