示例#1
0
 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
示例#2
0
 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
示例#3
0
 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
示例#4
0
 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
示例#5
0
 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