From d2708cf5339eda0719cabff053a3f93dcd627eb9 Mon Sep 17 00:00:00 2001 From: Matej Marusak Date: Thu, 12 Aug 2021 10:19:02 +0200 Subject: [PATCH] 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. --- test/check-application | 1 + 1 file changed, 1 insertion(+) diff --git a/test/check-application b/test/check-application index ec651db..a1a6eba 100755 --- a/test/check-application +++ b/test/check-application @@ -398,6 +398,7 @@ class TestApplication(MachineCase): "".format(srrow) b, _ = self._login("/apps", srrow) b.click(srbut) + b.enter_page("/session-recording") b.wait_present("#app") if __name__ == "__main__":