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

Compare commits

...

6 Commits

Author SHA1 Message Date
Adam Williamson
89faf008dd Drop match level on another KDE needle
Got a 94% match on this one.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-15 14:47:22 -08:00
Adam Williamson
31ea2f1d2e Update a KDE update notification needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-15 14:45:27 -08:00
Adam Williamson
f4cf54486b Update some KDE login test needles
This test fails on Rawhide (because sddm-on-wayland) but we just
got an F37 respin, where it passes but needs some needle updates.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-15 14:41:53 -08:00
Adam Williamson
bf1a19c07f Clean up KDE expand_systray needles, drop match level on remaining
All the deleted ones haven't been matched for five months. Drop
match level to 90 on the remaining ones, we got a 96 match for
one of them in today's respin test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-15 14:27:49 -08:00
Adam Williamson
aec26e8b2c Yet more needles for the cockpit update
I don't know why we wind up with so many slightly different
matches on the login screen. It's weird.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-15 11:17:49 -08:00
Adam Williamson
3754ab3d8a Drop all handling of MODULAR
This was from years ago when we briefly did "modular composes".
That died and ain't coming back.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-15 11:10:40 -08:00
39 changed files with 102 additions and 206 deletions

View File

@ -296,11 +296,8 @@ sub get_full_repo {
# repo URL with flavor and arch, leave hd & NFS ones alone
# (as for those tests we just use a mounted ISO and URL is complete)
if ($repourl !~ m/^(nfs|hd:)/) {
# Everything variant doesn't exist for modular composes atm,
# only Server
my $variant = 'Everything';
$variant = 'Server' if (get_var("MODULAR"));
$repourl .= "/${variant}/" . get_var("ARCH") . "/os";
my $arch = get_var("ARCH");
$repourl .= "/Everything/$arch/os";
}
return $repourl;
}

View File

