Commit 65723e2b by Christina Roberts Committed by GitHub

Merge pull request #13758 from edx/christina/tnl-5513

Fix textbook tests so a11y tests only run in a11y test phase
parents 8c22d522 3e6b545f
......@@ -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
......
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