def get_first_vm_title(cls, do_not_navigate=False, provider=None): """Get the title of first VM/Instance.""" if not do_not_navigate: if provider is None: navigate_to(cls, 'All') else: provider.load_all_provider_vms() return Quadicon.get_first_quad_title()
def get_first_vm_title(cls, do_not_navigate=False, provider=None): """Get the title of first VM/Instance.""" if not do_not_navigate: if provider is None: navigate_to(cls, 'All') else: provider.load_all_provider_vms() return Quadicon.get_first_quad_title()
def get_first_vm_title(cls, do_not_navigate=False, provider=None): """Get the title of first VM/Instance.""" if not do_not_navigate: if provider is None: sel.force_navigate(cls.ALL_LIST_LOCATION) else: provider.load_all_provider_vms() return Quadicon.get_first_quad_title()
def select_first_provider_and_get_its_name(): navigate_to(ContainersProvider, 'All') tb.select('Grid View') Quadicon.select_first_quad() return Quadicon.get_first_quad_title()
def check_image_exists(self): name = Quadicon.get_first_quad_title() quad = Quadicon(name, None) return quad.check_for_single_quadrant_icon
def select_first_provider_and_get_its_name(): navigate_to(ContainersProvider, 'All') tb.select('Grid View') Quadicon.select_first_quad() return Quadicon.get_first_quad_title()
def check_image_exists(self): name = Quadicon.get_first_quad_title() quad = Quadicon(name, None) return quad.check_for_single_quadrant_icon
def get_first_vm_title(do_not_navigate=False): if not do_not_navigate: sel.force_navigate('infra_vms') return Quadicon.get_first_quad_title()