Exemplo n.º 1
0
 def test_booking_happy(self):
     parking = ParkingObject(self.driver)
     HomeObject(self.driver).happy_login()
     AssertLogObject(self.driver, parking).assert_happylog()
     HomeObject(self.driver).welcome()
     parking.choose_parking()
     parking.choose_place()
     AssertLogObject(self.driver, parking).assert_booking()
     ConfirmationObject(self.driver).confirmation()
     ConfirmationObject(self.driver).logout()
Exemplo n.º 2
0
 def test_booking_happy(self):
     parking = ParkingObject(self.driver)
     HomeObject(self.driver).user1_change()
     AssertLogObject(self.driver, parking).assert_reservation()
     ConfirmationObject(self.driver).logout()
Exemplo n.º 3
0
 def test_2_log_sad(self):
     parking = ParkingObject(self.driver)
     HomeObject(self.driver).bad_login()
     AssertLogObject(self.driver, parking).assert_badlog()
Exemplo n.º 4
0
 def test_1_log_happy(self):
     parking = ParkingObject(self.driver)
     HomeObject(self.driver).happy_login()
     AssertLogObject(self.driver, parking).assert_happylog()
Exemplo n.º 5
0
 def test_3_log_blank(self):
     parking = ParkingObject(self.driver)
     HomeObject(self.driver).blank_login()
     AssertLogObject(self.driver, parking).assert_blank()