def setUp(self): self.driver = webdriver.Chrome() self.login_page = lp.LoginPage(self.driver) self.login_page.sign_in_as(**lp.VALID_DATA) self.login_page.is_page_loaded(bp.PROFILE_PAGE_URL) self.profile_page = pp.ProfilePage(self.driver) self.courses_page = cp.CoursesPage(self.driver) self.course_details_page = cdp.CourseDetailsPage(self.driver) self.courses_page.go_to() self.courses_page.click_on_first_course_on_page()
def setUp(self): self.driver = webdriver.Chrome() self.courses_page = cp.CoursesPage(self.driver) self.courses_page.go_to() self.base_page = bp.BasePage(self.driver)
def setUp(self): self.driver = webdriver.Chrome() self.courses_page = cp.CoursesPage(self.driver) self.login_page = lp.LoginPage(self.driver)
def setUp(self): self.driver = webdriver.Chrome() self.courses_page = cp.CoursesPage(self.driver) self.course_details_page = cdp.CourseDetailsPage(self.driver) self.courses_page.go_to()
def setUp(self): self.driver = webdriver.Chrome() self.login_page = lp.LoginPage(self.driver) self.profile_page = pp.ProfilePage(self.driver) self.course_page = cp.CoursesPage(self.driver)
def setUp(self): self.driver = webdriver.Chrome() self.course_page = cp.CoursesPage(self.driver) self.course_page.go_to_CourseSearchPage() self.course_page.click_on_filter_course_button()