qe-fe-automation
Version:
FE test automation framework using cypress
21 lines (19 loc) • 669 B
text/typescript
import {
Hotels,
HotelCheckout,
HotelSearchResults,
HotelItinerary
} from '@hotel-lib/index';
import { User_Type } from '@support-onboard/index';
describe('Hotel: One traveller booking', () => {
it('C49929: Book hotel as pay at hotel', { tags: ['@tier1'] }, () => {
Hotels.prepareCompanyAndUserCreation(User_Type.ADMIN);
Hotels.searchHotels();
HotelSearchResults.selectPayAtHotelRoom();
// HotelCheckout.waitToBeLoaded();
HotelCheckout.checkForHotelCheckoutHeading();
HotelCheckout.checkoutFLow('Business');
HotelCheckout.expectHotelBookedSuccessfully('Hotel confirmed!');
HotelItinerary.verifyHotelItineraryPage();
});
});