Ejemplo n.º 1
0
class MyServicesView(SSUIBaseLoggedInPage):
    title = Text(locator='//li[@class="active"]')
    service = SSUIlist(list_name='serviceList')

    def in_myservices(self):
        return (self.logged_in_as_current_user
                and self.navigation.currently_selected == ["", "My Services"])

    @property
    def is_displayed(self):
        return self.in_myservices and self.title.text == "My Services"
Ejemplo n.º 2
0
class MyServiceForm(SSUIBaseLoggedInPage):

    service = SSUIlist(list_name='serviceList')