UNPKG

qe-fe-automation

Version:
27 lines (24 loc) 854 B
import { LoginPage } from '@admin-lib/index'; import { User_Type } from '@support-onboard/index'; import { HotelInterceptApis, Hotels } from '@hotel-lib/index'; import { Checkout } from '../../../lib'; import { Utility } from '@utility-lib/utility'; describe('Personal Travel: Bleisure - Adding hotel nights from checkout', () => { beforeEach(() => { LoginPage.createNewCompanyAndLoginWithUserByType({ users: [User_Type.ADMIN], companySuffix: 'rewards' }); HotelInterceptApis.interceptHotelApis(); }); it( 'C7388400: User should be able to see the banner at checkout for business bookings', { tags: ['@tier1'] }, () => { Hotels.visitHotelSearch(); Utility.selectTripTileType('Business'); Checkout.selectHotelAndNavigateToCheckout(); Checkout.verifyCheckoutUpsellShown(); } ); });