コード例 #1
0
class ApplicationsPage(RootPage):
    PAGE_MENU = MENU.APPLICATIONS.text

    namespace = NamespaceFilter()
    filter = Filter()
    sort = SortBar()
    duration = DropDown(locator=XP_DROP_DOWN.format('time_range_duration'))
    interval = DropDown(locator=XP_DROP_DOWN.format('time_range_refresh'))
    refresh = Button(locator=REFRESH_BUTTON)
    content = ListViewApplications()
コード例 #2
0
class OverviewPage(RootPage):
    PAGE_MENU = MENU.OVERVIEW.text

    filter = Filter()
    sort = SortDropDown(locator=SORT_DROP_DOWN.format('sort_selector'))
    type = TypeDropDown(locator=XP_DROP_DOWN.format('overview-type'))
    duration = DropDown(locator=XP_DROP_DOWN.format('time_range_duration'))
    interval = DropDown(locator=XP_DROP_DOWN.format('time_range_refresh'))
    refresh = Button(locator=REFRESH_BUTTON)
    content = ListViewOverview()
コード例 #3
0
ファイル: __init__.py プロジェクト: jkandasa/kiali-qe-python
class GraphPage(RootPage):
    PAGE_MENU = MENU.GRAPH.text

    namespace = DropDown(locator=XP_DROP_DOWN.format('namespace-selector'))
    duration = DropDown(
        locator=XP_DROP_DOWN.format('graph_filter_interval_duration'))
    layout = DropDown(locator=XP_DROP_DOWN.format('graph_filter_layouts'))
    edge_labels = DropDown(locator=XP_DROP_DOWN.format('graph_filter_edges'))
    filter = CheckBoxFilter()
    refresh = Button(locator='.//button//*[contains(@class, "fa-refresh")]')
コード例 #4
0
class ServicesPage(RootPage):
    PAGE_MENU = MENU.SERVICES.text

    namespace = NamespaceFilter()
    filter = Filter()
    sort = SortBar()
    duration = DropDown(locator=XP_DROP_DOWN.format('time_range_duration'))
    interval = DropDown(locator=XP_DROP_DOWN.format('time_range_refresh'))
    refresh = Button(locator=REFRESH_BUTTON)
    actions = Actions()
    content = ListViewServices()
コード例 #5
0
ファイル: __init__.py プロジェクト: jkandasa/kiali-qe-python
class ServicesPage(RootPage):
    PAGE_MENU = MENU.SERVICES.text

    filter = Filter()
    sort = SortDropDown(locator=XP_DROP_DOWN.format('sortTypeMenu'))
    rate_interval = DropDown(
        locator=XP_DROP_DOWN.format('rateIntervalDropDown'))
    content = ListViewServices()
    pagination = Pagination()
コード例 #6
0
class GraphPage(RootPage):
    PAGE_MENU = MENU.GRAPH.text

    namespace = NamespaceFilter()
    duration = ItemDropDown(locator=XP_DROP_DOWN.format('time_range_duration'))
    interval = ItemDropDown(locator=XP_DROP_DOWN.format('time_range_refresh'))
    edge_labels = DropDown(locator=XP_DROP_DOWN.format('graph_filter_edge_labels'))
    type = ItemDropDown(locator=XP_DROP_DOWN.format('graph_filter_view_type'))
    graph_find = FilterInput(locator='//input[@id="graph_find"]')
    graph_hide = FilterInput(locator='//input[@id="graph_hide"]')
    layout = GraphLayout()
    filter = GraphDisplayFilter("Display")
    refresh = Button(locator=REFRESH_BUTTON)
    side_panel = GraphSidePanel()