[sle][functional] test fails in nis_server when opening firewall port
openQA test in scenario sle-15-SP2-Online-x86_64-nis_server@64bit fails in
When alt-f reaches the VM instead of opening firewall port is typing 'f' on the first textbox. Somehow the problem was solved when we have a needle that contains the cursor but it does not look trivial to create so we need to check what other things we could do here to have proper synchronization.
Test suite description¶
this is only the working part, there are few bugs
Fails since (at least) Build 148.1
Last good: 146.1 (or more recent)
Always latest result in this scenario: latest
#6 Updated by JRivrain over 1 year ago
I tried two different fixes, https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/9714 then https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/9729, those worked on my workstation and on prod the first time I tried, then failed on next build... What to do when Openqa simply does not send keys to the SUT ?
The idea of a needle with the cursor cannot help either, as anyway openqa sends "f" instead of "alt-f". In the second fix I tried with tab instead. Then it seems openqa forgets to send tab keys : https://openqa.suse.de/tests/3983499#step/nis_server/46
I'm out of ideas.
#8 Updated by JRivrain over 1 year ago
- Status changed from Blocked to Feedback
Another idea was to click instead of sending keys, thanks to JERiveramoya for pointing me that obvious solution. Now let's hope it keeps working this time. https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/974