mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-20 00:28:09 -06:00
fix: wait for the Confirm count in the tap test
Confirm has no Install row until its dry run ends, so an Enter sent on its title alone fell on "Counting the files" and did nothing on the runner. The test now waits for "Counted again for these choices", drawn once the Install row exists.
This commit is contained in:
1 parent
909a989114
commit
a02d30f90c
1 file changed
+4
-4
@@ -12374,10 +12374,10 @@ class TapsOnAPtySeeFirst(unittest.TestCase):
|
||||
break
|
||||
term.send("\x1b[A")
|
||||
term.send("\r")
|
||||
# The changed choices are counted again on Confirm. Waiting on the
|
||||
# bare title matched the screen before it, and a runner that drew
|
||||
# Confirm after one settle never pressed Enter there.
|
||||
term.wait("RetroBIOS: Confirm")
|
||||
# The changed choices are counted again on Confirm, which has no
|
||||
# Install row until its dry run ends: Enter sent on the title alone
|
||||
# fell on "Counting the files" and did nothing on a slow runner.
|
||||
term.wait("Counted again for these choices")
|
||||
term.settle()
|
||||
term.send("\r")
|
||||
term.wait("files installed")
|
||||
|
||||
Reference in new issue
Block a user