コード例 #1
0
ファイル: ssui.py プロジェクト: arcprabh/integration_tests
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"
コード例 #2
0
class MyServiceForm(SSUIBaseLoggedInPage):

    service = SSUIlist(list_name='serviceList')