def enter_random_site_with_country_and_address_box(self): self.driver.find_element_by_id(self.SITE_NAME_ID).send_keys( fake.secondary_address()) self.driver.find_element_by_id(self.SITE_ADDRESS).send_keys( fake.street_address()) self.driver.find_element_by_id(self.SITE_ADDRESS).send_keys( fake.city()) self.driver.find_element_by_id(self.SITE_ADDRESS).send_keys( fake.state()) self.driver.find_element_by_id(self.SITE_ADDRESS).send_keys( fake.postcode()) functions.send_keys_to_autocomplete(self.driver, self.SITE_COUNTRY_ID, "Canada")
def enter_country(self, country): functions.send_keys_to_autocomplete(self.driver, self.INPUT_COUNTRY_ID, country)
def enter_country(self, country, prefix=""): functions.send_keys_to_autocomplete(self.driver, prefix + "country", country)
def enter_country(self, country): functions.send_keys_to_autocomplete(self.driver, self.COUNTRY_ID, country) functions.click_submit(self.driver)
def enter_control_list_entry(self, control_list_entry): functions.send_keys_to_autocomplete(self.driver, self.CONTROL_LIST_ENTRY_ID, control_list_entry) functions.click_submit(self.driver)
def enter_country(self, text): functions.send_keys_to_autocomplete(self.driver, self.AUTOCOMPLETE_COUNTRY_ID, text)
def enter_country(self, country): functions.send_keys_to_autocomplete(self.driver, self.MATCHING_VALUE_ID, country)
def enter_country(self, text): functions.send_keys_to_autocomplete(self.driver, "site.address.country", text)
def enter_assigned_user_filter_text(self, text): self.driver.find_element_by_id(self.INPUT_ASSIGNED_USER_ID).clear() functions.send_keys_to_autocomplete(self.driver, self.INPUT_ASSIGNED_USER_ID, text)
def enter_external_location_country(self, country): functions.send_keys_to_autocomplete(self.driver, "country", country)
def enter_queue(self, text): functions.send_keys_to_autocomplete(self.driver, self.TEXT_QUEUE_ID, text)
def filter_by_queue_name(self, queue_name): functions.try_open_filters(self.driver) functions.send_keys_to_autocomplete(self.driver, "queue", queue_name) functions.click_apply_filters(self.driver)