fix: line mode answers in the merged tests

The TERM probe test answers the setup question, first-install keeps
its button name on one line and under 400 words, and --page of the
installer doc script is named on the page.
This commit is contained in:
Abdessamad Derraz committed 2026-10-27 10:19:37 +01:00
1 parent 8c1887fd0c
commit 77bdf7c206
3 files changed
+7 -3

No files matched your search

+2
View File
@@ -4921,6 +4921,8 @@ class EndToEnd(unittest.TestCase):
with self.subTest(term=name):
self.env["TERM"] = name
term = self.start()
term.wait("Enter for RetroArch")
term.send("\r")
term.wait("Enter) install everything")
term.send("q\r")
term.close()
+3 -2
View File
@@ -80,8 +80,9 @@ It opens a menu:
```
- **Right folder?** Press Enter.
- **Wrong folder, or a handheld's SD card?** Choose **Another setup or
folder**. Press / and type the device (Miyoo Mini), or browse.
- **Wrong folder, or a handheld's SD card?** Choose
**Another setup or folder**. Press / and type the device (Miyoo Mini),
or browse.
Arrows move, Enter chooses, Esc goes back, as A and B on a handheld.
+2 -1
View File
@@ -1388,7 +1388,8 @@ The tables of options, events, exit codes and keys on this page sit between
from `EVENT_KEYS`, the codes from its `sys.exit` calls, the keys from
`TUI_ROUTES`. The prose cells stay as written. A row the code gains stops the
script until its text is added inside the markers, and `--check`, which a
test runs, fails on a table behind the code.
test runs, fails on a table behind the code. `--page FILE` renders another
copy of the page, which the tests use.
The [handheld](#on-a-handheld-the-retrobios-port) archives each carry
`install.py`, the one the one-line command of the same commit downloads: