UNPKG

qe-fe-automation

Version:
27 lines (25 loc) 916 B
import { RentalCarInterceptApis, RentalCarDropOffType, RentalCarLocationType, RentalCarUtility, LocationUtility, User_Type, RentalCarParams } from '@rentalCar-lib/index'; describe.skip('Rental Car: Cancel bookings', () => { it('C3340210: User can cancel a booking with same drop off location', { tags: ['@tier1'] }, () => { const outOfPolicy = 'No'; RentalCarUtility.prepareUsers(User_Type.TRAVELER); RentalCarInterceptApis.interceptRentalCarApis(); const rentalCarParams: RentalCarParams = { tripTileType: 'Business', dropOffType: RentalCarDropOffType.sameDropOff, pickUpLocation: LocationUtility.getRentalCarAirportUS(), outOfPolicy: outOfPolicy, dropOffLocation: LocationUtility.getRentalCarAirportUS(), rentalCarLocationType: RentalCarLocationType.airport }; RentalCarUtility.rentalCarCancelBookingWorkflow(rentalCarParams); }); });