test: Enter session-recording page

Cockpit can have multiple pages opened at the same time. This is
handled through iframes. When switching between pages we need to tell
tests that we will be now working with different iframe.

Before this test was checking `b.wait_present("#app")` in `/apps` page
and not in `/session-recording` page.
This commit is contained in:
Matej Marusak 2021-08-12 10:19:02 +02:00 committed by Justin Stephenson
parent f7b2bdccda
commit d2708cf533

View file

@ -398,6 +398,7 @@ class TestApplication(MachineCase):
"".format(srrow) "".format(srrow)
b, _ = self._login("/apps", srrow) b, _ = self._login("/apps", srrow)
b.click(srbut) b.click(srbut)
b.enter_page("/session-recording")
b.wait_present("#app") b.wait_present("#app")
if __name__ == "__main__": if __name__ == "__main__":