def new_releases_romance_test(self, webd_wrap):
     
     page_homepage = homepage(webd_wrap)
     page_homepage.get_page()
     page_homepage.click_fiction_new_releases_link('ROMANCE',2)
     
     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 new_releases_scitech_test(self, webd_wrap):
     
     page_homepage = homepage(webd_wrap)
     page_homepage.get_page()
     page_homepage.click_nonfiction_new_releases_link('SCIENCE AND TECHNOLOGY',4)
     
     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 new_releases_selfhelp_test(self, webd_wrap):
     
     page_homepage = homepage(webd_wrap)
     page_homepage.get_page()
     page_homepage.click_nonfiction_new_releases_link('SELF-HELP',3)
     
     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 new_releases_thrillers_test(self, webd_wrap):
     
     page_homepage = homepage(webd_wrap)
     page_homepage.get_page()
     page_homepage.click_fiction_new_releases_link('THRILLERS', 3)
     
     webd_wrap.close_the_browser()
 def new_releases_business_test(self, webd_wrap):
     
     page_homepage = homepage(webd_wrap)
     page_homepage.get_page()
     page_homepage.click_nonfiction_new_releases_link('BUSINESS',2)
     
     webd_wrap.close_the_browser()
    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 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()
Example #11
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()
Example #12
0
    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()
    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 new_releases_history_test(self, webd_wrap):

        page_homepage = homepage(webd_wrap)
        page_homepage.get_page()
        page_homepage.click_nonfiction_new_releases_link("HISTORY", 5)

        webd_wrap.close_the_browser()
Example #15
0
 def new_releases_ya_test(self, webd_wrap):
     
     page_homepage = homepage(webd_wrap)
     page_homepage.get_page()
     page_homepage.click_fiction_new_releases_link('YOUNG ADULT',5)
     
     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()
Example #17
0
    def new_releases_scifi_test(self, webd_wrap):

        page_homepage = homepage(webd_wrap)
        page_homepage.get_page()
        page_homepage.click_fiction_new_releases_link("SCIENCE FICTION & FANTASY", 4)

        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()
Example #19
0
    def about_zola_test(self, webd_wrap):

        page_homepage = homepage(webd_wrap)
        page_homepage.get_page()
        page_homepage.click_about_zola()
        webd_wrap.check_url("http://news.zolabooks.com/tag/new-publisher")

        webd_wrap.close_the_browser()
Example #20
0
 def bottom_news_test(self, webd_wrap):
     
     page_homepage = homepage(webd_wrap)
     page_homepage.get_page()
     page_homepage.click_news()
     webd_wrap.check_url('http://news.zolabooks.com/')
     
     webd_wrap.close_the_browser()
Example #21
0
 def bottom_about_zola_test(self, webd_wrap):
     
     page_homepage = homepage(webd_wrap)
     page_homepage.get_page()
     page_homepage.click_bottom_about_zola()
     webd_wrap.check_url('http://news.zolabooks.com/welcome-to-zola-the-future-of-ebooks/#more-188')
     
     webd_wrap.close_the_browser()
Example #22
0
 def bottom_contact_us_test(self, webd_wrap):
     
     page_homepage = homepage(webd_wrap)
     page_homepage.get_page()
     page_homepage.click_contact_us()
     
     webd_wrap.switch_window()
     webd_wrap.close_the_browser()
Example #23
0
 def bottom_copyright_test(self, webd_wrap):
     
     page_homepage = homepage(webd_wrap)
     page_homepage.get_page()
     page_homepage.click_copyright()
     page_homepage.check_copyright_page()
     
     webd_wrap.close_the_browser()
Example #24
0
 def house_icon_test(self, webd_wrap):
     
     page_homepage = homepage(webd_wrap)
     page_homepage.get_page()
     page_homepage.click_house_icon()
     page_homepage.confirm_page()
     
     webd_wrap.close_the_browser()
Example #25
0
 def new_releases_bio_test(self, webd_wrap):
     
     page_homepage = homepage(webd_wrap)
     page_homepage.get_page()
     page_homepage.click_nonfiction_new_releases_link('BUSINESS',2)
     page_homepage.click_nonfiction_new_releases_link('BIOGRAPHY & MEMOIR',1)
     
     webd_wrap.close_the_browser()
Example #26
0
 def bottom_privacy_test(self, webd_wrap):
     
     page_homepage = homepage(webd_wrap)
     page_homepage.get_page()
     page_homepage.click_privacy()
     webd_wrap.check_url('http://about.zolabooks.com/privacy/')
     
     webd_wrap.close_the_browser()
Example #27
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()
Example #28
0
 def bottom_twitter_icon_test(self, webd_wrap):
     
     page_homepage = homepage(webd_wrap)
     page_homepage.get_page()
     page_homepage.click_twitter_icon()
     webd_wrap.switch_window()
     webd_wrap.check_url('https://twitter.com/zolabooks')
     
     webd_wrap.close_the_browser()
 def usa_today_bestsellers_test(self, webd_wrap):
     
     page_homepage = homepage(webd_wrap)
     page_homepage.get_page()
     page_homepage.click_usa_today_bestsellers()
     webd_wrap.check_url('http://www.usatoday.com/life/books/best-selling/')
     
     
     webd_wrap.close_the_browser()
Example #30
0
    def zola_exclusives_test(self, webd_wrap):
        page_homepage = homepage(webd_wrap)
        page_homepage.get_page()

        page_homepage.click_zola_exclusives()

        webd_wrap.check_url("https://zolabooks.com/profile/zolabooks")

        webd_wrap.close_the_browser()