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);
  });
});
