Files
edx-platform/lms/djangoapps/courseware/features/registration.feature
Diana Huang 22cf0dfa97 Fix bug in lettuce tests where the unregister dialog wasn't
getting closed fast enough.
2013-05-16 16:30:29 -04:00

21 lines
810 B
Gherkin

Feature: Register for a course
As a registered user
In order to access my class content
I want to register for a class on the edX website
Scenario: I can register for a course
Given The course "6.002x" exists
And I am logged in
And I visit the courses page
When I register for the course "6.002x"
Then I should see the course numbered "6.002x" in my dashboard
Scenario: I can unregister for a course
Given I am registered for the course "6.002x"
And I visit the dashboard
When I click the link with the text "Unregister"
And I press the "Unregister" button in the Unenroll dialog
Then All dialogs should be closed
And I should be on the dashboard page
And I should see "Looks like you haven't registered for any courses yet." somewhere in the page