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
  • Loading branch information
KKoukiou committed Sep 4, 2023
1 parent f1720ab commit 19dc11f
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 19dc11f

Please sign in to comment.