Conflicts: cms/djangoapps/contentstore/features/advanced-settings.feature cms/djangoapps/contentstore/features/checklists.feature cms/djangoapps/contentstore/features/component.feature cms/djangoapps/contentstore/features/course-overview.feature cms/djangoapps/contentstore/features/course-settings.feature cms/djangoapps/contentstore/features/course-team.feature cms/djangoapps/contentstore/features/course-updates.feature cms/djangoapps/contentstore/features/courses.feature cms/djangoapps/contentstore/features/discussion-editor.feature cms/djangoapps/contentstore/features/grading.feature cms/djangoapps/contentstore/features/html-editor.feature cms/djangoapps/contentstore/features/problem-editor.feature cms/djangoapps/contentstore/features/section.feature cms/djangoapps/contentstore/features/signup.feature cms/djangoapps/contentstore/features/static-pages.feature cms/djangoapps/contentstore/features/subsection.feature cms/djangoapps/contentstore/features/textbooks.feature cms/djangoapps/contentstore/features/upload.feature cms/djangoapps/contentstore/features/video-editor.feature cms/djangoapps/contentstore/features/video.feature lms/djangoapps/courseware/features/certificates.feature lms/djangoapps/courseware/features/help.feature lms/djangoapps/courseware/features/high-level-tabs.feature lms/djangoapps/courseware/features/homepage.feature lms/djangoapps/courseware/features/login.feature lms/djangoapps/courseware/features/lti.feature lms/djangoapps/courseware/features/navigation.feature lms/djangoapps/courseware/features/problems.feature lms/djangoapps/courseware/features/registration.feature lms/djangoapps/courseware/features/signup.feature lms/djangoapps/courseware/features/video.feature lms/djangoapps/courseware/features/word_cloud.feature
31 lines
1.2 KiB
Gherkin
31 lines
1.2 KiB
Gherkin
@shard_2
|
|
Feature: CMS.Create Course
|
|
In order offer a course on the edX platform
|
|
As a course author
|
|
I want to create courses
|
|
|
|
Scenario: Create a course
|
|
Given There are no courses
|
|
And I am logged into Studio
|
|
When I click the New Course button
|
|
And I fill in the new course information
|
|
And I press the "Create" button
|
|
Then the Courseware page has loaded in Studio
|
|
And I see a link for adding a new section
|
|
|
|
Scenario: Error message when org/course/run tuple is too long
|
|
Given There are no courses
|
|
And I am logged into Studio
|
|
When I click the New Course button
|
|
And I create a course with "course name", "012345678901234567890123456789", "012345678901234567890123456789", and "0123456"
|
|
Then I see an error about the length of the org/course/run tuple
|
|
And the "Create" button is disabled
|
|
|
|
Scenario: Course name is not included in the "too long" computation
|
|
Given There are no courses
|
|
And I am logged into Studio
|
|
When I click the New Course button
|
|
And I create a course with "012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "org", "coursenum", and "run"
|
|
And I press the "Create" button
|
|
Then the Courseware page has loaded in Studio
|