Skip to content

Commit

Permalink
webui: tests: move wait for re-scanning to finish before moving forwa…
Browse files Browse the repository at this point in the history
…rd with the tests

cherry picked from commit 19dc11f

Resolves: rhbz#231357
Related: rhbz#2231339
  • Loading branch information
KKoukiou authored and M4rtinK committed Sep 4, 2023
1 parent 2f92bc1 commit e768dac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/webui/test/helpers/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ def dbus_set_initialization_mode(self, value):
@log_step(snapshots=True)
def rescan_disks(self):
self.browser.click(f"#{self._step}-rescan-disks")
self.browser.wait_not_present(f"#{self._step}-rescan-disks.pf-m-disabled")

@log_step(snapshot_before=True)
def check_disk_visible(self, disk, visible=True):
Expand Down

0 comments on commit e768dac

Please sign in to comment.