Пример #1
0
def click_on_enter_button(browser):
    hotel = HotelsSearchPage(browser)
    hotel.hit_enter_button()
Пример #2
0
def click_on_search(driver):
    hotel = HotelsSearchPage(driver)
    hotel.click_on_search_button()
Пример #3
0
def result_is_displayed(driver):
    hotel = HotelsSearchPage(driver)
    hotel.validate_results()
Пример #4
0
def enter_family(driver, family_size):
    hotel = HotelsSearchPage(driver)
    hotel.enter_family_size(family_size)
Пример #5
0
def enter_checkin_checkout(driver, check_in, check_out):
    hotel = HotelsSearchPage(driver)
    hotel.enter_date(check_in, check_out)
Пример #6
0
def enter_city(driver, city):
    hotel = HotelsSearchPage(driver)
    hotel.enter_city(city, driver)
Пример #7
0
def result_is_maintained(browser):
    hotel = HotelsSearchPage(browser)
    hotel.validate_results()
Пример #8
0
def choose_hotel(browser):
    hotel = HotelsSearchPage(browser)
    hotel.click_on_details_button()