Updated to work on Prod
This commit is contained in:
@@ -20,7 +20,7 @@ exports.config = {
|
|||||||
|
|
||||||
params: {
|
params: {
|
||||||
login: 'https://app-qa.journeysmap.com/Journey/index.html#/login',
|
login: 'https://app-qa.journeysmap.com/Journey/index.html#/login',
|
||||||
userName: 'GNight147' //QA GNight147 //PROD ProdUser147
|
username: 'GNight147' //QA GNight147 //PROD ProdUser147
|
||||||
}
|
}
|
||||||
|
|
||||||
/*multiCapabilities: [{
|
/*multiCapabilities: [{
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ describe('Login With Institution Script', function () {
|
|||||||
expect(await SubTextTwo.getText()).toEqual('Forgot your password? Click here.');
|
expect(await SubTextTwo.getText()).toEqual('Forgot your password? Click here.');
|
||||||
expect(InstitutionTextBox.isDisplayed()).toBe(false);
|
expect(InstitutionTextBox.isDisplayed()).toBe(false);
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
await UsernameTextBox.sendKeys(browser.params.userName).then(function() {
|
await UsernameTextBox.sendKeys(browser.params.username).then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
UsernameTextBox.sendKeys(protractor.Key.TAB);
|
UsernameTextBox.sendKeys(protractor.Key.TAB);
|
||||||
browser.sleep(1000);
|
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.");
|
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();
|
await ResetPasswordUsernameTextBox.clear();
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
await ResetPasswordUsernameTextBox.sendKeys(browser.params.userName).then(function() {
|
await ResetPasswordUsernameTextBox.sendKeys(browser.params.username).then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
});
|
});
|
||||||
await NextButton.click().then(function() {
|
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 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(await SubTextTwo.getText()).toEqual('Forgot your password? Click here.');
|
||||||
expect(InstitutionTextBox.isDisplayed()).toBe(false);
|
expect(InstitutionTextBox.isDisplayed()).toBe(false);
|
||||||
await UsernameTextBox.sendKeys(browser.params.userName).then(function() {
|
await UsernameTextBox.sendKeys(browser.params.username).then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
});
|
});
|
||||||
await PasswordTextBox.sendKeys('EDmin123').then(function() {
|
await PasswordTextBox.sendKeys('EDmin123').then(function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user