Commit f3f0f084 by Sarina Canelake

Add flaky test decorator (TNL-2199)

parent 269432ae
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
""" """
End-to-end tests for Student's Profile Page. End-to-end tests for Student's Profile Page.
""" """
from flaky import flaky
from contextlib import contextmanager from contextlib import contextmanager
from datetime import datetime from datetime import datetime
...@@ -697,6 +698,7 @@ class DifferentUserLearnerProfilePageTest(LearnerProfileTestMixin, WebAppTest): ...@@ -697,6 +698,7 @@ class DifferentUserLearnerProfilePageTest(LearnerProfileTestMixin, WebAppTest):
self.verify_profile_page_is_private(profile_page, is_editable=False) self.verify_profile_page_is_private(profile_page, is_editable=False)
self.verify_profile_page_view_event(username, different_user_id, visibility=self.PRIVACY_PRIVATE) self.verify_profile_page_view_event(username, different_user_id, visibility=self.PRIVACY_PRIVATE)
@flaky # TODO fix this, see TNL-2199
def test_different_user_public_profile(self): def test_different_user_public_profile(self):
""" """
Scenario: Verify that desired fields are shown when looking at a different user's public profile. Scenario: Verify that desired fields are shown when looking at a different user's public profile.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment