Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
65723e2b
Commit
65723e2b
authored
Oct 14, 2016
by
Christina Roberts
Committed by
GitHub
Oct 14, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13758 from edx/christina/tnl-5513
Fix textbook tests so a11y tests only run in a11y test phase
parents
8c22d522
3e6b545f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
common/test/acceptance/tests/studio/test_studio_textbooks.py
+2
-1
No files found.
common/test/acceptance/tests/studio/test_studio_textbooks.py
View file @
65723e2b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment