Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Commit

Permalink
Fix variables passed to test server login via username
Browse files Browse the repository at this point in the history
  • Loading branch information
Sindhu S committed Jun 1, 2016
1 parent 5f9757a commit 97dfdad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/test_login_email.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ casper.test.begin('Lastuser redirects to correct Lastuser login page', 1, functi
casper.clear();
phantom.clearCookies();
casper.thenOpenAndEvaluate(host+"/login", function(test_username, test_password){
document.querySelector('#username').value = username;
document.querySelector('#password').value = password;
document.querySelector('#username').value = test_username;
document.querySelector('#password').value = test_password;
document.querySelector('#passwordlogin').submit();
}, test_username, test_password);
casper.waitForUrl(host, function(){
Expand Down

0 comments on commit 97dfdad

Please sign in to comment.