Some tests for badges js
This commit is contained in:
committed by
Jonathan Piacenti
parent
17ec12c650
commit
09f5277f3b
@@ -750,6 +750,15 @@ class DifferentUserLearnerProfilePageTest(LearnerProfileTestMixin, WebAppTest):
|
||||
self.verify_profile_page_is_public(profile_page, is_editable=False)
|
||||
self.verify_profile_page_view_event(username, different_user_id, visibility=self.PRIVACY_PUBLIC)
|
||||
|
||||
def test_badge_share_modal(self):
|
||||
username = 'testcert'
|
||||
AutoAuthPage(self.browser, username=username).visit()
|
||||
profile_page = self.visit_profile_page(username)
|
||||
profile_page.display_accomplishments()
|
||||
badge = profile_page.badges[0]
|
||||
badge.display_modal()
|
||||
badge.close_modal()
|
||||
|
||||
|
||||
@attr('a11y')
|
||||
class LearnerProfileA11yTest(LearnerProfileTestMixin, WebAppTest):
|
||||
|
||||
Reference in New Issue
Block a user