Commit 437d865
authored
NO-ISSUE: Take screenshot after each console key press (#1768)
* Take screenshot after each console key press
Add additional screenshots to help with debugging issues with
console interaction in CI tests.
* Add 3s sleep after ESC from network tree view
The bad_dns tests appears to fail when the Tab key press to
move to the <Quit> button is not being registered. At the end
of the test Enter key is pressed but instead of quiting
agent-tui, it enters nmtui because the cursor is still on the
<Configure Network> button.
Adding a 3s sleep after escaping from the the network tree view
should give it more time to properly exit and return to
agent-tui.
* Add an additional ESC key press after exiting nmtui
There appears to be a blank screen in some environments that
that appears after exiting nmtui. The ESC key then exits out of
this blank screen and into the network tree view. Adding
an extra ESC key press to fully exit out of nmtui and tree view.
In environments where the blank screen does not appear, the
extra ESC key press is innocuous.
* Quit agent-tui using the q key
Navigating to the <Quit> button using TAB or LEFT sometimes does
not register when sent through "virsh send-key" in the CI.
openshift/agent-installer-utils#107
introduced an alternative way to exit agent-tui from the checks
page.1 parent 3f66edd commit 437d865
2 files changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
| 66 | + | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
47 | | - | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| |||
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
57 | | - | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
0 commit comments