Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
dea5c7d3
Commit
dea5c7d3
authored
Jul 23, 2014
by
Ned Batchelder
Committed by
Anurag Ramdasan
Jul 24, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a test of login with params on the next URL
parent
533e0726
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
lms/djangoapps/courseware/features/login.feature
+10
-0
No files found.
lms/djangoapps/courseware/features/login.feature
View file @
dea5c7d3
...
...
@@ -46,3 +46,13 @@ Feature: LMS.Login in as a registered user
And I visit the url "/login?next=http
:
//www.google.com/"
When
I submit my credentials on the login form
Then
I should be on the dashboard page
Scenario
:
Login with a redirect with parameters
Given
I am an edX user
And
I am not logged in
And
I visit the url
"/debug/show_parameters?foo=hello&bar=world"
And
I should see that the path is
"/accounts/login?next=/debug/show_parameters%3Ffoo%3Dhello%26bar%3Dworld"
When
I submit my credentials on the login form
And
I wait for
"2"
seconds
Then I should see "foo
:
u'hello'"
somewhere
on
the
page
And I should see "bar
:
u'world'"
somewhere
on
the
page
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment