Exemplo n.º 1
0
 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()
Exemplo n.º 2
0
 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()
Exemplo n.º 3
0
 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()
Exemplo n.º 5
0
 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()
Exemplo n.º 7
0
 def check_image_exists(self):
     name = Quadicon.get_first_quad_title()
     quad = Quadicon(name, None)
     return quad.check_for_single_quadrant_icon
Exemplo n.º 8
0
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()