Updated SignIn and SignOut calls
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user