tests: Use mc for testPlayBinary
cockpit doesn't seem to handle any/all non-UTF8 character data
This commit is contained in:
parent
142d42066b
commit
d9b8fb2b13
2 changed files with 5 additions and 5 deletions
|
|
@ -42,11 +42,12 @@ class TestApplication(testlib.MachineCase):
|
|||
exit
|
||||
|
||||
binaryrec:
|
||||
cat /usr/bin/gzip
|
||||
mc
|
||||
exit
|
||||
'''
|
||||
recordings = {'rec1': '0f25700a28c44b599869745e5fda8b0c-7106-121e79',
|
||||
'rec2': '0f25700a28c44b599869745e5fda8b0c-7623-135541',
|
||||
'binaryrec': '6c652ee938b3485894dbacbb8c7c2c61-5a4-38a5'}
|
||||
'rec2': '0f25700a28c44b599869745e5fda8b0c-7623-135541',
|
||||
'binaryrec': '976e4ef1d66741848ed35f7600b94c5c-1a0f-c1ae'}
|
||||
|
||||
page = recordings[recording]
|
||||
|
||||
|
|
@ -66,8 +67,7 @@ class TestApplication(testlib.MachineCase):
|
|||
self._sel_rec('binaryrec')
|
||||
b.click("#player-play-pause")
|
||||
time.sleep(5)
|
||||
b.wait_in_text(self._term_line(21), "<22>")
|
||||
b.wait_in_text(self._term_line(25), "exit")
|
||||
b.wait_in_text(self._term_line(4), "exit")
|
||||
|
||||
def testFastforwardControls(self):
|
||||
progress = ".pf-v5-c-progress__indicator"
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue