diff --git a/loginWithInstitution_config.js b/loginWithInstitution_config.js index 7a3f9c3..6674bc6 100644 --- a/loginWithInstitution_config.js +++ b/loginWithInstitution_config.js @@ -20,7 +20,7 @@ exports.config = { params: { login: 'https://app-qa.journeysmap.com/Journey/index.html#/login', - userName: 'GNight147' //QA GNight147 //PROD ProdUser147 + username: 'GNight147' //QA GNight147 //PROD ProdUser147 } /*multiCapabilities: [{ diff --git a/loginWithInstitution_spec.js b/loginWithInstitution_spec.js index f608a89..45fe882 100644 --- a/loginWithInstitution_spec.js +++ b/loginWithInstitution_spec.js @@ -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.username).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.username).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.username).then(function() { browser.sleep(1000); }); await PasswordTextBox.sendKeys('EDmin123').then(function() {