def test_contacts_quxinli_0325(self): """公众号会话页面(配置底部菜单栏)""" official = OfficialAccountPage() official.click_officel_account_hefeixin() time.sleep(2) official.page_should_contain_text('和飞信') official.page_contain_setting() official.page_contain_keyboard() official.page_should_contain_element_menu() #点击键盘 official.click_keyboard() time.sleep(2) official.page_contain_input_box() official.page_contain_send_button() # official.send_btn_is_clickable() #再次点击键盘图标 official.click_keyboard() time.sleep(2) official.page_should_contain_element_menu()
def test_contacts_quxinli_0325(self): """公众号会话页面(配置底部菜单栏)""" official = OfficialAccountPage() official.select_one_account_by_name('和飞信') time.sleep(2) official.page_contain_element(text='公众号标题') official.page_contain_setting() official.page_contain_keyboard() official.page_should_contain_element_menu() #点击键盘 official.click_keyboard() time.sleep(2) official.page_contain_input_box() official.page_contain_expresssion() official.page_contain_send_button() official.send_btn_is_clickable() #再次点击键盘图标 official.click_keyboard() time.sleep(2) official.page_should_contain_element_menu()