UNPKG

qe-fe-automation

Version:
33 lines (30 loc) 1.01 kB
import { Provider_Type } from '@support-onboard/index'; import { TrainExchange, TrainSearchModalUtil, TrainTripType, OuiGoBookingParams, TrainBookingManager } from '@train-lib/index'; describe.skip('Train: OUIGO roundtrip exchange workflow', () => { it( 'C2317810: Should be able to book and exchange round train ticket', { tags: ['@all_train_test', '@france', '@ouigo'] }, () => { TrainSearchModalUtil.createCompanyWithProviderName({ split: Provider_Type.TRAIN_INVENTORY_TRAINLINE_OUIGO, companySuffix: '-ouigo', feeModelInfo: 'EUR' }); TrainBookingManager.createStandardTrainBooking({ origin: OuiGoBookingParams.Location.Paris, destination: OuiGoBookingParams.Location.Lyon, tripType: TrainTripType.ROUND_TRIP, fareType: OuiGoBookingParams.FareType.STANDARD }); TrainExchange.processExchangeWorkflow( 'We will send your e-ticket(s) to your email and Navan mobile app' ); } ); });