1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-04 15:24:20 +00:00
Commit Graph

3434 Commits

Author SHA1 Message Date
Adam Williamson
a9413c417a Make firefox nobookmarks needle not workaround any more
We've been told the bookmark toolbar no longer being shown on app
start is by design, so we can't call this a workaround needle
any more really. There's a preference we could use to turn it
back on so we can wait for the bookmark toolbar to show up to
be sure firefox is fully started, but in fact tests seem to be
passing OK with just this needle these days, so we may not need
to.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-24 14:05:13 -07:00
Adam Williamson
1e8a82f0e1 Try different way to disable Firefox 'welcome pages' (mkaply)
Thanks to Mike Kaply in
https://bugzilla.mozilla.org/show_bug.cgi?id=1703903#c18 , this
should avoid Quick Suggest onboarding, "Total Cookie Protection"
onboarding, and future annoying things using the same mechanisms
without using the prefs mechanism or going after each one case
by case.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-24 08:28:31 -07:00
Adam Williamson
f3e4750f6e Fix line wrapping in firefox config override
Missed a line break...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-20 23:41:26 -07:00
Adam Williamson
7ee3a91ffc Try and disable yet another Firefox popup that breaks tests
See https://bugzilla.mozilla.org/show_bug.cgi?id=1703903#c9 and
comment #13 for this one.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-19 14:54:54 -07:00
Lukáš Růžička
18f6b0863e Delete unused needles. 2022-05-19 11:13:30 +02:00
Adam Williamson
a5433c823d Quick fix for get_host_dns when resolv.conf points to resolved
The Fedora infra workers got changed so their resolv.conf doesn't
have the correct DNS server addresses in it any more, it just
has 127.0.0.53 (the systemd-resolved resolver address). We need
to query resolved to get the correct addresses.

