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.
This commit is contained in:
Justin Stephenson 2022-04-19 15:48:11 -04:00
parent e716567dfc
commit 88a167a89a

View file

@ -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")