-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Wait until Disks table initialization before disk actions
The disk kebabs keep jumping around while the Disk table initializes and re-renders, which is a race condition when trying to click on them with the actual browser mouse. So robustify the tests to wait for the table to be complete. This mitigates the issue, and also provides some nice extra validation. This was already done in a few places, generalize this into a `waitDisks()` helper. Unfortunately in some cases waiting for the entries is still not enough, but I can't figure out what else to wait on.. Do an extra sleep for the table to settle down.
- Loading branch information
1 parent
d6dc923
commit a69ae8e
Showing
3 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters