コード例 #1
0
 public void Can_Delete_a_Booking()
 {
     //Go to Bookings Page
     BookingPage.GoTo();
     //delete the first booking from the list
     BookingPage.DeleteFirstBooking()
     .Delete();
     //verify that the booking id is successfully deleted
     Assert.AreSame(BookingPage.ConfirmDeletionMessage(), "Not Found", "delete was unsuccessful");
 }