corrected selector for button

This commit is contained in:
Saleem Latif
2015-09-08 19:21:26 +05:00
parent 3949242c43
commit fc16e58cfa
2 changed files with 1 additions and 2 deletions

View File

@@ -139,7 +139,7 @@ class CertificatesPage(CoursePage):
Clicks the main action presented by the prompt (such as 'Delete')
"""
self.wait_for_confirmation_prompt()
self.q(css='a.button.action-primary').first.click()
self.q(css='button.action-primary').first.click()
self.wait_for_ajax()

View File

@@ -106,7 +106,6 @@ class CertificatesTest(StudioCourseTest):
self.assertIn("Updated Course Title Override 2", certificate.course_title)
@skip # TODO fix this, see SOL-1053
def test_can_delete_certificate(self):
"""
Scenario: Ensure that the user can delete certificate.