Exemple #1
0
        public static void GoToHoldLuggagePage(IWebDriver driver)
        {
            var cookiePolicyDraw = new CookiePolicyDraw(driver);

            cookiePolicyDraw.ClickAcceptButton();

            var searchPodPage = new SearchPodPage(driver);

            searchPodPage.SelectOneWayCheckBox();
            searchPodPage.EnterOriginAirportTextField();
            searchPodPage.EnterDestinationAirportTextField();
            searchPodPage.ClickDepartingCalendar();

            var calendarDraw = new CalendarDraw(driver);

            calendarDraw.SelectCalendarDate(DateTime.UtcNow.AddDays(3));
            searchPodPage.ClickAddAdultButton();
            searchPodPage.ClickShowFlightsButton();

            var pickFlightsPage = new PickFlightsPage(driver);

            pickFlightsPage.SelectAFlight();

            var helpingHandPage = new HelpingHandPage(driver);

            helpingHandPage.ClickContinueButton();
            helpingHandPage.ClickSkipButton();

            var holdLuggagePage = new HoldLuggagePage(driver);
        }
Exemple #2
0
        public void SpecialAssistanceDrawOpens()
        {
            var cookiePolicyDraw = new CookiePolicyDraw(driver);

            cookiePolicyDraw.ClickAcceptButton();

            var searchPodPage = new SearchPodPage(driver);

            searchPodPage.SelectOneWayCheckBox();
            searchPodPage.EnterOriginAirportTextField();
            searchPodPage.EnterDestinationAirportTextField();
            searchPodPage.ClickDepartingCalendar();

            var calendarDraw = new CalendarDraw(driver);

            calendarDraw.SelectCalendarDate(DateTime.UtcNow.AddDays(3));
            searchPodPage.ClickAddAdultButton();
            searchPodPage.ClickShowFlightsButton();

            var pickFlightsPage = new PickFlightsPage(driver);

            pickFlightsPage.SelectAFlight();

            var helpingHandPage = new HelpingHandPage(driver);

            helpingHandPage.ClickContinueButton();
            helpingHandPage.ClickSkipButton();

            var holdLuggagePage = new HoldLuggagePage(driver);

            holdLuggagePage.ClickAdd15kgBagButton();
            holdLuggagePage.ClickAdd15kgBagButton();
            holdLuggagePage.ClickAdd15kgBagButton();
            holdLuggagePage.ClickRemove15kgBagButton();
            holdLuggagePage.ClickAddSportsEquipmentButton();
        }