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
30 lines
1.1 KiB
Gherkin
30 lines
1.1 KiB
Gherkin
@shard_3
|
|
Feature: CMS.Sign in
|
|
In order to use the edX content
|
|
As a new user
|
|
I want to signup for a student account
|
|
|
|
Scenario: Sign up from the homepage
|
|
Given I visit the Studio homepage
|
|
When I click the link with the text "Sign Up"
|
|
And I fill in the registration form
|
|
And I press the Create My Account button on the registration form
|
|
Then I should see an email verification prompt
|
|
|
|
Scenario: Login with a valid redirect
|
|
Given I have opened a new course in Studio
|
|
And I am not logged in
|
|
And I visit the url "/MITx/999/course/Robot_Super_Course"
|
|
And I should see that the path is "/signin?next=/MITx/999/course/Robot_Super_Course"
|
|
When I fill in and submit the signin form
|
|
And I wait for "2" seconds
|
|
Then I should see that the path is "/MITx/999/course/Robot_Super_Course"
|
|
|
|
Scenario: Login with an invalid redirect
|
|
Given I have opened a new course in Studio
|
|
And I am not logged in
|
|
And I visit the url "/signin?next=http://www.google.com/"
|
|
When I fill in and submit the signin form
|
|
And I wait for "2" seconds
|
|
Then I should see that the path is "/"
|