Skip to content

Commit

Permalink
test: check-image test waits for compose notification
Browse files Browse the repository at this point in the history
The image build on fedora needs a bit more time to notify that it has
been queued.
  • Loading branch information
jkozol authored and martinpitt committed Jul 22, 2022
1 parent 6f665ca commit 0c78e51
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/verify/check-image
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,9 @@ class TestImage(composerlib.ComposerCase):
b.wait_not_present("#create-image-upload-wizard")

# notification
b.wait_visible("#alertComposeQueued")
# On first load on fedora this notification can take a while to trigger
with b.wait_timeout(300):
b.wait_visible("#alertComposeQueued")
b.click("#alertComposeQueued .pf-c-alert__action button")
b.wait_not_present("#alertComposeQueued")

Expand Down Expand Up @@ -804,9 +806,10 @@ class TestImage(composerlib.ComposerCase):
b.key_press("4")
b.click("#continue-button")
b.wait_not_present("#create-image-upload-wizard")

# notification
b.wait_visible("#alertComposeQueued")
# On first load on fedora this notification can take a while to trigger
with b.wait_timeout(300):
b.wait_visible("#alertComposeQueued")
b.click("#alertComposeQueued .pf-c-alert__action button")
b.wait_not_present("#alertComposeQueued")

Expand Down

0 comments on commit 0c78e51

Please sign in to comment.