UNPKG

qe-fe-automation

Version:
27 lines (24 loc) 860 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( 'C7388401: User should not be able to see the banner at checkout for personal bookings', { tags: ['@tier1'] }, () => { Hotels.visitHotelSearch(); Utility.selectTripTileType('Personal'); Checkout.selectHotelAndNavigateToCheckout(); Checkout.verifyNoCheckoutUpsellShown(); } ); });