% to format css_find().click() to its actual function A few name changes as well as step changes Removal of drag testing A refactoring of login and create user. Login will no longer create the specified user
38 lines
1.4 KiB
Gherkin
38 lines
1.4 KiB
Gherkin
Feature: Course updates
|
|
As a course author, I want to be able to provide updates to my students
|
|
|
|
Scenario: Users can add updates
|
|
Given I have opened a new course in Studio
|
|
And I go to the course updates page
|
|
When I add a new update with the text "Hello"
|
|
Then I should see the update "Hello"
|
|
|
|
Scenario: Users can edit updates
|
|
Given I have opened a new course in Studio
|
|
And I go to the course updates page
|
|
When I add a new update with the text "Hello"
|
|
And I modify the text to "Goodbye"
|
|
Then I should see the update "Goodbye"
|
|
|
|
Scenario: Users can delete updates
|
|
Given I have opened a new course in Studio
|
|
And I go to the course updates page
|
|
And I add a new update with the text "Hello"
|
|
When I will confirm all alerts
|
|
And I delete the update
|
|
Then I should not see the update "Hello"
|
|
|
|
|
|
Scenario: Users can edit update dates
|
|
Given I have opened a new course in Studio
|
|
And I go to the course updates page
|
|
And I add a new update with the text "Hello"
|
|
When I edit the date to "June 1, 2013"
|
|
Then I should see the date "June 1, 2013"
|
|
|
|
Scenario: Users can change handouts
|
|
Given I have opened a new course in Studio
|
|
And I go to the course updates page
|
|
When I modify the handout to "<ol>Test</ol>"
|
|
Then I see the handout "Test"
|