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:
parent
f7b2bdccda
commit
d2708cf533
1 changed files with 1 additions and 0 deletions
|
|
@ -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__":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue