예제 #1
0
 def test_navigate_to_specific_tab_ignores_tab_if_not_specified(self):
     self.assertRaisesRegexp(RuntimeError,
         "could not find element with text =  , dummy_class = test_tabs, widget = None and index = 0",
         LIB._get_euh_tab, " ")        
     #next line shouldn't throw an error
     LIB.euh_navigate_to_specific_tab("workforce administration", "employee data")
예제 #2
0
    def test_navigate_to_specific_tab_clicks_visible_tabs(self):
        '''this really needs to be tested in the "acceptance test", i.e. on the live system
        just doing basic checking making sure we don't throw errors'''

        for tab_name in data.TABS.keys() :  
            LIB.euh_navigate_to_specific_tab("workforce administration", "employee data", tab_name)