Refactored Navigation Methods
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user