示例#1
0
 def list_tab_test(self, webd_wrap):
     page_homepage = homepage(webd_wrap)
     page_homepage.get_page()
     
     page_homepage.click_sign_in()
     page_homepage.sign_in_modal.click_sign_up()
      
     page_sign_up = sign_up(webd_wrap)
     email = page_sign_up.submit_new_member_info()
     
     page_find_friends = find_friends(webd_wrap)
     page_find_friends.click_skip_this()
      
     page_homepage.click_sign_out()
     page_homepage.click_sign_in()
     page_homepage.sign_in_modal.sign_in(email, 'password')
     
     page_homepage.click_my_zola()
     
     page_my_zola = my_zola(webd_wrap)
     page_my_zola.click_list_tab()
     
     page_list = list(webd_wrap)
     page_list.confirm_page()
     
     webd_wrap.close_the_browser()
示例#2
0
 def deals_test(self, webd_wrap):
     
     page_homepage = homepage(webd_wrap)
     page_homepage.get_page()
     page_homepage.click_deals()
     
     page_list = list(webd_wrap)
     page_list.confirm_daily_deals()
     
     webd_wrap.close_the_browser()