Skip to content

Commit

Permalink
test: Clear service errors right before taking the screenshot
Browse files Browse the repository at this point in the history
On ubuntu-stable, the fwupd-refresh service would otherwise sometimes
manage to fail between resetting the failures at the start of the test
and the time we take the screenshot.
  • Loading branch information
mvollmer authored and martinpitt committed Oct 16, 2024
1 parent da3bcdd commit fe19608
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/verify/check-pages
Original file line number Diff line number Diff line change
Expand Up @@ -446,9 +446,6 @@ OnCalendar=daily
# On Ubuntu and Debian we would need to generate locales - just ignore it
self.allow_journal_messages("invalid or unusable locale: de_DE.UTF-8")

# Clean up failed services for screenshots
m.execute("systemctl reset-failed")

self.login_and_go()

filter_sel = ".pf-v5-c-text-input-group__text-input"
Expand Down Expand Up @@ -480,7 +477,10 @@ OnCalendar=daily
b.wait_text("#host-apps li a:contains('Services')", "ServicesContains: systemd")
b.wait_text("#host-apps li a:contains('Services') mark", "systemd")

# Clean up failed services for screenshots
m.execute("systemctl reset-failed")
b.wait_not_present("#services-error")

b.assert_pixels("#nav-system", "menu-search", skip_layouts=["mobile"])
b.set_layout("mobile")
b.click("#nav-system-item")
Expand Down

0 comments on commit fe19608

Please sign in to comment.