def test_question_1_enter(self):
     logging.info('===========test_question_1_enter start===========')
     l = Psychological(self.driver)
     assert l.psychological_question_1() == True
 def test_question_2_quit_no(self):
     '''问题2中途退出点击no'''
     logging.info('============test_question_2_quit_no start==============')
     l = Psychological(self.driver)
     assert l.psychological_question_2_quit_no() == True
 def test_question_1_quit_yes(self):
     '''问题1中途退出点击yes'''
     logging.info('============test_question_1_quit_yes start=============')
     l = Psychological(self.driver)
     assert l.psychological_question_1_quit_yes() == True
 def test_question_2_answer_no(self):
     '''问题2全部回答no'''
     logging.info('============test_question_2_answer_no start===========')
     l = Psychological(self.driver)
     assert l.psychological_question_all_no_2() == True
 def test_question_1_answer_yes(self):
     '''问题1全部回答yes'''
     logging.info('============test_question_1_answer_yes start==========')
     l = Psychological(self.driver)
     assert l.psychological_question_all_yes_1() == True