This is quick and hacky; it doesn't accommodate anyone running
a worker host that *isn't* using resolved, and it doesn't handle
IPv6 server addresses correctly if any are present (in infra we
currently don't use any on the worker hosts). I'll try and find
time to refine it but need to deploy this for now to make the
tests pass again.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-18 18:05:26 -07:00
Adam Williamson
dac2a82fea Update KDE help_runs needle
Not sure what changed here, something subtle. Background color?

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-18 13:52:03 -07:00
Adam Williamson
960f2055c2 Update KDE 'no notifications' needle
I think the text went bold.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-18 13:51:32 -07:00
Adam Williamson
3a27510656 Update boxes/vinagre "allow inhibit" needle
The font went bolder.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-17 16:24:17 -07:00
Adam Williamson
da0d1969f6 Add a workaround needle for broken vinagre fullscreen icon
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-17 16:22:37 -07:00
Adam Williamson
f6f9ae58e6 Update gnome-text-editor dark style needle for current highlight
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-17 16:21:57 -07:00
Adam Williamson
bd9e17dc85 Update FIXME note on #1765685 workaround
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-17 16:04:28 -07:00
Adam Williamson
b24802d4e0 Update a FIXME note in VNC client test
Connections is now default, we just have to update the test to
use it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-16 16:33:40 -07:00
Adam Williamson
4d049f8f7d browser: drop download save screen handling
Firefox 97 is now stable on all releases, so we can forget about
handling browser_download_save and just assume download will
happen automatically.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-16 16:27:35 -07:00
Adam Williamson
428b022255 Drop new user g-i-s handling in _graphical_wait_login
New user g-i-s is gone since F34, and F33 is dead.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-16 16:15:52 -07:00
Adam Williamson
5beb87cc16 Drop another unnecessary release number condition
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-16 16:14:02 -07:00
Adam Williamson
a2df6d976b desktop_login: drop obsolete check for 'login failed' message
Up to F33 we could check that an error message was shown when we
tried to log in with the wrong password on GNOME, but since F34
it's transient and disappears too quick to reliably catch, so
we don't check it any more. Now F33 is EOL, drop the conditional.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-16 16:11:52 -07:00
Adam Williamson
77cadae5d4 Drop g-i-s disablement in desktop_login
The g-i-s new user mode was removed in F34, so we don't need to
do this any more (as the now-removed comment said).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-16 16:09:28 -07:00
Adam Williamson
375c7409af Drop another unnecessary release number condition
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-16 16:07:59 -07:00
Adam Williamson
381e3e3561 Drop a now-unnecessary release number conditional in a check
We're never testing a release lower than 34 again.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-16 16:05:15 -07:00
Adam Williamson
a22d3b28b6 Drop a pre-F34 path for launching update tool on KDE
Before F34 we had to launch the update tool from the systray.
This isn't the case any more, so we can throw all this code and
these needles away.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-16 16:04:33 -07:00
Adam Williamson
8c298851a4 Drop handling of 'transient' update notification in KDE
We seem to be solidly back to always getting a permanent update
notification in current F36/Rawhide, so we don't need this more
complex path any more. We also don't need these needles any more,
they haven't matched for months.
2022-05-16 15:53:22 -07:00
Adam Williamson
01c2962f41 Note when #1933118 workaround can be removed
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-13 17:07:14 -07:00
Lukáš Růžička
29d69d1de1 Delete unusued needles that prevent branches from passing tests. 2022-05-12 09:09:42 +02:00
Adam Williamson
f7d1fe8ccd Update gte_text_replaced needle for different underlining
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-11 16:25:19 -07:00
Adam Williamson
ea880659fc Update root password screen needles for other languages
Same difference as for English - 4 pixels of padding was added.
Also move a stray Russian needle to the right directory.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-11 16:21:14 -07:00
Adam Williamson
a629020a9b post_fail_hook serial path: log the entire journal
When we're logging via the serial console when a test fails and
no network is available, we only log the journal from the current
boot. But we might well need to see messages from previous boots.
So let's just log the whole journal.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-11 16:13:52 -07:00
Adam Williamson
763ef5d48f Update leftbar_server for current Rawhide
The "FEDORA" part of the logo has changed a bit for some reason
(smaller, no TM).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-09 16:46:15 -07:00
Adam Williamson
4d2c997d47 Update root password screen needle for anaconda 37.7
A margin got bumped by four pixels.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-09 16:44:53 -07:00
Adam Williamson
a57a3ec403 _check_install_source: handle change to addrepo logging in F37
Logging of additional repo setup changed recently in F37, we
need to handle the new message format here.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-09 16:34:44 -07:00
Adam Williamson
8ff6e3b78a desktop_printing: wait longer for terminal
2 seconds isn't enough to be sure it opened, which is causing
some weird failures in KDE Rawhide update tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-09 16:33:35 -07:00
Adam Williamson
bb3221a46c btrfs_preserve_home: a bit more time for partition delete confirm
aarch64 tests are failing here because anaconda's still thinking
about the delete confirmation, it seems.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-06 14:19:31 -07:00
Adam Williamson
8468bd2e0b Shrink cockpit updates link needle a bit
We can wind up with this a bit hidden by the bottom-left URL
location indicator, so shrink it a bit to hopefully match even
in that case.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-06 14:10:15 -07:00
Adam Williamson
a441a9d7a6 _live_build: give mock tool installation longer to run
It timed out in a Rawhide update test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-06 14:08:04 -07:00
Adam Williamson
0ca13cc949 _installer_build: give lorax a bit longer to run
It timed out on some Rawhide update tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-06 14:05:41 -07:00
Adam Williamson
618944b0a9 Update French admin selected needle now it's translated
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-04 17:05:03 -07:00
Adam Williamson
c784011fc2 Add 'version 37' needles needed for Rawhide update tests
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-04 17:04:15 -07:00
Adam Williamson
3db92ef976 Cockpit updates: wait a bit after hitting up key
Otherwise we race between the needle match and the screen scroll
update, and can click the wrong thing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-04 17:02:05 -07:00
Adam Williamson
05af76265f Handle Firefox 100 disappearing scrollbars in Cockpit update test
The Cockpit update test relies on scrolling the Cockpit left bar
to find the Software Updates page, but in Firefox 100, the scroll
bars disappear shortly after the last time you moved the mouse.
To deal with this, instead of looking for a scroll bar to scroll,
we'll click the search box in the left bar and hit 'up' to scroll
it to the bottom.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-03 13:15:02 -07:00
Adam Williamson
241ab275a6 Update several needles for Firefox 100
Not sure what changed in the addon needles. For the webui needle
I think it's affected by the new scrollbar behaviour.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-03 13:14:00 -07:00
Adam Williamson
c0255c5682 Revert a change accidentally included in previous commit
So it can be re-applied separately with correct message.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-03 13:14:00 -07:00
Adam Williamson
954b6f90bc Update variant anaconda layout needles for F36 RCs
We get these variant needles with the keyboard icon and layout
name at slightly different relative vertical positions every
time we do a Final RC. I think the layout is affected by the
pre-release warning text no longer being present. Usually each
cycle something changes with the icon or with font rendering,
so the needles have to be updated, as in this case.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-03 13:10:09 -07:00
Adam Williamson
3df5d1fac8 Give _live_build a little longer to run
Seems it can take a bit longer on Rawhide sometimes.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-02 10:37:00 -07:00
Adam Williamson
12f423f5a8 Skip desktop background check for Rawhide update tests
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-04-26 16:12:55 -07:00
Adam Williamson
c41c55cefe Handle Rawhide updates in upgrade postinstall version check
When testing Rawhide updates we set VERSION to the Rawhide
release number, not "Rawhide". This post-upgrade version check
needs adjusting to handle that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-04-26 16:08:57 -07:00
Adam Williamson
0ed87c1b66 Adjust live and installer build for Rawhide support
We need to tweak various things when building live and installer
images for Rawhide.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-04-26 16:08:42 -07:00
Lukáš Růžička
aa448d48bc Reupload the needle again, as I sent an incorrect file before. 2022-04-25 14:10:08 +02:00
Lukáš Růžička
bcf46f0cd0 Fix failing Gnome Text Editor needle. 2022-04-25 13:07:49 +02:00
Adam Williamson
6ec9d9a3f1 Update Japanese needles for latest Rawhide
"Make user admin" is translated now, and Japanese text rendering
seems to have changed a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-04-21 08:27:40 -07:00
Adam Williamson
6f90551eea Update KDE expand_systray needle for latest Rawhide
The caret got thinner.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-04-21 08:26:32 -07:00