tests: Use mc for testPlayBinary

cockpit doesn't seem to handle any/all non-UTF8 character data
This commit is contained in:
Justin Stephenson 2023-08-21 15:55:28 -04:00
parent 142d42066b
commit d9b8fb2b13
2 changed files with 5 additions and 5 deletions

View file

@ -42,11 +42,12 @@ class TestApplication(testlib.MachineCase):
exit exit
binaryrec: binaryrec:
cat /usr/bin/gzip mc
exit
''' '''
recordings = {'rec1': '0f25700a28c44b599869745e5fda8b0c-7106-121e79', recordings = {'rec1': '0f25700a28c44b599869745e5fda8b0c-7106-121e79',
'rec2': '0f25700a28c44b599869745e5fda8b0c-7623-135541', 'rec2': '0f25700a28c44b599869745e5fda8b0c-7623-135541',
'binaryrec': '6c652ee938b3485894dbacbb8c7c2c61-5a4-38a5'} 'binaryrec': '976e4ef1d66741848ed35f7600b94c5c-1a0f-c1ae'}
page = recordings[recording] page = recordings[recording]
@ -66,8 +67,7 @@ class TestApplication(testlib.MachineCase):
self._sel_rec('binaryrec') self._sel_rec('binaryrec')
b.click("#player-play-pause") b.click("#player-play-pause")
time.sleep(5) time.sleep(5)
b.wait_in_text(self._term_line(21), "<22>") b.wait_in_text(self._term_line(4), "exit")
b.wait_in_text(self._term_line(25), "exit")
def testFastforwardControls(self): def testFastforwardControls(self):
progress = ".pf-v5-c-progress__indicator" progress = ".pf-v5-c-progress__indicator"

Binary file not shown.