コード例 #1
0
ファイル: index.py プロジェクト: Lektorium-LLC/edx-platform
 def click_sign_in(self):
     """
     Press the Sign In button in the header.
     """
     next_page = LoginPage(self.browser)
     self.q(css='.action-signin')[0].click()
     return next_page.wait_for_page()
コード例 #2
0
 def click_sign_in(self):
     """
     Press the Sign In button in the header.
     """
     next_page = LoginPage(self.browser)
     self.q(css='.action-signin')[0].click()
     return next_page.wait_for_page()
コード例 #3
0
    def setUp(self):
        super(SignUpAndSignInTest, self).setUp()
        self.sign_up_page = SignupPage(self.browser)
        self.login_page = LoginPage(self.browser)

        self.course_outline_page = CourseOutlinePage(
            self.browser,
            self.course_info['org'],
            self.course_info['number'],
            self.course_info['run']
        )
        self.course_outline_sign_in_redirect_page = CourseOutlineSignInRedirectPage(
            self.browser,
            self.course_info['org'],
            self.course_info['number'],
            self.course_info['run']
        )

        self.course_fixture = CourseFixture(
            self.course_info['org'],
            self.course_info['number'],
            self.course_info['run'],
            self.course_info['display_name'],
        )
        self.user = None
コード例 #4
0
 def setUp(self):
     super(LoggedOutTest, self).setUp()
     self.pages = [
         LoginPage(self.browser),
         IndexPage(self.browser),
         SignupPage(self.browser)
     ]