Beispiel #1
0
 def test_twitter(self):
     """
     Click on Twitter link, verifying that it is opened in a new tab, checking page URL
     """
     footer = Footer()
     footer.click_twitter()
     self.switch_to_previous_tab()
     assert footer.get_page_url() == 'https://twitter.com/eva__ua', 'URL doesnt match "twitter.com/eva__ua" '
Beispiel #2
0
 def test_instagram(self):
     """
     Click on Insagram link, verifying that it is opened in a new tab, checking page URL
     """
     footer = Footer()
     footer.click_instagram()
     self.switch_to_previous_tab()
     assert footer.get_page_url() == 'https://www.instagram.com/eva_ua/', 'URL doesnt match "instagram.com/eva_ua/" '
Beispiel #3
0
 def test_youtube(self):
     """
     Click on Youtube link, verifying that it is opened in a new tab, checking page URL
     """
     footer = Footer()
     footer.click_youtube()
     self.switch_to_previous_tab()
     assert footer.get_page_url() == 'https://www.youtube.com/user/evadpua', \
         'URL doesnt match "youtube.com/user/evadpua"'