示例#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"