UNPKG

qe-fe-automation

Version:
19 lines (17 loc) 796 B
import { createGuestDetails } from '@user-lib/index'; import { FlightBookingUtility, FlightUtility } from '@flight-modal/index'; import { User_Type } from '@support-onboard/index'; // disabling this test since it is very flaky and failing intermittently on CI/CD. Will investigate further and enable it. describe('Personal Travel: Round trip flight', () => { it( 'C6201474: should be able to book with 2 adults and 1 child', { tags: ['@tier2'] }, () => { FlightUtility.prepareCompanyAndUserCreation(User_Type.PERSONAL_TRAVELER); const adult = createGuestDetails(30, 'MALE', 'Personal'); const child = createGuestDetails(12, 'FEMALE', 'Personal'); child.email = undefined; FlightBookingUtility.bookRoundTrip('Personal', [adult, child]); } ); });