Commit 1f3a5435 authored by Harald Sitter's avatar Harald Sitter 🌈
Browse files

test user page

parent 2561e07c
{
"area": [
{
"type": "match",
"xpos": 0,
"ypos": 0,
"width": 914,
"height": 308,
"match": 95
}
],
"properties": [],
"tags": [
"installer-user-complete",
"ENV-DISTRI-neon"
]
}
{
"area": [
{
"type": "match",
"xpos": 0,
"ypos": 0,
"width": 914,
"height": 308,
"match": 95
}
],
"properties": [],
"tags": [
"installer-user-user",
"ENV-DISTRI-neon"
]
}
{
"area": [
{
"type": "match",
"xpos": 0,
"ypos": 0,
"width": 914,
"height": 470,
"match": 95
}
],
"properties": [],
"tags": [
"installer-user",
"ENV-DISTRI-neon"
]
}
......@@ -40,11 +40,30 @@ sub run {
assert_and_click "installer-install-now";
assert_screen "installer-disk-confirm", 8;
assert_and_click "installer-disk-confirm-continue";
# Timezone has 75% fuzzyness as timezone is geoip'd so its fairly divergent.
# Also, starting here only the top section of the window gets matched as
# the bottom part with the buttons now has a progressbar and status
# text which is non-deterministic.
assert_screen "installer-timezone", 8;
assert_and_click "installer-next";
assert_screen "installer-keyboard", 8;
assert_and_click "installer-next";
assert_screen "installer-welcome", 8;
assert_screen "installer-user", 8;
type_string "user";
# user in user field, name field (needle doesn't include hostname in match)
assert_screen "installer-user-user", 8;
send_key "tab", 1; # username field
send_key "tab", 1; # 1st password field
type_string "password";
send_key "tab", 1; # 2nd password field
type_string "password";
# all fields filled (not matching hostname field)
assert_screen "installer-user-complete", 8;
assert_and_click "installer-next";
assert_screen "installer-welcome", 180;
}
sub test_flags {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment