import { FlightInterceptApis } from '@flight-lib/index';
import { FlightBookingUtility, FlightUtility } from '@flight-modal/index';
import { User_Type } from '@support-onboard/index';

describe('Personal Travel: One way flight', () => {
  it(
    'C6201210: should be able to book personal one way flight',
    { tags: ['@tier1'] },
    () => {
      FlightUtility.prepareCompanyAndUserCreation(User_Type.PERSONAL_TRAVELER);
      FlightInterceptApis.interceptFlightsApis();
      FlightBookingUtility.bookOneWayFlight('Personal');
    }
  );
});
