def navigate_to_all_data_page(self):
        """
        Function to navigate to all data page of the website.

        Return add data sender page
         """
        self.driver.find(PROJECT_LINK).click()
        return AllDataPage(self.driver)
예제 #2
0
    def navigate_to_all_data_page(self):
        """
        Function to navigate to all data page of the website.

        Return add data sender page
         """
        self.driver.wait_for_element(UI_TEST_TIMEOUT, PROJECT_LINK, True)
        self.driver.find(PROJECT_LINK).click()
        return AllDataPage(self.driver)
예제 #3
0
 def go_to_submission_log_page(cls,
                               project_name=FIRST_PROJECT_NAME,
                               cache_url=True):
     cls.driver.go_to(ALL_DATA_PAGE)
     submission_log_page = AllDataPage(
         cls.driver).navigate_to_submission_log_page(project_name)
     if not cls.URL and cache_url:
         cls.URL = cls.driver.current_url
     return submission_log_page
예제 #4
0
 def test_should_not_display_all_failed_submission_link_for_a_simple_datasender(
         self):
     self.login_with(DATA_SENDER_CREDENTIALS)
     all_data_page = AllDataPage(self.driver)
     link_exists = all_data_page.has_all_failed_submission_link()
     self.assertFalse(link_exists)
 def go_to_submission_log_page(cls, project_name=FIRST_PROJECT_NAME):
     cls.driver.go_to(ALL_DATA_PAGE)
     submission_log_page = AllDataPage(
         cls.driver).navigate_to_submission_log_page(project_name)
     return submission_log_page