Пример #1
0
 def test_gifsDisappear(self):
     mainPage = page.FrontendPage(self.driver)
     assert mainPage.is_gifsDisappear(
     ), "\nGifs do not disappear when ingredients are input"
Пример #2
0
 def test_gifsPresent(self):
     mainPage = page.FrontendPage(self.driver)
     assert mainPage.is_gifsPresent(
     ), "\nGifs are not present when page is loaded"
Пример #3
0
 def test_boxStep1re(self):
     mainPage = page.FrontendPage(self.driver)
     assert mainPage.is_box_step1_rehighlighted(
     ), "\nStyling for box 1st re-step is incorrect"
Пример #4
0
 def test_boxStep3(self):
     mainPage = page.FrontendPage(self.driver)
     assert mainPage.is_box_step3_highlighted(
     ), "\nStyling for box 3th step is incorrect"
Пример #5
0
 def test_footerStep3(self):
     mainPage = page.FrontendPage(self.driver)
     assert mainPage.is_footer_step3_highlighted(
     ), "\nStyling for final step is incorrect"
Пример #6
0
 def test_footerStep1(self):
     mainPage = page.FrontendPage(self.driver)
     assert mainPage.is_footer_step1_highlighted(
     ), "\nInitial styling of footer is incorrect"