Example #1
0
 def test_read_our_case_studies_button(self):
     # Verify that the read our case studies button takes user to correct page
     TopNav(self.driver).logo()
     Homepage(self.driver).read_our_case_studies()
     assert self.driver.title == PageTitles.casestudies
Example #2
0
 def test_resource_blog_card_title(self):
     # Verify that the blog link in resource card takes user to blog page
     TopNav(self.driver).logo()
     Homepage(self.driver).resources_blog_card_title()
     assert self.driver.title == PageTitles.blog
Example #3
0
 def test_featured_casestudy_card(self):
     # Verify the featured case study on the homepage takes the user to the correct page
     TopNav(self.driver).logo()
     Homepage(self.driver).featured_case_study()
     assert self.driver.title == PageTitles.featured_casestudy
Example #4
0
 def test_view_services_button(self):
     # Verify that the services button takes the user to the services page
     TopNav(self.driver).logo()
     Homepage(self.driver).view_services_button()
     assert self.driver.title == PageTitles.services
Example #5
0
 def test_homepage_service_card_6(self):
     TopNav(self.driver).logo()
     Homepage(self.driver).service_card_6()
     assert self.driver.title == PageTitles.service_card_6
Example #6
0
 def test_success_model_link(self):
     TopNav(self.driver).logo()
     Homepage(self.driver).why_caktus_success_model()
     assert self.driver.title == PageTitles.success_model_blog
Example #7
0
 def test_hero_button_loads_services_page(self):
     # Verify that the button in the hero image loads the services page
     TopNav(self.driver).logo()
     Homepage(self.driver).hero_image_button()
     assert self.driver.title == PageTitles.services