Example #1
0
 def in_import_export(self):
     from cfme.automate import automate_menu_name
     return (
         self.logged_in_as_current_user and
         self.navigation.currently_selected == automate_menu_name(
             self.context['object'].appliance) + ['Import / Export'] and
         self.title.text == 'Import / Export')
Example #2
0
 def step(self):
     from cfme.automate import automate_menu_name
     self.prerequisite_view.navigation.select(
         *automate_menu_name(self.obj.appliance) + ['Import / Export'])
Example #3
0
 def is_displayed(self):
     from cfme.automate import automate_menu_name
     return (
         self.logged_in_as_current_user and
         self.navigation.currently_selected == automate_menu_name(
             self.context['object'].appliance) + ['Simulation'])