Refactored Navigation Methods

This commit is contained in:
JonahStanley
2013-06-04 13:06:18 -04:00
parent ab5f71ea44
commit c62cc23bc2
2 changed files with 75 additions and 130 deletions

View File

@@ -6,22 +6,21 @@ Feature: Navigate Course
Scenario: I can navigate to a section
Given I am viewing a course with multiple sections
When I click on section "2"
Then I see the content of section "2"
Then I should see the content of section "2"
Scenario: I can navigate to subsections
Given I am viewing a section with multiple subsections
When I click on subsection "2"
Then I see the content of subsection "2"
Then I should see the content of subsection "2"
Scenario: I can navigate to sequences
Given I am viewing a section with multiple sequences
When I click on sequence "2"
Then I see the content of sequence "2"
Then I should see the content of sequence "2"
Scenario: I can go back to where I was after I log out and back in
Given I am viewing a course with multiple sections
When I click on section "2"
And I visit the homepage
And I go to the section
And I return later
Then I should see "You were most recently in Test Section2" somewhere on the page