public void EnterInvalidReservationCodeWhenCheckingIn() { Logger.Log.Info("Start EnterInvalidReservationCodeWhenCheckingIn test."); MainPage mainPage = new MainPage(DriverSingleton.GetDriver()) .OpenPage() .GoToTabRegestrationAndFill(CreatingReservationModel.WithReservationProperties()); Assert.AreEqual(ERROR_MESSAGE_CHECK_IN, mainPage.RegestrationErrorMessage.Text); }
public void EnterInvalidReservationCodeWhenViewingReservationStatus() { Logger.Log.Info("Start EnterInvalidReservationCodeWhenViewingReservationStatus test."); MainPage mainPage = new MainPage(DriverSingleton.GetDriver()) .OpenPage() .GoToTabReservationAndFill(CreatingReservationModel.WithReservationProperties()); Assert.AreEqual("Бронирование не найдено", mainPage.ReservationErrorMessage.Text); }