def follow_notsignedin_modal_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.hover_over_connect_dropdown()
        page_homepage.click_on_link('Authors')
        
        page_acp_list = acp_list(webd_wrap)
        page_acp_list.click_first_acp()
        page_acp_list.acp_modal.get_name()
        page_acp_list.acp_modal.click_follow()
        page_acp_list.sign_in_modal.sign_in(email, 'password')
        page_acp_list.acp_modal.close_modal()
        page_acp_list.click_my_zola()
        
        page_my_zola = my_zola(webd_wrap)
        page_my_zola.first_activity_should_be_follow()
    
        webd_wrap.close_the_browser()
 def pledge_flow_notsignedin_modal_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.hover_over_connect_dropdown()
     page_homepage.click_on_link("Booksellers")
     
     page_booksellers = booksellers(webd_wrap)
     page_booksellers.click_first_bookseller()
     
     page_booksellers.pledge_modal.initial_pledge()
     page_homepage.sign_in_modal.sign_in(email, 'password')
     page_booksellers.pledge_modal.pledge_confirm()
     page_booksellers.confirm_bookseller_page()
     page_booksellers.pledge_modal.initial_unpledge()
     page_booksellers.pledge_modal.unpledge_confirm()
     
     webd_wrap.close_the_browser()
 def rating_signedin_modal_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_bestsellers()
     
     page_bestsellers = bestsellers(webd_wrap)
     page_bestsellers.click_first_book()
     book_title = page_bestsellers.book_modal.get_book_title()
     page_bestsellers.book_modal.rate()
     page_bestsellers.book_modal.close_modal()
     
     page_bestsellers.click_my_zola()
     
     page_my_zola = my_zola(webd_wrap)
     page_my_zola.first_activity_should_be_rated_book(book_title)
 
     webd_wrap.close_the_browser()
    def recommend_flow_signup_profile_test(self, webd_wrap):
        page_homepage = homepage(webd_wrap)
        page_homepage.get_page()
        page_homepage.click_bestsellers()
        
        page_bestsellers = bestsellers(webd_wrap)
        page_bestsellers.click_first_book()
        book_title = page_bestsellers.book_modal.get_book_title()
        page_bestsellers.book_modal.click_full_profile()
        
        page_book = book(webd_wrap)
        page_book.book_modal.click_recommend()
        page_book.sign_in_modal.click_sign_up()

        page_sign_up = sign_up(webd_wrap)
        page_sign_up.submit_new_member_info()
        
        page_book.recommend_modal.submit_recommend()
        page_book.recommend_modal.close_modal()
        page_book.click_my_zola()
        
        page_my_zola = my_zola(webd_wrap)
        page_my_zola.first_activity_should_be_recommended_book(book_title)
    
        webd_wrap.close_the_browser()
    def purchase_signedin_list_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_bestsellers()
        
        page_bestsellers = bestsellers(webd_wrap)
        book_title = page_bestsellers.get_eighth_book_title()
        page_bestsellers.click_buy_eighth_book()

        page_add_card = add_card(webd_wrap)
        page_add_card.submit_new_cc_info()
        
        page_bestsellers.purchase_confirm_modal.click_receive_emails()
        page_bestsellers.purchase_confirm_modal.click_buy()
        page_bestsellers.purchase_confirm_modal.click_done()
        
        page_bestsellers.click_my_zola()
        
        page_my_zola = my_zola(webd_wrap)
        page_my_zola.first_activity_should_be_purchased_book(book_title)
    
        webd_wrap.close_the_browser()
    def purchase_signup_profile_test(self, webd_wrap):
        page_homepage = homepage(webd_wrap)
        page_homepage.get_page()
        page_homepage.click_first_bestseller()
        book_title = page_homepage.book_modal.get_book_title()
        page_homepage.book_modal.click_full_profile()
        
        page_book = book(webd_wrap)
        page_book.click_buy()
        page_book.sign_in_modal.click_sign_up()

        page_sign_up = sign_up(webd_wrap)
        page_sign_up.submit_new_member_info()

        page_add_card = add_card(webd_wrap)
        page_add_card.submit_new_cc_info()
        
        page_book.purchase_confirm_modal.click_receive_emails()
        page_book.purchase_confirm_modal.click_buy()
        page_book.purchase_confirm_modal.click_done()
        
        page_book.click_my_zola()
        
        page_my_zola = my_zola(webd_wrap)
        page_my_zola.first_activity_should_be_purchased_book(book_title)
    
        webd_wrap.close_the_browser()
    def add_to_list_signedin_profile_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_first_bestseller()
        title = page_homepage.book_modal.get_book_title()
        page_homepage.book_modal.click_full_profile()
        
        page_book = book(webd_wrap)
        page_book.click_add_to_list()
        page_book.choose_wishlist()
        page_book.click_my_zola()
        
        page_my_zola = my_zola(webd_wrap)
        page_my_zola.first_activity_should_be_added_book(title)
    
        webd_wrap.close_the_browser()
    def star_activity_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.hover_over_connect_dropdown()
        page_homepage.click_on_link('Authors')
        
        page_acp_list = acp_list(webd_wrap)
        page_acp_list.click_first_acp()
        page_acp_list.acp_modal.click_full_profile()
        
        page_acp_profile = acp_profile(webd_wrap)
        name = page_acp_profile.get_name()
        page_acp_profile.star_first_activity()
        page_acp_profile.click_my_zola()
        
        page_my_zola = my_zola(webd_wrap)
        page_my_zola.click_starred()
        page_my_zola.first_starred_activity_should_be_from(name)

    
        webd_wrap.close_the_browser()
