Merge pull request #13758 from edx/christina/tnl-5513
Fix textbook tests so a11y tests only run in a11y test phase
This commit is contained in:
@@ -8,7 +8,6 @@ from common.test.acceptance.tests.helpers import disable_animations
|
||||
from nose.plugins.attrib import attr
|
||||
|
||||
|
||||
@attr(shard=2)
|
||||
class TextbooksTest(StudioCourseTest):
|
||||
"""
|
||||
Test that textbook functionality is working properly on studio side
|
||||
@@ -29,6 +28,7 @@ class TextbooksTest(StudioCourseTest):
|
||||
|
||||
self.textbook_view_page = TextbookViewPage(self.browser, self.course_id)
|
||||
|
||||
@attr(shard=2)
|
||||
def test_create_first_book_message(self):
|
||||
"""
|
||||
Scenario: A message is displayed on the textbooks page when there are no uploaded textbooks
|
||||
@@ -39,6 +39,7 @@ class TextbooksTest(StudioCourseTest):
|
||||
message = self.textbook_upload_page.get_element_text('.wrapper-content .no-textbook-content')
|
||||
self.assertIn("You haven't added any textbooks", message)
|
||||
|
||||
@attr(shard=2)
|
||||
def test_new_textbook_upload(self):
|
||||
"""
|
||||
Scenario: View Live link for textbook is correctly populated
|
||||
|
||||
Reference in New Issue
Block a user