Add Applications Menu test
testAppMenu navigates to the Applications menu before connecting to the Session Recording page. Update to semaphone job config to add cockpit-packagekit for Fedora 32 and Centos 8
This commit is contained in:
parent
e504489ab0
commit
74bc71b190
2 changed files with 13 additions and 5 deletions
|
|
@ -17,11 +17,11 @@ from testlib import *
|
|||
|
||||
# Test with pre-recorded journal with tlog UID 981
|
||||
class TestApplication(MachineCase):
|
||||
def _login(self):
|
||||
self.login_and_go("/session-recording")
|
||||
def _login(self, loc="/session-recording", wait="#app"):
|
||||
self.login_and_go(loc)
|
||||
b = self.browser
|
||||
m = self.machine
|
||||
b.wait_present("#app")
|
||||
b.wait_present(wait)
|
||||
return b, m
|
||||
|
||||
def _sel_rec(self, recording):
|
||||
|
|
@ -383,6 +383,14 @@ class TestApplication(MachineCase):
|
|||
},
|
||||
)
|
||||
|
||||
def testAppMenu(self):
|
||||
srrow = ".app-list .pf-c-data-list__item-row:" \
|
||||
"contains('Session Recording')"
|
||||
srbut = "{} button:contains('Session Recording')" \
|
||||
"".format(srrow)
|
||||
b, _ = self._login("/apps", srrow)
|
||||
b.click(srbut)
|
||||
b.wait_present("#app")
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue