Replace unreliable keyboard shortcut by a mouse click #3839
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://openqa.suse.de/tests/1124996?version=15&distri=sle&flavor=Leanos-DVD&test=gnome&arch=x86_64&machine=64bit-ipmi&limit_previous=100#step/partitioning_firstdisk/3 tries hard to press
alt+e
while the shortcut isalt+u
in reality. It then fails in the next step because no partition is big enough (caused by pressing the wrong shortcut).We already have a needle that checks exactly for that button so why not make use of it and just click it.
The change in run() is just to make it more pretty.
Note:
Not sure if this code path is still touched somewhere. I'm pretty sure this is needed for SLE12 since it does not contain storage_ng. I'll try to run an old SLE12 job to verify this change and leave this PR as [WIP] until then.