Incidentally, fixes an acceptance test (which would have caught this bug) not running. Its step regex was "They are correctly selected after I reload the page$", which happens to be matched by "I reload the page$", another step definition. Lettuce seems to arbitrarily pick between definitions if they both match a step, so it's good to ensure that each step isn't a sub-regexes of another.
24 lines
920 B
Gherkin
24 lines
920 B
Gherkin
Feature: Course checklists
|
|
|
|
Scenario: A course author sees checklists defined by edX
|
|
Given I have opened a new course in Studio
|
|
When I select Checklists from the Tools menu
|
|
Then I see the four default edX checklists
|
|
|
|
Scenario: A course author can mark tasks as complete
|
|
Given I have opened Checklists
|
|
Then I can check and uncheck tasks in a checklist
|
|
And They are correctly selected after reloading the page
|
|
|
|
Scenario: A task can link to a location within Studio
|
|
Given I have opened Checklists
|
|
When I select a link to the course outline
|
|
Then I am brought to the course outline page
|
|
And I press the browser back button
|
|
Then I am brought back to the course outline in the correct state
|
|
|
|
Scenario: A task can link to a location outside Studio
|
|
Given I have opened Checklists
|
|
When I select a link to help page
|
|
Then I am brought to the help page in a new window
|