Adjust login modal

* Rename loginForm
* Use larger buttons for logging in or registering
* Use fully translated placeholder text
This commit is contained in:
Blade Barringer
2015-07-02 07:58:11 -05:00
parent 5cb6f0f482
commit 4bcff71859
4 changed files with 8 additions and 11 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ describe('front page', function() {
browser.sleep(1000);
element(by.model('loginUsername')).sendKeys('username');
element(by.model('loginPassword')).sendKeys('pass');
var login = element(by.css("#login-tab input[value='Login']"));
var login = element(by.css("#loginForm input[value='Login']"));
login.click();
var alertDialog = browser.switchTo().alert();
expect(alertDialog.getText()).toMatch("Uh-oh - your username or password is incorrect.\n- Make sure your username or email is typed correctly.\n- You may have signed up with Facebook, not email. Double-check by trying Facebook login.\n- If you forgot your password, click \"Forgot Password\".");