def update_current_summary(self): UIInteractions.click(self.driver, MyOpenIssues.my_open_issues_summary_value) sleep(2) UIInteractions.input_issue_value( self.driver, MyOpenIssues.my_open_issues_editable_summary_value, " UPDATED")
def update_current_priority(self): UIInteractions.click(self.driver, MyOpenIssues.my_open_issues_priority_value) sleep(2) UIInteractions.waiting_for_element_visibility( self.driver, MyOpenIssues.my_open_issues_priority_editable_value).send_keys( Keys.BACKSPACE) sleep(2) UIInteractions.waiting_for_element_visibility( self.driver, MyOpenIssues.my_open_issues_priority_editable_value).send_keys( "High") sleep(2) UIInteractions.waiting_for_element_visibility( self.driver, MyOpenIssues.my_open_issues_priority_editable_value).send_keys( Keys.ENTER) UIInteractions.waiting_for_element_visibility( self.driver, MyOpenIssues.my_open_issues_priority_editable_value).send_keys( Keys.ENTER)
def click_my_open_issues_menu_item(self): UIInteractions.click(self.driver, Dashboard.issues_button) UIInteractions.click(self.driver, Dashboard.my_open_issues_menu_item) return MyOpenIssues(self.driver)
def start_create_issue(self): sleep(3) UIInteractions.click(self.driver, Dashboard.create_button) return CreateIssue(self.driver)