示例#1
0
 public void WhenIEnterTestAirports()
 {
     Hooks.WaitIsDisplayed(PageObject.DeparturePort);
     PageObject.DeparturePort.SendKeys("Kaunas");
     Hooks.WaitIsDisplayed(PageObject.DepartureSelect, false, true);
     PageObject.ArrivalPort.SendKeys("Barcelona");
     Hooks.WaitIsDisplayed(PageObject.ArrivalSelect, false, true);
     PageObject.AirlinesInput.SendKeys("Ryanair");
     Hooks.WaitIsDisplayed(PageObject.AirlinesSelect, false, true);
     Hooks.WaitIsDisplayed(PageObject.FlightNoInput);
     PageObject.FlightNoInput.SendKeys("1568");
     Hooks.WaitIsDisplayed(PageObject.FlightDateInput, click: true);
     Hooks.WaitIsDisplayed(PageObject.FlightDateToday, click: true);
     Hooks.WaitIsDisplayed(PageObject.FlightCancelled, click: true);
     Hooks.WaitIsDisplayed(PageObject.FlightMoreThan3, false, true);
     Hooks.WaitIsDisplayed(PageObject.FlightLessThan14d, false, true);
     Hooks.WaitIsDisplayed(PageObject.AirlineReasonInput, false, true);
     Hooks.WaitIsDisplayed(PageObject.AirlineReasonSelect, false, true);
     Hooks.WaitIsDisplayed(PageObject.ReferralInput, false, true);
     Hooks.WaitIsDisplayed(PageObject.ReferralSelect, false, true);
     Hooks.WaitIsDisplayed(PageObject.NextStep, false, true);
 }
示例#2
0
 public void ThenISeeThatClaimIsCompleted()
 {
     Hooks.WaitIsDisplayed(PageObject.ClaimSuccess);
 }