Updated to work on Prod

This commit is contained in:
2020-10-07 17:47:48 -07:00
parent 0e29aa7ccc
commit dcba94c30f
2 changed files with 4 additions and 4 deletions

View File

@@ -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: [{

View File

@@ -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() {