def smart_phone_preview_of_questionnaire_on_the_questionnaire_tab(self):
     preview_navigation_page = PreviewNavigationPage(self.driver)
     smart_phone_preview_page = preview_navigation_page.smart_phone_preview(
     )
     self.assertIsNotNone(
         smart_phone_preview_page.get_smart_phone_instruction())
     smart_phone_preview_page.close_preview()
Exemplo n.º 2
0
    def test_smart_phone_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)
        smart_phone_instruction_page = preview_navigation_page.smart_phone_preview()
        self.assertIsNotNone(smart_phone_instruction_page.get_smart_phone_instruction())