From 77bdf7c206585ef57911e14257941a58f0097544 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Tue, 27 Oct 2026 10:19:37 +0100 Subject: [PATCH] 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. --- tests/test_install_tui.py | 2 ++ wiki/first-install.md | 5 +++-- wiki/installer.md | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/test_install_tui.py b/tests/test_install_tui.py index 178ec77d8..7bfaadb65 100644 --- a/tests/test_install_tui.py +++ b/tests/test_install_tui.py @@ -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() diff --git a/wiki/first-install.md b/wiki/first-install.md index e0f93237c..00df0a3af 100644 --- a/wiki/first-install.md +++ b/wiki/first-install.md @@ -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. diff --git a/wiki/installer.md b/wiki/installer.md index 4ab2fd11d..bb74c8f9b 100644 --- a/wiki/installer.md +++ b/wiki/installer.md @@ -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: