Updated Journeys Greeting
This commit is contained in:
@@ -34,7 +34,8 @@ describe('Begin Career Exploration Widget script', function () {
|
||||
browser.waitForAngular();
|
||||
browser.getCurrentUrl();
|
||||
});
|
||||
expect(await JourneysGreeting.getText()).toEqual('Hi, Automated');
|
||||
expect(await JourneysGreeting.getText()).toContain('Hi, ');
|
||||
expect(await JourneysGreeting.getText()).toContain('_Automated');
|
||||
browser.waitForAngular();
|
||||
browser.getCurrentUrl();
|
||||
});
|
||||
|
||||
@@ -220,7 +220,8 @@ describe('Create Account script', function () {
|
||||
});
|
||||
//Dashboard
|
||||
browser.waitForAngular();
|
||||
expect(await JourneysDashboardGreeting.getText()).toEqual('Hi, Jh');
|
||||
expect(await JourneysDashboardGreeting.getText()).toContain('Hi, ');
|
||||
expect(await JourneysDashboardGreeting.getText()).toContain('_Automated');
|
||||
//Update Security Question
|
||||
await ProfileImageIcon.click().then(function() {
|
||||
browser.sleep(2500);
|
||||
@@ -401,7 +402,8 @@ function Login() {
|
||||
await ExploreCareersButton.click().then(function() {
|
||||
browser.sleep(2500);
|
||||
});
|
||||
expect(await JourneysDashboardGreeting.getText()).toEqual('Hi, Jh');
|
||||
expect(await JourneysDashboardGreeting.getText()).toContain('Hi, ');
|
||||
expect(await JourneysDashboardGreeting.getText()).toContain('_Automated');
|
||||
expect(await CareerExplorationPageTitle.getText()).toEqual('Career Exploration');
|
||||
await ClusterCardThreeSelectButton.click().then(function() {
|
||||
browser.sleep(2500);
|
||||
@@ -466,8 +468,10 @@ function LoginWithNewPassword() {
|
||||
});
|
||||
//Dashboard
|
||||
browser.waitForAngular();
|
||||
expect(await JourneysDashboardGreeting.getText()).toEqual('Hi, Jh');
|
||||
expect(await MyProgressWidgetGreeting.getText()).toEqual('Hello, Jh!');
|
||||
expect(await JourneysDashboardGreeting.getText()).toContain('Hi, ');
|
||||
expect(await JourneysDashboardGreeting.getText()).toContain('_Automated');
|
||||
expect(await MyProgressWidgetGreeting.getText()).toContain('Hello, ');
|
||||
expect(await MyProgressWidgetGreeting.getText()).toContain('_Automated');
|
||||
expect(await MyProgressWiegetSubText.getText()).toContain("Do you feel anxious about what you're going to do with your life?");
|
||||
expect(await MyProgressWiegetSubText.getText()).toContain('Take a deep breath because Journeys Map is here to help you');
|
||||
expect(await MyProgressWiegetSubText.getText()).toContain('find your path in four easy steps.');
|
||||
|
||||
@@ -34,7 +34,8 @@ describe('Interest Survey Results Widget Script', function () {
|
||||
browser.waitForAngular();
|
||||
browser.getCurrentUrl();
|
||||
});
|
||||
expect(await JourneysGreeting.getText()).toEqual('Hi, Automated');
|
||||
expect(await JourneysGreeting.getText()).toContain('Hi, ');
|
||||
expect(await JourneysGreeting.getText()).toContain('_Automated');
|
||||
browser.waitForAngular();
|
||||
browser.getCurrentUrl();
|
||||
});
|
||||
|
||||
@@ -150,6 +150,7 @@ describe('Login With Institution Script', function () {
|
||||
//Journeys Dashboard
|
||||
browser.waitForAngular();
|
||||
expect(await JourneysDashboardGreeting.getText()).toContain('Hi, ');
|
||||
expect(await JourneysDashboardGreeting.getText()).toContain('_Automated');
|
||||
browser.sleep(2500);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -34,7 +34,8 @@ describe('My Careers Widget Script', function () {
|
||||
browser.waitForAngular();
|
||||
browser.getCurrentUrl();
|
||||
});
|
||||
expect(await JourneysGreeting.getText()).toEqual('Hi, Automated');
|
||||
expect(await JourneysGreeting.getText()).toContain('Hi, ');
|
||||
expect(await JourneysGreeting.getText()).toContain('_Automated');
|
||||
browser.waitForAngular();
|
||||
browser.getCurrentUrl();
|
||||
});
|
||||
|
||||
@@ -34,7 +34,8 @@ describe('Profile And My Progress Widget Scripts', function () {
|
||||
browser.waitForAngular();
|
||||
browser.getCurrentUrl();
|
||||
});
|
||||
expect(await JourneysGreeting.getText()).toEqual('Hi, Automated');
|
||||
expect(await JourneysGreeting.getText()).toContain('Hi, ');
|
||||
expect(await JourneysGreeting.getText()).toContain('_Automated');
|
||||
browser.waitForAngular();
|
||||
browser.getCurrentUrl();
|
||||
});
|
||||
|
||||
@@ -34,7 +34,8 @@ describe('Skills Matcher Results Widget Script', function () {
|
||||
browser.waitForAngular();
|
||||
browser.getCurrentUrl();
|
||||
});
|
||||
expect(await JourneysGreeting.getText()).toEqual('Hi, Automated');
|
||||
expect(await JourneysGreeting.getText()).toContain('Hi, ');
|
||||
expect(await JourneysGreeting.getText()).toContain('_Automated');
|
||||
browser.waitForAngular();
|
||||
browser.getCurrentUrl();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user