Example #1
0
 def test_user_can_buy_course(self, browser):
     page = MainPage(browser)
     page.open()
     page.user_registration()
     page.search_test_course()
     page1 = CoursePage(browser)
     page1.user_buy_course()
Example #2
0
 def test_user_start_course_after_purchase(self, browser):
     page = MainPage(browser)
     page.open()
     page.user_registration()
     page.search_test_course()
     page1 = CoursePage(browser)
     page1.user_buy_course()
     page1.user_start_learning_course()
     page1.user_start_course()