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)
def result_is_maintained(browser):
    hotel = HotelsSearchPage(browser)
    hotel.validate_results()
def choose_hotel(browser):
    hotel = HotelsSearchPage(browser)
    hotel.click_on_details_button()