Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: More precise click on CPU shares number input
Enabling the disabled element only works when clicking on the [ - ] or [ + ] buttons, not the number itself. With Firefox the test will soon click into the center of the element, which is the number. Make the selector more specific to ensure it goes to the [ - ] button. Also circumvent the "element must be not enabled" restriction by directly using `Browser.mouse()`. This has always been a race condition, as we expect the number input to be disabled by default.
- Loading branch information