qe-fe-automation
Version:
FE test automation framework using cypress
18 lines (16 loc) • 780 B
text/typescript
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(
'C6201212: should be able to book international flight with children',
{ tags: ['@tier2'] },
() => {
FlightUtility.prepareCompanyAndUserCreation(User_Type.PERSONAL_TRAVELER);
const child1 = createGuestDetails(12, 'FEMALE', 'Personal');
const child2 = createGuestDetails(13, 'FEMALE', 'Personal');
FlightBookingUtility.bookRoundTrip('Personal', [child1, child2]);
}
);
});