예제 #1
0
 def test_linkedIn(self):
     # Verify that the google+ icon in the footer opens the correct page
     # linked in is opening a sign in page instead of the caktus linked in page for the automation browser
     Footer(self.driver).linkedin()
     # switch to the new tab by finding the second window handle
     TestUtils(self.driver).switch_new_tab()
     assert self.driver.title == PageTitles.linkedIn_title
예제 #2
0
 def test_events_dropdown(self):
     # Verify that first event card matches the 'year' selected from the drop down
     year = "2017"
     # select an option from the drop down on events page
     Footer(self.driver).quick_links_events()
     Events(self.driver).event_dropdown_select_year(year)
     # verify the year in the date field
     event_date = self.driver.find_element(
         *EventsLocators.date_on_card).text
     self.assertIn(year, event_date)
예제 #3
0
 def test_facebook(self):
     # Verify that the facebook icon in the footer opens the correct page
     Footer(self.driver).facebook()
     # switch to the new tab by finding the second window handle
     TestUtils(self.driver).switch_new_tab()
     assert self.driver.current_url == PageTitles.facebook_url
예제 #4
0
 def test_google_plus(self):
     # Verify that the google+ icon in the footer opens the correct page
     Footer(self.driver).google_plus()
     TestUtils(self.driver).switch_new_tab()
     assert self.driver.current_url == PageTitles.google_plus_url
예제 #5
0
 def test_privacy_policy(self):
     Footer(self.driver).privacy_policy()
     assert self.driver.title == PageTitles.privacy_policy
예제 #6
0
 def test_twitter(self):
     # Verify that the twitter icon in the footer opens the correct page
     Footer(self.driver).twitter()
     # switch to the new tab by finding the second window handle
     TestUtils(self.driver).switch_new_tab()
     assert self.driver.title == PageTitles.twitter
예제 #7
0
 def test_quick_links_contact(self):
     # Verify that press link in footer loads correct page
     Footer(self.driver).quick_links_contact()
     assert self.driver.title == PageTitles.contact
예제 #8
0
 def test_quick_links_talks(self):
     # Verify that talks link in footer loads correct page
     Footer(self.driver).quick_links_talks()
     assert self.driver.title == PageTitles.talks
예제 #9
0
 def test_quick_links_blog(self):
     # Verify that blog link in footer loads correct page
     Footer(self.driver).quick_links_blog()
     assert self.driver.title == PageTitles.blog
예제 #10
0
 def test_quick_links_about_us(self):
     # Verify that about us link in footer loads correct page
     Footer(self.driver).quick_links_about_us()
     assert self.driver.title == PageTitles.about_us
예제 #11
0
 def test_quick_links_our_work(self):
     # Verify that our work link in footer loads correct page
     Footer(self.driver).quick_links_our_work()
     assert self.driver.title == PageTitles.casestudies