From 88a167a89a680229db6e96e079894327c921b670 Mon Sep 17 00:00:00 2001 From: Justin Stephenson Date: Tue, 19 Apr 2022 15:48:11 -0400 Subject: [PATCH] Tests: Assert pause state with a later command in rec1 On some systems, the 'whoami' command may still show in the terminal output if the pause does not happen fast enough. --- test/check-application | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/check-application b/test/check-application index f62d7a1..9fb405a 100755 --- a/test/check-application +++ b/test/check-application @@ -164,7 +164,7 @@ class TestApplication(MachineCase): b.click("#player-play-pause") time.sleep(10) # Make sure it didn't keep playing - b.wait_not_in_text(self._term_line(1), "whoami") + b.wait_not_in_text(self._term_line(6), "thisisatest123") # Test if it can start playing again b.click("#player-play-pause")