Merge pull request #9738 from edx/peter-fogg/change-studio-help-links
Remove Tender and change Studio help links.
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
@shard_1
|
||||
Feature: CMS.Help
|
||||
As a course author, I am able to access online help
|
||||
|
||||
Scenario: Users can access online help on course listing page
|
||||
Given There are no courses
|
||||
And I am logged into Studio
|
||||
Then I should see online help for "get_started"
|
||||
|
||||
|
||||
Scenario: Users can access online help within a course
|
||||
Given I have opened a new course in Studio
|
||||
|
||||
And I click the course link in Studio Home
|
||||
Then I should see online help for "outline"
|
||||
|
||||
And I go to the course updates page
|
||||
Then I should see online help for "updates"
|
||||
|
||||
And I go to the pages page
|
||||
Then I should see online help for "pages"
|
||||
|
||||
And I go to the files and uploads page
|
||||
Then I should see online help for "files"
|
||||
|
||||
And I go to the textbooks page
|
||||
Then I should see online help for "textbooks"
|
||||
|
||||
And I select Schedule and Details
|
||||
Then I should see online help for "setting_up"
|
||||
|
||||
And I am viewing the grading settings
|
||||
Then I should see online help for "grading"
|
||||
|
||||
And I am viewing the course team settings
|
||||
Then I should see online help for "course-team"
|
||||
|
||||
And I select the Advanced Settings
|
||||
Then I should see online help for "index"
|
||||
|
||||
And I select Checklists from the Tools menu
|
||||
Then I should see online help for "checklist"
|
||||
|
||||
And I go to the import page
|
||||
Then I should see online help for "import"
|
||||
|
||||
And I go to the export page
|
||||
Then I should see online help for "export"
|
||||
|
||||
|
||||
Scenario: Users can access online help on the unit page
|
||||
Given I am in Studio editing a new unit
|
||||
Then I should see online help for "units"
|
||||
@@ -1,24 +0,0 @@
|
||||
# pylint: disable=missing-docstring
|
||||
# pylint: disable=redefined-outer-name
|
||||
# pylint: disable=unused-argument
|
||||
|
||||
from nose.tools import assert_false # pylint: disable=no-name-in-module
|
||||
from lettuce import step, world
|
||||
|
||||
|
||||
@step(u'I should see online help for "([^"]*)"$')
|
||||
def see_online_help_for(step, page_name):
|
||||
# make sure the online Help link exists on this page and contains the expected page name
|
||||
elements_found = world.browser.find_by_xpath(
|
||||
'//li[contains(@class, "nav-account-help")]//a[contains(@href, "{page_name}")]'.format(
|
||||
page_name=page_name
|
||||
)
|
||||
)
|
||||
assert_false(elements_found.is_empty())
|
||||
|
||||
# make sure the PDF link on the sock of this page exists
|
||||
# for now, the PDF link stays constant for all the pages so we just check for "pdf"
|
||||
elements_found = world.browser.find_by_xpath(
|
||||
'//section[contains(@class, "sock")]//li[contains(@class, "js-help-pdf")]//a[contains(@href, "pdf")]'
|
||||
)
|
||||
assert_false(elements_found.is_empty())
|
||||
Reference in New Issue
Block a user