class IstioMixerPage(RootPage): PAGE_MENU = MENU.ISTIO_CONFIG.text filter = Filter() sort = SortDropDown(locator=XP_DROP_DOWN.format('sortTypeMenu')) content = ListViewIstioConfig() pagination = Pagination()
class IstioConfigPage(RootPage): PAGE_MENU = MENU.ISTIO_CONFIG.text namespace = NamespaceFilter() filter = Filter() sort = SortBar() actions = ConfigActions() refresh = Button(locator=REFRESH_BUTTON) content = ListViewIstioConfig()
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()
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()
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()
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()