From 75fc8b57fa7a46b0cc74d2007e911fa64e23d6d4 Mon Sep 17 00:00:00 2001 From: Matej Marusak Date: Wed, 14 Oct 2020 10:34:46 +0200 Subject: [PATCH] Listen on event for image build In https://github.com/containers/podman/pull/7202 a new event was introduced. Listen on it as well. Closes #507 --- src/app.jsx | 1 + test/check-application | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/app.jsx b/src/app.jsx index 54006bc5e..ec138a748 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -328,6 +328,7 @@ class Application extends React.Component { case 'untag': case 'remove': case 'prune': + case 'build': this.updateImagesAfterEvent(system); break; default: diff --git a/test/check-application b/test/check-application index 4dc19d9d8..df8009f70 100755 --- a/test/check-application +++ b/test/check-application @@ -593,12 +593,6 @@ class TestApplication(testlib.MachineCase): self.execute(auth, "echo 'FROM docker.io/library/registry:2\nRUN ls' > {0}/Dockerfile".format(tmpdir)) self.execute(auth, "podman build {0}".format(tmpdir)) - # HACK due to https://github.com/containers/podman/issues/7022 - b.reload() - b.enter_page("/podman") - b.wait_present(".listing-action") - b.wait_in_text("#containers-images", "registry") - b.wait_not_in_text("#containers-images", ":") b.click(".listing-action button:contains('Show intermediate images')") b.wait_in_text("#containers-images", ":")