Exemplo n.º 1
0
 public void TestPassengerInvalidCardNumber()
 {
     steps.SetAirportsAndFindDates(FromAirport, ToAirport, Return);
     steps.SetDateDept(DepartmentDate);
     steps.SetDateReturn(ReturnDate, ReturnNextMonth);
     steps.GetMyFlights();
     steps.SelectEconomyDept();
     steps.SelectEconomyReturn();
     steps.ConfirmSelectClass();
     steps.ConfirmFlightInfo();
     steps.SetPassengerFullInfo(passenger);
     steps.ConfirmPassengerAdress();
     steps.ConfirmPayments();
     Assert.IsTrue(steps.GetErrorInvalidCardNumber(InvalidCardNumberMessage));
 }