def test_signup_duplicate_failure(self):
        page = self.go_to_homepage()
        page, _, _, email, _ = create_independent_student(page)
        assert is_email_verified_message_showing(self.selenium)

        page = self.go_to_homepage()
        page, _, _, _, _ = signup_duplicate_independent_student_fail(page, email, False)
        assert page.__class__.__name__ == "LoginPage"
    def test_signup_duplicate_failure(self):
        self.selenium.get(self.live_server_url)
        page = HomePage(self.selenium)
        page, email, _ = signup_teacher(page)
        assert is_email_verified_message_showing(self.selenium)

        self.selenium.get(self.live_server_url)
        page = HomePage(self.selenium)
        page, _, _ = signup_duplicate_teacher_fail(page, email)
        assert page.__class__.__name__ == "LoginPage"
 def test_signup(self):
     selenium.get(self.live_server_url)
     page = HomePage(selenium)
     page, _, _ = signup_teacher(page)
     assert is_email_verified_message_showing(selenium)
 def test_signup(self):
     selenium.get(self.live_server_url)
     page = HomePage(selenium)
     page, _, _ = signup_teacher(page)
     assert is_email_verified_message_showing(selenium)
 def test_signup_with_newsletter(self):
     page = self.go_to_homepage()
     page, _, _, _, _ = create_independent_student(page, newsletter=True)
     assert is_email_verified_message_showing(self.selenium)
 def test_signup(self):
     page = self.go_to_homepage()
     page, _, _, _, _ = create_independent_student(page)
     assert is_email_verified_message_showing(selenium)
 def test_signup_with_newsletter(self):
     page = self.go_to_homepage()
     page, _, _, _, _ = create_independent_student(page, newsletter=True)
     assert is_email_verified_message_showing(self.selenium)
 def test_signup(self):
     page = self.go_to_homepage()
     page, _, _, _, _ = create_independent_student(page)
     assert is_email_verified_message_showing(selenium)