section.feature 1.39 KB
Newer Older
1
@shard_2
2
Feature: CMS.Create Section
3 4 5 6 7 8 9 10 11 12 13 14
  In order offer a course on the edX platform
  As a course author
  I want to create and edit sections

  Scenario: Add a new section to a course
    Given I have opened a new course in Studio
    When I click the New Section link
    And I enter the section name and click save
    Then I see my section on the Courseware page
    And I see a release date for my section
    And I see a link to create a new subsection

cahrens committed
15 16 17 18 19 20 21 22
  Scenario: Add a new section (with a quote in the name) to a course (bug #216)
    Given I have opened a new course in Studio
    When I click the New Section link
    And I enter a section name with a quote and click save
    Then I see my section name with a quote on the Courseware page
    And I click to edit the section name
    Then I see the complete section name with a quote in the editor

23 24 25 26
  Scenario: Edit section release date
    Given I have opened a new course in Studio
    And I have added a new section
    When I click the Edit link for the release date
27
    And I set the section release date to 12/25/2013
28
    Then the section release date is updated
29
    And I see a "saving" notification
30 31 32 33

  Scenario: Delete section
    Given I have opened a new course in Studio
    And I have added a new section
JonahStanley committed
34
    When I will confirm all alerts
35
    And I press the "section" delete icon
36
    And I confirm the prompt
37
    Then the section does not exist