qe-fe-automation
Version:
FE test automation framework using cypress
21 lines (18 loc) • 525 B
text/typescript
import moment = require('moment');
const DATE_FORMAT = 'YYYY-MM-DD';
export type BookingParams = {
location: string;
checkInDate: string;
checkOutDate: string;
tripName: string;
reason: string;
tripId: string;
};
export const bookingData: BookingParams = {
location: 'New York, NY, USA',
checkInDate: moment(moment()).add(20, 'days').format(DATE_FORMAT),
checkOutDate: moment(moment()).add(21, 'days').format(DATE_FORMAT),
tripName: 'Cypress NY Hotel Booking',
reason: 'TravelXen',
tripId: 'NEW'
};