Example #9
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()
    def follow_signup_profile_test(self, webd_wrap):
        page_homepage = homepage(webd_wrap)
        page_homepage.get_page()

        page_homepage.hover_over_connect_dropdown()
        page_homepage.click_on_link('Authors')
        
        page_acp_list = acp_list(webd_wrap)
        page_acp_list.click_first_acp()
        page_acp_list.acp_modal.get_name()
        page_acp_list.acp_modal.click_full_profile()
        
        page_acp_profile = acp_profile(webd_wrap)
        page_acp_profile.click_follow()
        page_acp_profile.sign_in_modal.click_sign_up()
          
        page_sign_up = sign_up(webd_wrap)
        page_sign_up.submit_new_member_info()
        
        page_acp_profile.click_my_zola()
        
        page_my_zola = my_zola(webd_wrap)
        page_my_zola.first_activity_should_be_follow()
    
        webd_wrap.close_the_browser()
 def people_finder_signup_test(self, webd_wrap):
     page_homepage = homepage(webd_wrap)
     page_homepage.get_page()
     page_homepage.click_people_finder()
     page_homepage.sign_in_modal.click_sign_up()
     
     page_sign_up = sign_up(webd_wrap)
     page_sign_up.submit_new_member_info()
     
     page_find_friends = find_friends(webd_wrap)
     page_find_friends.confirm_page()
     
     webd_wrap.close_the_browser()
Example #12
0
    def wishlist_signup_test(self, webd_wrap):
        page_homepage = homepage(webd_wrap)
        page_homepage.get_page()

        page_homepage.click_wishlist()
        page_homepage.sign_in_modal.click_sign_up()
        
        page_sign_up = sign_up(webd_wrap)
        page_sign_up.submit_new_member_info()
        
        time.sleep(3)
        page_your_collection = your_collection(webd_wrap)
        page_your_collection.confirm_filter_selected('wishlist')
        
        webd_wrap.close_the_browser()
Example #13
0
 def friends_signup_test(self, webd_wrap):
     
     page_homepage = homepage(webd_wrap)
     page_homepage.get_page()
     page_homepage.hover_over_connect_dropdown()
     page_homepage.click_on_link('Friends')
     page_homepage.sign_in_modal.click_sign_up()
     
     page_sign_up = sign_up(webd_wrap)
     page_sign_up.submit_new_member_info()
     
     page_find_friends = find_friends(webd_wrap)
     page_find_friends.confirm_page()
     
     webd_wrap.close_the_browser()
