UNPKG

qe-fe-automation

Version:
28 lines (24 loc) 891 B
import { LoginPage } from '@admin-lib/index'; import { Provider_Type, User_Type } from '@support-onboard/index'; import { TeamEventsInterceptApis, EventDetails, EventsWorkflow } from '@group-events-lib/index'; describe('GME: Team event: Event with +1 Guest', () => { it('C381999: Create a Team Event with +1 Guest', { tags: ['@tier1'] }, () => { LoginPage.createNewCompanyAndLoginWithUserByType({ providers: [Provider_Type.SABRE_FLIGHT], users: [User_Type.ADMIN] }); TeamEventsInterceptApis.teamEventIntercept(); EventsWorkflow.createDraftEvent('Zurich', 'Team Event'); EventDetails.setEventParticipant(); EventDetails.allowExtraGuest(); EventDetails.saveChanges(); EventDetails.sendInvite(); EventDetails.expectTeamEventCreated(); //! todo : Check the invitee's email box //! todo : Check the inviter's email box }); });