Beispiel #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()
Beispiel #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()
Beispiel #3
0
 def test_2_log_sad(self):
     parking = ParkingObject(self.driver)
     HomeObject(self.driver).bad_login()
     AssertLogObject(self.driver, parking).assert_badlog()
Beispiel #4
0
 def test_1_log_happy(self):
     parking = ParkingObject(self.driver)
     HomeObject(self.driver).happy_login()
     AssertLogObject(self.driver, parking).assert_happylog()
Beispiel #5
0
 def test_3_log_blank(self):
     parking = ParkingObject(self.driver)
     HomeObject(self.driver).blank_login()
     AssertLogObject(self.driver, parking).assert_blank()