Updated SignIn and SignOut calls

This commit is contained in:
2020-11-13 12:30:27 -08:00
parent 9ead4d157f
commit f6eaf6b361
13 changed files with 256 additions and 246 deletions

View File

@@ -145,17 +145,16 @@ describe('Login With Institution Script', function () {
expect(browser.isElementPresent(InstitutionDropDownList)).toBe(false);
});
await NextButton.click().then(function() {
browser.sleep(2500);
browser.sleep(5000);
});
//Journeys Dashboard
browser.waitForAngular();
expect(await JourneysDashboardGreeting.getText()).toContain('Hi, ');
expect(await JourneysDashboardGreeting.getText()).toContain('_Automated');
browser.sleep(2500);
browser.getCurrentUrl();
expect(await JourneysDashboardGreeting.getText()).toEqual('Hi, Good');
});
}
//Action Calls
//Sign Out*/
SignOut();
});
@@ -164,7 +163,6 @@ function SignOut() {
var ProfileImage = element(by.css('.roundCenterBackgroundImage'));
var SignOutButton = element(by.css('.dropDownFAEdits:nth-child(5) > .btn'));
browser.waitForAngular();
await ProfileImage.click().then(function() {
browser.sleep(1000);
});