public void GivenIHaveOpenedTheBookingPage() { //We dont know how many records are on the server, and they are being rendered dynamically. //Currently no easy way to predict when the page has finished loading - so for now test purposes I've used sleep. //Would need to consult a developer for a more comprehensive solution. _bookingPage.Open(); System.Threading.Thread.Sleep(10000); }
public void GivenTheUserIsOnHotelBookingsPage() { bookingPage.Open(); }