ECOM-783 updated logistration in light of redesign

This commit is contained in:
AlasdairSwan
2014-12-18 14:39:03 -05:00
parent 8d57756312
commit a434207076
30 changed files with 557 additions and 376 deletions

View File

@@ -1,12 +1,12 @@
@shard_1
Feature: LMS.Homepage for web users
In order to get an idea what edX is about
As a an anonymous web user
As an anonymous web user
I want to check the information on the home page
Scenario: User can see the "Login" button
Scenario: User can see the "Sign in" button
Given I visit the homepage
Then I should see a link called "Log in"
Then I should see a link called "Sign in"
Scenario: User can see the "Register Now" button
Given I visit the homepage

View File

@@ -8,7 +8,7 @@ Feature: LMS.Login in as a registered user
Given I am an edX user
And I am an unactivated user
And I visit the homepage
When I click the link with the text "Log in"
When I click the link with the text "Sign in"
And I submit my credentials on the login form
Then I should see the login error message "This account has not been activated"
@@ -18,15 +18,15 @@ Feature: LMS.Login in as a registered user
Given I am an edX user
And I am an activated user
And I visit the homepage
When I click the link with the text "Log in"
When I click the link with the text "Sign in"
And I submit my credentials on the login form
Then I should be on the dashboard page
Scenario: Logout of a signed in account
Given I am logged in
When I click the dropdown arrow
And I click the link with the text "Log Out"
Then I should see a link with the text "Log in"
And I click the link with the text "Sign out"
Then I should see a link with the text "Sign in"
And I should see that the path is "/"
Scenario: Login with valid redirect