qe-fe-automation
Version:
FE test automation framework using cypress
21 lines (18 loc) • 767 B
text/typescript
import { TofStations, TrainSearchModalUtil } from '@train-lib/index';
import { FlightInterceptApis } from '@flight-lib/index';
import { Provider_Type } from '@support-onboard/index';
import { TofFlow } from '@train-lib/tof/tof';
describe('Train: TOF One Way', () => {
it(
'C5067056: TOF Should be able to click search for a train and verify the trains search results page loaded successfully',
{ tags: ['@tier2', '@tof', '@all_train_test'] },
() => {
FlightInterceptApis.interceptFlightsApis();
TrainSearchModalUtil.createCompanyWithProviderName({
split: Provider_Type.TRAIN_OVER_FLIGHTS
});
TofFlow.tofSearch(TofStations.TofOrigin, TofStations.TofDestination);
TofFlow.tofTrainSearchResultPage();
}
);
});