@@ -0,0 +1,2147 @@
+from lib.constants.element.page_header.lhn_menu import create_new_program%0Afrom lib import base%0A%0A%0Aclass NewProgramPage(base.Page):%0A    def enter_title(self, title):%0A        self._find_field_by_css_and_enter_data(%0A            create_new_program.SELECTOR_TITLE, title%0A        )%0A%0A    def enter_description(self, description):%0A        self._find_iframe_by_css_and_enter_data(%0A            create_new_program.SELECTOR_DESCRIPTION, description%0A        )%0A%0A    def enter_notes(self, notes):%0A        self._find_iframe_by_css_and_enter_data(%0A            create_new_program.SELECTOR_NOTES, notes%0A        )%0A%0A    def enter_code(self, code):%0A        self._find_field_by_css_and_enter_data(%0A            create_new_program.SELECTOR_CODE, code%0A        )%0A%0A    def select_state(self, state):%0A        pass%0A%0A    def hide_all_optional_fields(self):%0A        pass%0A%0A    def checkbox_check_private_program(self):%0A        self._driver.find_element_by_css_selector(%0A            create_new_program.SELECTOR_PRIVATE_CHECKBOX%0A        ).click()%0A%0A    def enter_primary_contact(self, contact):%0A        self._find_field_by_css_and_enter_data(%0A            create_new_program.SELECTOR_PRIMARY_CONTACT,%0A            contact%0A        )%0A%0A    def enter_secondary_contact(self, contact):%0A        self._find_field_by_css_and_enter_data(%0A            create_new_program.SELECTOR_SECONDARY_CONTACT,%0A            contact%0A        )%0A%0A    def enter_program_url(self, url):%0A        self._find_field_by_css_and_enter_data(%0A            create_new_program.SELECTOR_PROGRAM_URL, url%0A        )%0A%0A    def enter_reference_url(self, url):%0A        self._find_field_by_css_and_enter_data(%0A            create_new_program.SELECTOR_REFERENCE_URL, url%0A        )%0A%0A    def enter_effective_date_start_month(self):%0A        self._datepicker_month_start(create_new_program.SELECTOR_EFFECTIVE_DATE)%0A%0A    def enter_stop_date_end_month(self):%0A        self._datepicker_month_end(create_new_program.SELECTOR_STOP_DATE)%0A%0A    def save_and_add_other(self):%0A        pass%0A%0A    def save_and_close(self):%0A        self._driver.find_element_by_css_selector(%0A            create_new_program.SELECTOR_BUTTON_SAVE_AND_CLOSE%0A        ).click()%0A

Add new program page