Exemplo n.º 1
0
 public void ThenIShouldGetTheFindFlightsPage()
 {
     _findFlightsPage = PageFactory.CreateFlightsPage(_context);
     Assert.IsTrue(_findFlightsPage.HasBodyText, "Unable to find the text on the Find Flights page.");
 }
Exemplo n.º 2
0
 public PageObjectSteps(WebTestContext context)
 {
     _context = context;
     _loginPage = PageFactory.CreateLoginPage(context);
     _findFlightsPage = PageFactory.CreateFlightsPage(context);
 }