qe-fe-automation
Version:
FE test automation framework using cypress
20 lines (17 loc) • 743 B
text/typescript
import { LoginPage } from '@admin-lib/index';
import { FlightUtility } from '@flight-modal/index';
import { HotelItinerary, HotelInterceptApis } from '@hotel-lib/index';
import { User_Type } from '@support-onboard/index';
describe('Commerce: LOCALIZATION | HOTEL | USD | BUSINESS | INVOICE', () => {
beforeEach(() => {
LoginPage.createNewCompanyAndLoginWithUserByType({
users: [User_Type.TRAVELER],
creditCardInfo: FlightUtility.getDefaultCreditCardInfoForVisa()
});
HotelInterceptApis.interceptHotelApis();
});
it('C3576202: Verify Localization for Hotel invoices', { tags: ['@tier2'] }, () => {
HotelItinerary.bookPrePayHotel();
HotelItinerary.verifyLocalizationInvoice('German (Deutsch)');
});
});