Skip to content

Commit

Permalink
Merge pull request openedx#15310 from edx/sylvia/update_help_tokens
Browse files Browse the repository at this point in the history
Update Studio help tokens following doc reorg for Publisher
  • Loading branch information
Eric Fischer authored Jun 13, 2017
2 parents 3fbe60e + 3ea7a18 commit 7721237
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
10 changes: 5 additions & 5 deletions cms/envs/help_tokens.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# below are the sub-paths to the documentation for the various pages
# NOTE: If any of these page settings change, then their corresponding test should be updated
# NOTE: If any of these page settings change, their corresponding test must be updated
# in edx-platform/common/test/acceptance/tests/studio/test_studio.help.py
[pages]
default = course_author:index.html
Expand All @@ -12,12 +12,12 @@ updates = course_author:course_assets/handouts_updates.html
pages = course_author:course_assets/pages.html
files = course_author:course_assets/course_files.html
textbooks = course_author:course_assets/textbooks.html
schedule = course_author:set_up_course/setting_up_student_view.html
schedule = course_author:set_up_course/studio_add_course_information/index.html
grading = course_author:grading/index.html
team_course = course_author:set_up_course/course_staffing.html#add-course-team-members
team_course = course_author:set_up_course/studio_add_course_information/studio_course_staffing.html
team_library = course_author:course_components/libraries.html#give-other-users-access-to-your-library
advanced = course_author:index.html
checklist = course_author:set_up_course/creating_new_course.html
checklist = course_author:set_up_course/index.html
import_library = course_author:course_components/libraries.html#import-a-library
import_course = course_author:releasing_course/export_import_course.html#import-a-course
export_library = course_author:course_components/libraries.html#export-a-library
Expand All @@ -31,7 +31,7 @@ enrollment_tracks = course_author:course_features/cohorts/cohorted_courseware.ht
group_configurations = course_author:course_features/content_experiments/content_experiments_configure.html#set-up-group-configurations-in-edx-studio
container = course_author:developing_course/course_components.html#components-that-contain-other-components
video = course_author:video/video_uploads.html
certificates = course_author:set_up_course/creating_course_certificates.html
certificates = course_author:set_up_course/studio_add_course_information/studio_creating_certificates.html

# below are the language directory names for the different locales
[locales]
Expand Down
12 changes: 4 additions & 8 deletions common/test/acceptance/tests/studio/test_studio_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,6 @@ def setUp(self, is_staff=False, test_xss=True):

self.settings_page.visit()

@skip("Fix studio help links in DOC-3686")
def test_settings_page_nav_help(self):
"""
Scenario: Help link in navigation bar is working on Settings page.
Expand All @@ -809,7 +808,7 @@ def test_settings_page_nav_help(self):
Then Help link should open.
And help url should be correct
"""
expected_url = _get_expected_documentation_url('/set_up_course/setting_up_student_view.html')
expected_url = _get_expected_documentation_url('/set_up_course/studio_add_course_information/index.html')

# Assert that help link is correct.
assert_nav_help_link(
Expand Down Expand Up @@ -872,7 +871,6 @@ def setUp(self, is_staff=False, test_xss=True):

self.course_team_settings_page.visit()

@skip("Fix studio help links in DOC-3686")
def test_course_course_team_nav_help(self):
"""
Scenario: Help link in navigation bar is working on Course Team settings page
Expand All @@ -882,7 +880,7 @@ def test_course_course_team_nav_help(self):
Then Help link should open.
And help url should be correct
"""
expected_url = _get_expected_documentation_url('/set_up_course/course_staffing.html#add-course-team-members')
expected_url = _get_expected_documentation_url('/set_up_course/studio_add_course_information/studio_course_staffing.html')

# Assert that help link is correct.
assert_nav_help_link(
Expand Down Expand Up @@ -1002,7 +1000,6 @@ def setUp(self, is_staff=False, test_xss=True):

self.certificates_page.visit()

@skip("Fix studio help links in DOC-3686")
def test_certificate_page_nav_help(self):
"""
Scenario: Help link in navigation bar is working on Certificate settings page
Expand All @@ -1012,7 +1009,7 @@ def test_certificate_page_nav_help(self):
Then Help link should open.
And help url should be correct
"""
expected_url = _get_expected_documentation_url('/set_up_course/creating_course_certificates.html')
expected_url = _get_expected_documentation_url('/set_up_course/studio_add_course_information/studio_creating_certificates.html')

# Assert that help link is correct.
assert_nav_help_link(
Expand All @@ -1021,7 +1018,6 @@ def test_certificate_page_nav_help(self):
href=expected_url,
)

@skip("Fix studio help links in DOC-3686")
def test_certificate_page_side_bar_help(self):
"""
Scenario: Help link in side bar is working Certificate settings page
Expand All @@ -1031,7 +1027,7 @@ def test_certificate_page_side_bar_help(self):
Then Help link should open.
And help url should be correct
"""
expected_url = _get_expected_documentation_url('/set_up_course/creating_course_certificates.html')
expected_url = _get_expected_documentation_url('/set_up_course/studio_add_course_information/studio_creating_certificates.html')

# Assert that help link is correct.
assert_side_bar_help_link(
Expand Down

0 comments on commit 7721237

Please sign in to comment.