1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-23 14:33:08 +00:00

Compare commits

...

8 Commits

Author SHA1 Message Date
sumantro93
7657b8bb16 Rename Dockerfile to Containerfile 2024-09-26 14:22:01 +02:00
Adam Williamson
a7dbff27fa Various GNOME 47 needle updates (and one KDE 6.2 one)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-25 17:57:14 -07:00
Adam Williamson
4200e6a73f alarm: double-click hour field before we start typing
See: https://gitlab.gnome.org/GNOME/gnome-clocks/-/issues/370
before 47.0, the hour field was already active for typing when
this window opened, but it no longer is.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-25 17:53:00 -07:00
Adam Williamson
47302e9451 Update needles and tweak test logic for new anaconda-webui
New anaconda-webui changes the disk selection flow a bit, this
adapts to it. We can drop the conditional and make it a straight
assert-and-click once the new webui is stable for F41 and F42.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-25 16:50:10 -07:00
Adam Williamson
bb1f6e6ba0 Update KDE systray notifications needle, rename an older one
The older one here does not have Notifications "selected", so
the filename shouldn't say it does.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-19 15:26:59 -07:00
Adam Williamson
e99bf18c4f Add yet another KDE menu button needle variant
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-19 15:22:05 -07:00
Adam Williamson
635ff8941e maps: update wellington needle
Upstream fixed an issue with highway signs being upside down.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-19 15:20:44 -07:00
Adam Williamson
75534a30df desktop_browser: give browser longer to start, but soft fail
This is often failing on KDE on Rawhide ATM, apparently because
of a performance regression with software rendering. So let's
wait longer for the browser, but soft fail if it takes longer
than 45 seconds.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-17 14:49:27 -07:00
28 changed files with 197 additions and 3 deletions

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 270,
"ypos": 337,
"width": 50,
"height": 17,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_webui_select"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

View File

@ -0,0 +1,17 @@
{
"area": [
{
"type": "match",
"xpos": 363,
"ypos": 188,
"width": 17,
"height": 24
}
],
"properties": [],
"tags": [
"anaconda_install_destination_select_disk_1",
"ENV-DISTRI-fedora",
"ENV-FLAVOR-server"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"height": 24,
"ypos": 249,
"xpos": 266,
"width": 141,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_webui_disk_select"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 409,
"ypos": 217,
"width": 47,
"height": 36,
"type": "match"
}
],
"properties": [],
"tags": [
"clocks_alarm_hour"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

View File

@ -0,0 +1,29 @@
{
"area": [
{
"xpos": 429,
"width": 161,
"ypos": 38,
"type": "match",
"height": 35
},
{
"ypos": 665,
"width": 104,
"xpos": 6,
"height": 28,
"type": "match"
},
{
"height": 24,
"type": "match",
"ypos": 381,
"width": 127,
"xpos": 518
}
],
"properties": [],
"tags": [
"help_section_content_files"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 198,
"xpos": 401,
"ypos": 349,
"type": "match",
"height": 119
}
],
"properties": [],
"tags": [
"maps_found_wellington"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"height": 119,
"xpos": 379,
"width": 198,
"ypos": 379
}
],
"properties": [],
"tags": [
"maps_found_wellington"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"height": 16,
"xpos": 270,
"width": 98,
"ypos": 191
}
],
"properties": [],
"tags": [
"nautilus_test_file"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"height": 15,
"xpos": 453,
"width": 119,
"ypos": 20
}
],
"properties": [],
"tags": [
"abrt_runs"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"type": "match",
"height": 16,
"width": 79,
"xpos": 620,
"ypos": 325
}
],
"properties": [],
"tags": [
"DESKTOP-kde",
"desktop_systray_notifications"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 407 KiB

View File

@ -0,0 +1,17 @@
{
"area": [
{
"xpos": 20,
"width": 25,
"ypos": 728,
"type": "match",
"height": 24
}
],
"properties": [],
"tags": [
"DESKTOP-kde",
"system_menu_button",
"apps_menu_button"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -13,6 +13,7 @@ sub run {
# Add a new alarm using the Add Alarm button
assert_and_click("clocks_button_add_alarm");
assert_and_dclick("clocks_alarm_hour");
wait_still_screen(2);
type_very_safely("09");
send_key("tab");

View File

@ -36,7 +36,14 @@ sub run {
# wait out animations
wait_still_screen(stilltime => 4, similarity_level => 45);
assert_and_click 'browser_launcher';
assert_screen 'browser', 45;
unless (check_screen 'browser', 45) {
if (check_screen 'browser', 45) {
record_soft_failure "Browser start up is very slow - probably https://bugzilla.redhat.com/show_bug.cgi?id=2312900";
}
else {
die "Browser never reached!";
}
}
# firefox is quite grindy on startup, let it settle
wait_still_screen(stilltime => 5, similarity_level => 45);
# open a new tab so we don't race with the default page load

View File

@ -17,6 +17,8 @@ sub run {
if (get_var("NUMDISKS") > 1) {
assert_and_click "anaconda_webui_disk_select";
assert_and_click "anaconda_install_destination_select_disk_1";
# since webui 16, we have to click a Select button too
click_lastmatch if (check_screen "anaconda_webui_select");
}
# assume default selection is the appropriate one; if it
# isn't, we'll fail soon enough

View File

@ -27,8 +27,8 @@ sub run {
assert_script_run "podman pull registry.fedoraproject.org/fedora:latest", 300;
# run hello-world to test
validate_script_output "podman run -it registry.fedoraproject.org/fedora:latest echo Hello-World", sub { m/Hello-World/ };
# create a Dockerfile
assert_script_run 'printf \'FROM registry.fedoraproject.org/fedora:latest\nRUN /usr/bin/dnf install -y httpd\nEXPOSE 80\nCMD ["-D", "FOREGROUND"]\nENTRYPOINT ["/usr/sbin/httpd"]\n\' > Dockerfile';
# create a Containerfile
assert_script_run 'printf \'FROM registry.fedoraproject.org/fedora:latest\nRUN /usr/bin/dnf install -y httpd\nEXPOSE 80\nCMD ["-D", "FOREGROUND"]\nENTRYPOINT ["/usr/sbin/httpd"]\n\' > Containerfile';
# Build an image
assert_script_run 'podman build -t fedora-httpd $(pwd)', 180;
# Verify the image