def test_information_english(self): logging.info('=====test_username_input_english start ======') l = Loginview(self.driver) username = "******" assert (l.username_input(username)) == "lichenyu" assert (self.driver.find_element_by_id( 'com.palm.test:id/tv_app_next').is_enabled()) == True
def test_information_sex_select(self): logging.info('=======test_sex_select start =========') l = Loginview(self.driver) # self.assertTrue(l.female_select()) assert l.male_select() == True assert self.driver.find_element_by_id( 'com.palm.test:id/tv_app_next').is_enabled() == False
def test_information_spain(self): logging.info('=====test_username_input_spain start ======') l = Loginview(self.driver) username = "******" assert l.username_input(username) == "Nombre de usuario" assert self.driver.find_element_by_id( 'com.palm.test:id/tv_app_next').is_enabled() == True
def test_information_japanese(self): logging.info('=====test_username_input_japanese start ======') l = Loginview(self.driver) username = "******" assert l.username_input(username) == "本当ですか" assert self.driver.find_element_by_id( 'com.palm.test:id/tv_app_next').is_enabled() == True
def test_information_birthday_select(self): logging.info('======test_birthday_select start =======') l = Loginview(self.driver) assert l.birthday_select() == True assert self.driver.find_element_by_id( 'com.palm.test:id/tv_app_next').is_enabled() == False