def web_preview_of_questionnaire_on_the_questionnaire_tab(self): preview_navigation_page = PreviewNavigationPage(self.driver) web_questionnaire_preview_page = preview_navigation_page.web_questionnaire_preview( ) self.assertIsNotNone( web_questionnaire_preview_page.get_web_instruction()) web_questionnaire_preview_page.close_preview()
def test_web_preview_of_questionnaire_when_create_project(self): create_project_page = self.prerequisites_of_create_project() create_project_page.create_project_with(VALID_DATA) create_project_page.continue_create_project() preview_navigation_page = PreviewNavigationPage(self.driver) web_questionnaire_preview_page = preview_navigation_page.web_questionnaire_preview() self.assertIsNotNone(web_questionnaire_preview_page.web_questionnaire()) self.assertIsNotNone(web_questionnaire_preview_page.get_web_instruction())
def test_web_preview_of_questionnaire_on_the_questionnaire_tab(self): self.prerequisites_of_questionnaire_tab() preview_navigation_page = PreviewNavigationPage(self.driver) web_questionnaire_preview_page = preview_navigation_page.web_questionnaire_preview() self.assertIsNotNone(web_questionnaire_preview_page.get_web_instruction())