Updated
This commit is contained in:
@@ -40,7 +40,7 @@ describe('Login With Institution Script', function () {
|
||||
expect(await SubTextTwo.getText()).toEqual('Forgot your password? Click here.');
|
||||
expect(InstitutionTextBox.isDisplayed()).toBe(false);
|
||||
browser.sleep(1000);
|
||||
await UsernameTextBox.sendKeys(browser.params.username).then(function() {
|
||||
await UsernameTextBox.sendKeys(browser.params.loginWithInstitutionUsername).then(function() {
|
||||
browser.sleep(1000);
|
||||
UsernameTextBox.sendKeys(protractor.Key.TAB);
|
||||
browser.sleep(1000);
|
||||
@@ -99,7 +99,7 @@ describe('Login With Institution Script', function () {
|
||||
expect(await ResetPasswordValidationMessage.getText()).toEqual("Oops. Looks like we don't recognize your information. Please try again. Or contact help@journeysmap.com.");
|
||||
await ResetPasswordUsernameTextBox.clear();
|
||||
browser.sleep(1000);
|
||||
await ResetPasswordUsernameTextBox.sendKeys(browser.params.username).then(function() {
|
||||
await ResetPasswordUsernameTextBox.sendKeys(browser.params.loginWithInstitutionUsername).then(function() {
|
||||
browser.sleep(1000);
|
||||
});
|
||||
await NextButton.click().then(function() {
|
||||
@@ -129,7 +129,7 @@ describe('Login With Institution Script', function () {
|
||||
expect(await SubTextOne.getText()).toEqual("Don't have an account? Creating one is free! Sign up here.");
|
||||
expect(await SubTextTwo.getText()).toEqual('Forgot your password? Click here.');
|
||||
expect(InstitutionTextBox.isDisplayed()).toBe(false);
|
||||
await UsernameTextBox.sendKeys(browser.params.username).then(function() {
|
||||
await UsernameTextBox.sendKeys(browser.params.loginWithInstitutionUsername).then(function() {
|
||||
browser.sleep(1000);
|
||||
});
|
||||
await PasswordTextBox.sendKeys('EDmin123').then(function() {
|
||||
@@ -169,5 +169,7 @@ function SignOut() {
|
||||
await SignOutButton.click().then(function() {
|
||||
browser.sleep(2500);
|
||||
});
|
||||
browser.get(browser.params.login);
|
||||
browser.sleep(2500);
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user