Replace blivet tests with custom GUI tests #51

Merged
akatch merged 15 commits from issue_9 into develop 2021-10-26 15:56:01 +00:00
8 changed files with 48 additions and 5 deletions
Showing only changes of commit 0a6ddabc80 - Show all commits

View File

@ -220,7 +220,8 @@ sub custom_add_partition {
# if no devicetype was specified or devicetype is already selected, do nothing # if no devicetype was specified or devicetype is already selected, do nothing
if (($args{devicetype} && !check_screen("anaconda_custom_part_fs_$args{devicetype}_selected", 5))) { if (($args{devicetype} && !check_screen("anaconda_custom_part_fs_$args{devicetype}_selected", 5))) {
assert_and_click "anaconda_custom_part_devicetype"; assert_and_click "anaconda_custom_part_devicetype";
mouse_set(10, 10); # move mouse to dehighlight the list
mouse_set(10, 100);
assert_and_click "anaconda_custom_part_devicetype_$args{devicetype}"; assert_and_click "anaconda_custom_part_devicetype_$args{devicetype}";
} }
# if no filesystem was specified or filesystem is already selected, do nothing # if no filesystem was specified or filesystem is already selected, do nothing

View File

@ -1,10 +1,10 @@
{ {
"area": [ "area": [
{ {
"xpos": 505, "xpos": 508,
"ypos": 295, "ypos": 299,
"width": 33, "width": 50,
"height": 23, "height": 14,
"type": "match" "type": "match"
} }
], ],

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

View File

@ -0,0 +1,21 @@
{
"area": [
{
"width": 131,
"type": "match",
"xpos": 352,
"ypos": 367,
"height": 22,
"click_point": {
"xpos": 131,
"ypos": 12
}
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"LANGUAGE-english",
"anaconda_custom_mountpoint"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

View File

@ -0,0 +1,21 @@
{
"area": [
{
"ypos": 404,
"height": 24,
"xpos": 352,
"width": 134,
"type": "match",
"click_point": {
"xpos": 134,
"ypos": 10
}
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"LANGUAGE-english",
"anaconda_custom_size"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB