예제 #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()