diff --git a/loginWithInstitution_spec.js b/loginWithInstitution_spec.js index bc73083..f71fc30 100644 --- a/loginWithInstitution_spec.js +++ b/loginWithInstitution_spec.js @@ -150,7 +150,7 @@ describe('Login With Institution Script', function () { //Journeys Dashboard browser.waitForAngular(); browser.getCurrentUrl(); - expect(await JourneysDashboardGreeting.getText()).toEqual('Hi, Good'); + expect(await JourneysDashboardGreeting.getText()).toContain('Hi, '); }); } @@ -160,7 +160,7 @@ describe('Login With Institution Script', function () { function SignOut() { it(': SignOut; should log out of journeysmap.', async function () { - var ProfileImage = element(by.css('.roundCenterBackgroundImage')); + var ProfileImage = element(by.css('.roundCenterBackground:nth-child(4)')); var SignOutButton = element(by.css('.dropDownFAEdits:nth-child(5) > .btn')); await ProfileImage.click().then(function() {