qe-fe-automation
Version:
FE test automation framework using cypress
22 lines (20 loc) • 920 B
text/typescript
import { FlightBookingUtility, FlightUtility } from '@flight-modal/index';
import { User_Type } from '@support-onboard/index';
import { LocationUtility } from '@utility-lib/location';
import { FlightTripType } from '@flight-lib/search';
describe('Personal Travel: Personal Multi city bundle flight', () => {
it(
'C48425: Should be able to book personal multi city bundled flight',
{ tags: ['@tier1'] },
() => {
const flightBookingParams = FlightBookingUtility.initFlightBookingParams({
locations: LocationUtility.getOriginsDestinationsForMultiCity(),
flightTripType: FlightTripType.MULTICITY_BUNDLE,
tripTileType: 'Personal',
checkInType: ' Continue without EarlyBird Check-In® '
});
FlightUtility.prepareCompanyAndUserCreation(User_Type.PERSONAL_TRAVELER);
FlightBookingUtility.bookMultiCityTripBundleOrCustom(flightBookingParams);
}
);
});