diff --git a/test/check-application b/test/check-application index af30c4d0b..537153b2d 100755 --- a/test/check-application +++ b/test/check-application @@ -373,6 +373,12 @@ class TestApplication(testlib.MachineCase): b.click(".pf-v5-c-modal-box button:contains('Force delete')") self.waitPodRow("pod-1", False) + # HACK: there is some race here which steals the focus from the filter input and selects the page text instead + for _ in range(3): + b.focus('#containers-filter') + time.sleep(1) + if b.eval_js('document.activeElement == document.querySelector("#containers-filter")'): + break b.set_input_text('#containers-filter', '') self.machine.execute("podman pod create --infra=false --name pod-2") self.waitPodContainer("pod-2", [])