Skip to content

Commit

Permalink
test: wait on layout change, see if this helps
Browse files Browse the repository at this point in the history
  • Loading branch information
jelly committed Oct 9, 2023
1 parent 142b8ff commit 3c5c873
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/verify/check-shell-host-switching
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class TestHostSwitching(testlib.MachineCase, HostSwitcherHelpers):
# This should all work without being admin on machine1
self.login_and_go(superuser=False)

b.assert_pixels("#nav-system", "nav-system", skip_layouts=["mobile"])
b.assert_pixels("#nav-system", "nav-system", skip_layouts=["mobile"], wait_after_layout_change=True)
b.set_layout("mobile")
b.click("#nav-system-item")
b.wait_visible("#nav-system.interact")
Expand Down
2 changes: 1 addition & 1 deletion test/verify/check-storage-used
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ ExecStart=/usr/bin/sleep infinity
mock={".pf-v5-c-popover__body p:nth-of-type(2) li": "process (user: root, pid: 1234)"},
scroll_into_view="#dialog button:contains(Currently in use)")
b.click(".pf-v5-c-popover button")
b.assert_pixels('#dialog', "format")
b.assert_pixels('#dialog', "format", wait_after_layout_change=True)
self.dialog_cancel()
self.dialog_wait_close()

Expand Down

0 comments on commit 3c5c873

Please sign in to comment.