qe-fe-automation
Version:
FE test automation framework using cypress
18 lines (16 loc) • 881 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: Flight: Personal Multi city custom trip', () => {
it('C6201475: Should be able to book personal multi city custom flight', { tags: ['@tier2'] }, () => {
const flightBookingParams = FlightBookingUtility.initFlightBookingParams({
locations: LocationUtility.getOriginsDestinationsForMultiCity(),
flightTripType: FlightTripType.MULTICITY_CUSTOM,
tripTileType: 'Personal',
checkInType: ' Continue without EarlyBird Check-In® '
});
FlightUtility.prepareCompanyAndUserCreation(User_Type.ADMIN);
FlightBookingUtility.bookMultiCityTripBundleOrCustom(flightBookingParams);
});
});