registration.feature 944 Bytes
Newer Older
1
@shard_1
2
Feature: LMS.Register for a course
3 4 5 6
  As a registered user
  In order to access my class content
  I want to register for a class on the edX website

7
  Scenario: I can register for a course
8 9
    Given The course "6.002x" exists
    And I am logged in
10
    And I visit the courses page
11
    When I register for the course "6.002x"
12
    Then I should see the course numbered "6.002x" in my dashboard
Gabe Mulley committed
13
    And a "edx.course.enrollment.activated" server event is emitted
14

15
  Scenario: I can unenroll from a course
16
    Given I am registered for the course "6.002x"
17
    And I visit the dashboard
18
    Then I should see the course numbered "6.002x" in my dashboard
19
    When I unenroll from the course numbered "6.002x"
20
    Then I should be on the dashboard page
21
    And I should see an empty dashboard message
22
    And I should NOT see the course numbered "6.002x" in my dashboard
Gabe Mulley committed
23
    And a "edx.course.enrollment.deactivated" server event is emitted