Skip to content

Commit

Permalink
test: drop focus workaround for TextInput
Browse files Browse the repository at this point in the history
With the SearchInput this hopefully does not occur anymore.
  • Loading branch information
jelly authored and martinpitt committed Jan 21, 2025
1 parent 32834b9 commit 3dfc1ea
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/check-application
Original file line number Diff line number Diff line change
Expand Up @@ -415,12 +415,6 @@ WantedBy=multi-user.target default.target
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 input')
time.sleep(1)
if b.eval_js('document.activeElement == document.querySelector("#containers-filter input")'):
break
b.click('#containers-filter button[aria-label="Reset"]')
self.machine.execute("podman pod create --infra=false --name pod-2")
self.waitPodContainer("pod-2", [])
Expand Down

0 comments on commit 3dfc1ea

Please sign in to comment.