Example #14
0
    def message_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()

        webd_wrap.open_page("/profile/david-tennant/")
        page_user_profile = user_profile(webd_wrap)
        page_user_profile.click_follow()
        page_user_profile.click_sign_out()

        page_homepage = homepage(webd_wrap)
        page_homepage.click_sign_in()
        page_homepage.sign_in_modal.sign_in()
        page_homepage.click_my_zola()

        page_my_zola = my_zola(webd_wrap)
        page_my_zola.click_my_followers()
        page_my_zola.click_follow_first_user()
        page_my_zola.click_first_user()
        page_my_zola.user_modal.click_send_message()
        page_my_zola.message_modal.enter_message()
        page_my_zola.message_modal.submit_message()
        page_my_zola.message_modal.close_modal()
        page_my_zola.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.click_messages()
        page_my_zola.first_message_should_be_from("David")

        webd_wrap.close_the_browser()
 def purchase_notsignedincc_profile_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_my_zola()
     
     page_my_zola = my_zola(webd_wrap)
     page_my_zola.click_billing_info()
     
     page_billing_info = billing_info(webd_wrap)
     page_billing_info.click_add_card()
     
     page_add_card = add_card(webd_wrap)
     page_add_card.submit_new_cc_info()
     
     page_billing_info.click_back_to_profile()
     
     page_my_zola.click_sign_out()
     
     page_homepage.click_first_bestseller()
     book_title = page_homepage.book_modal.get_book_title()
     page_homepage.book_modal.click_full_profile()
     
     page_book = book(webd_wrap)
     page_book.click_buy()
     page_book.sign_in_modal.sign_in(email, 'password')
     
     page_book.purchase_confirm_modal.click_receive_emails()
     page_book.purchase_confirm_modal.click_buy()
     page_book.purchase_confirm_modal.click_done()
     
     page_book.click_my_zola()
     
     page_my_zola = my_zola(webd_wrap)
     page_my_zola.first_activity_should_be_purchased_book(book_title)
 
     webd_wrap.close_the_browser()
    def feed_notsignedin_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_the_feed()
        page_homepage.sign_in_modal.sign_in(email, 'password')
        page_homepage.confirm_page()
        
        webd_wrap.close_the_browser()
    def rating_signup_list_test(self, webd_wrap):
        page_homepage = homepage(webd_wrap)
        page_homepage.get_page()
        page_homepage.click_bestsellers()

        page_bestsellers = bestsellers(webd_wrap)
        book_title = page_bestsellers.get_first_book_title()
        page_bestsellers.rate_first_book()
        page_bestsellers.sign_in_modal.click_sign_up()

        page_sign_up = sign_up(webd_wrap)
        page_sign_up.submit_new_member_info()

        page_bestsellers.click_my_zola()

        page_my_zola = my_zola(webd_wrap)
        page_my_zola.first_activity_should_be_rated_book(book_title)

        webd_wrap.close_the_browser()
    def add_to_list_signup_modal_test(self, webd_wrap):
        page_homepage = homepage(webd_wrap)
        page_homepage.get_page()

        page_homepage.click_first_bestseller()
        title = page_homepage.book_modal.get_book_title()
        page_homepage.book_modal.click_add_to_list()
        page_homepage.sign_in_modal.click_sign_up()

        page_sign_up = sign_up(webd_wrap)
        page_sign_up.submit_new_member_info()

        page_homepage.book_modal.choose_wishlist()
        page_homepage.book_modal.close_modal()
        page_homepage.click_my_zola()

        page_my_zola = my_zola(webd_wrap)
        page_my_zola.first_activity_should_be_added_book(title)

        webd_wrap.close_the_browser()
    def pledge_flow_signedin_modal_test(self, webd_wrap):
        page_homepage = homepage(webd_wrap)
        page_homepage.get_page()
        page_homepage.hover_over_connect_dropdown()
        page_homepage.click_on_link("Booksellers")
        
        page_acp_list = acp_list(webd_wrap)
        page_acp_list.click_first_acp()
        
        page_acp_list.pledge_modal.initial_pledge()
                
        page_acp_list.sign_in_modal.click_sign_up()

        page_sign_up = sign_up(webd_wrap)
        page_sign_up.submit_new_member_info()
        
        page_acp_list.pledge_modal.pledge_confirm()
        page_acp_list.confirm_bookseller_page()
        page_acp_list.pledge_modal.initial_unpledge()
        page_acp_list.pledge_modal.unpledge_confirm()
        
        webd_wrap.close_the_browser()
    def pledge_flow_signup_profile_test(self, webd_wrap):
        page_homepage = homepage(webd_wrap)
        page_homepage.get_page()
        page_homepage.hover_over_connect_dropdown()
        page_homepage.click_on_link("Booksellers")

        page_booksellers = booksellers(webd_wrap)
        page_booksellers.click_first_bookseller()
        page_booksellers.bookseller_modal.click_full_profile()

        page_bookseller_profile = bookseller_profile(webd_wrap)
        page_bookseller_profile.click_pledge()

        page_bookseller_profile.sign_in_modal.click_sign_up()

        page_sign_up = sign_up(webd_wrap)
        page_sign_up.submit_new_member_info()

        page_bookseller_profile.pledge_modal.pledge_confirm()
        page_bookseller_profile.click_unpledge()
        page_bookseller_profile.pledge_modal.unpledge_confirm()

        webd_wrap.close_the_browser()