@ -236,13 +236,6 @@ sub _load_early_postinstall_tests {
_load_instance("tests/disk_guided_encrypted_postinstall", $instance);
}
# For now, there's no possibility to get a graphical desktop on
# Modular composes, so short-circuit here for those
if (get_var("MODULAR")) {
_load_instance("tests/_console_wait_login", $instance);
return;
}
# Appropriate login method for install type
if (get_var("DESKTOP")) {
_load_instance("tests/_graphical_wait_login", $instance);

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 111,
"type": "match",
"width": 81,
"height": 101,
"ypos": 241
}
],
"properties": [],
"tags": [
"cockpit_login"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"xpos": 111,
"ypos": 264,
"height": 101,
"width": 81
}
],
"properties": [],
"tags": [
"cockpit_login"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

View File

@ -1,16 +0,0 @@
{
"area": [
{
"type": "match",
"width": 17,
"ypos": 738,
"height": 18,
"xpos": 871
}
],
"properties": [],
"tags": [
"DESKTOP-kde",
"desktop_expand_systray"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 516 KiB

View File

@ -1,16 +0,0 @@
{
"area": [
{
"xpos": 880,
"height": 18,
"width": 17,
"type": "match",
"ypos": 737
}
],
"properties": [],
"tags": [
"DESKTOP-kde",
"desktop_expand_systray"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 516 KiB

View File

@ -1,16 +0,0 @@
{
"area": [
{
"xpos": 880,
"height": 18,
"width": 17,
"type": "match",
"ypos": 737
}
],
"properties": [],
"tags": [
"DESKTOP-kde",
"desktop_expand_systray"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

View File

@ -1,16 +0,0 @@
{
"area": [
{
"height": 18,
"ypos": 738,
"xpos": 871,
"width": 17,
"type": "match"
}
],
"properties": [],
"tags": [
"DESKTOP-kde",
"desktop_expand_systray"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 893 KiB

View File

@ -1,16 +0,0 @@
{
"area": [
{
"ypos": 738,
"height": 18,
"xpos": 875,
"type": "match",
"width": 17
}
],
"properties": [],
"tags": [
"DESKTOP-kde",
"desktop_expand_systray"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 886 KiB

View File

@ -1,16 +0,0 @@
{
"area": [
{
"height": 18,
"ypos": 738,
"type": "match",
"width": 17,
"xpos": 866
}
],
"properties": [],
"tags": [
"DESKTOP-kde",
"desktop_expand_systray"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 960 KiB

View File

@ -1,17 +0,0 @@
{
"area": [
{
"type": "match",
"ypos": 738,
"width": 17,
"xpos": 877,
"height": 18,
"match": 80
}
],
"properties": [],
"tags": [
"DESKTOP-kde",
"desktop_expand_systray"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

View File

@ -5,7 +5,8 @@
"type": "match",
"width": 17,
"ypos": 737,
"height": 18
"height": 18,
"match": 90
}
],
"properties": [],
@ -13,4 +14,4 @@
"DESKTOP-kde",
"desktop_expand_systray"
]
}
}

View File

@ -5,7 +5,8 @@
"width": 17,
"height": 18,
"ypos": 737,
"type": "match"
"type": "match",
"match": 90
}
],
"properties": [],
@ -13,4 +14,4 @@
"DESKTOP-kde",
"desktop_expand_systray"
]
}
}

View File

@ -1,16 +0,0 @@
{
"area": [
{
"height": 18,
"type": "match",
"ypos": 736,
"width": 17,
"xpos": 848
}
],
"properties": [],
"tags": [
"DESKTOP-kde",
"desktop_expand_systray"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 886 KiB

View File

@ -1,16 +0,0 @@
{
"area": [
{
"ypos": 737,
"xpos": 871,
"type": "match",
"height": 18,
"width": 17
}
],
"properties": [],
"tags": [
"DESKTOP-kde",
"desktop_expand_systray"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 897 KiB

View File

@ -1,16 +0,0 @@
{
"area": [
{
"xpos": 871,
"width": 17,
"height": 18,
"ypos": 737,
"type": "match"
}
],
"properties": [],
"tags": [
"DESKTOP-kde",
"desktop_expand_systray"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 794 KiB

View File

@ -1,16 +0,0 @@
{
"area": [
{
"xpos": 846,
"ypos": 743,
"width": 17,
"height": 18,
"type": "match"
}
],
"tags": [
"DESKTOP-kde",
"desktop_expand_systray"
],
"properties": []
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 499 KiB

View File

@ -5,6 +5,7 @@
"height": 16,
"ypos": 376,
"type": "match",
"match": 90,
"xpos": 601
}
],
@ -13,4 +14,4 @@
"DESKTOP-kde",
"desktop_systray_notifications"
]
}
}

View File

@ -0,0 +1,23 @@
{
"area": [
{
"ypos": 392,
"xpos": 590,
"type": "match",
"height": 14,
"width": 132
},
{
"type": "match",
"width": 39,
"height": 173,
"ypos": 394,
"xpos": 969
}
],
"properties": [],
"tags": [
"DESKTOP-kde",
"desktop_update_notification_only"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 KiB

View File

@ -0,0 +1,17 @@
{
"area": [
{
"xpos": 434,
"ypos": 577,
"type": "match",
"height": 19,
"width": 45
}
],
"properties": [],
"tags": [
"log_out_confirm",
"power_off_confirm",
"restart_confirm"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 35,
"ypos": 219,
"height": 17,
"width": 26,
"type": "match"
}
],
"properties": [],
"tags": [
"user_confirm_jim"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 KiB

View File

@ -7,20 +7,15 @@ sub run {
my $self = shift;
# set up appropriate repositories
repo_setup();
# use --enablerepo=fedora for Modular compose testing (we need to
# create and use a non-Modular repo to get some packages which
# aren't in Modular Server composes)
my $extraparams = '';
$extraparams = '--enablerepo=fedora' if (get_var("MODULAR"));
# install a desktop and firefox so we can actually try it
assert_script_run "dnf ${extraparams} -y groupinstall 'base-x'", 300;
assert_script_run "dnf -y groupinstall 'base-x'", 300;
# FIXME: this should probably be in base-x...X seems to fail without
assert_script_run "dnf ${extraparams} -y install libglvnd-egl", 180;
assert_script_run "dnf -y install libglvnd-egl", 180;
# try to avoid random weird font selection happening
assert_script_run "dnf ${extraparams} -y install dejavu-sans-fonts dejavu-sans-mono-fonts dejavu-serif-fonts", 180;
assert_script_run "dnf -y install dejavu-sans-fonts dejavu-sans-mono-fonts dejavu-serif-fonts", 180;
# since firefox-85.0-2, firefox doesn't seem to run without this
assert_script_run "dnf ${extraparams} -y install dbus-glib", 180;
assert_script_run "dnf ${extraparams} -y install firefox", 180;
assert_script_run "dnf -y install dbus-glib", 180;
assert_script_run "dnf -y install firefox", 180;
}
sub test_flags {

View File

@ -10,8 +10,8 @@ sub run {
# Select package set. Minimal is the default, if 'default' is specified, skip selection,
# but verify correct default in some cases
my $packageset = get_var('PACKAGE_SET', 'minimal');
if ($packageset eq 'default' || get_var('MODULAR')) {
# we can't or don't want to check the selected package set in these cases
if ($packageset eq 'default') {
# we can't or don't want to check the selected package set in this case
return if (get_var('CANNED') || get_var('LIVE') || get_var('MEMCHECK'));
$self->root_console;
my $env = 'custom-environment';