UNPKG

qe-fe-automation

Version:
31 lines (28 loc) 1.11 kB
import { LoginPage } from '@admin-lib/index'; import { User_Type } from '@support-onboard/index'; import { HotelInterceptApis } from '@hotel-lib/index'; import { HomePage } from '@rebranded_home_page-lib/home-page'; import { PersonalInterceptApis } from '../../lib/api-intercept'; import { PersonalHomeScreen } from '../../lib/personal_homescreen'; import { ExploratorySearch } from '../../lib/exploratory_search'; describe('Personal Travel: Hotel Exploratory Search', () => { beforeEach(() => { LoginPage.createNewCompanyAndLoginWithUserByType({ users: [User_Type.ADMIN], companySuffix: 'exprewardspt' }); HotelInterceptApis.interceptHotelApis(); PersonalInterceptApis.interceptPersonalTravelApis(); HomePage.visitHomePage(); HomePage.expandSearchForm(); PersonalHomeScreen.switchToPersonalSearchLanding(); ExploratorySearch.selectVertical('hotel'); }); it( 'C11288120: Verify new traveler section at checkout for multiple travelers', { tags: ['@tier1'] }, () => { ExploratorySearch.runCheckoutFlowWithCreateTraveler(); } ); });