Skip to content

Commit

Permalink
test: wait on new image tag
Browse files Browse the repository at this point in the history
testDownloadImage flaked a very often as the test succeeds when runs
fast enough. Tagging an image to a new name in this case changes the
image list name to `copybox` possibly because it is sorted before
`my-busybox`.
  • Loading branch information
jelly committed Nov 7, 2024
1 parent c72dba0 commit 7f9862c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/check-application
Original file line number Diff line number Diff line change
Expand Up @@ -1191,8 +1191,8 @@ class TestApplication(testlib.MachineCase):
# test recognition/deletion of multiple image tags
second_tag = "localhost/copybox:latest"
self.execute(False, f"podman tag localhost:5000/my-busybox {second_tag}")
# expand details
b.click("#containers-images tr:contains('my-busybox') td.pf-v5-c-table__toggle button")
# expand details, copybox takes predence over my-busybox
b.click("#containers-images tr:contains('copybox') td.pf-v5-c-table__toggle button")
b.wait_in_text("#containers-images tbody.pf-m-expanded tr .image-details", second_tag)
dialog1.deleteImage(True, another=second_tag)

Expand Down

0 comments on commit 7f9862c

Please sign in to comment.