UNPKG

qe-fe-automation

Version:
26 lines (24 loc) 817 B
import { TrainSearchModalUtil, TrainTripType, DeutscheBahnBookingParams, TrainBookingManager, AgencyCurrency, TrainItinerary } from '@train-lib/index'; describe('Train: DB guest traveler', () => { it('C473870: Deutsche Bahn one way booking with guest traveler', { tags: ['@db', '@all_train_test'] }, () => { TrainSearchModalUtil.createCompanyWithProviderName({ feeModelInfo: AgencyCurrency.Euro }); TrainBookingManager.createStandardTrainBooking({ origin: DeutscheBahnBookingParams.Location.Berlin, destination: DeutscheBahnBookingParams.Location.Munich, fareType: DeutscheBahnBookingParams.FareType.STANDARD, tripType: TrainTripType.ONEWAY, guestTraveler: true, noOfTravelers: 2 }); TrainItinerary.expectETicketIsDownloadable(); }); });