Updated Journeys Greeting

This commit is contained in:
2020-10-14 09:13:48 -07:00
parent 5425e24e3e
commit b77b19dea1
8 changed files with 20 additions and 10 deletions

View File

@@ -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();
});

View File

@@ -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.');

View File

@@ -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();
});

View File

@@ -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);
});
}

View File

@@ -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();
});

View File

@@ -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();
});

View File

@@ -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();
});

View File

@@ -34,7 +34,7 @@ describe('Top Career Widget script', function () {
browser.waitForAngular();
browser.getCurrentUrl();
});
expect(await JourneysGreeting.getText()).toContain('Hi,');
expect(await JourneysGreeting.getText()).toContain('Hi, ');
expect(await JourneysGreeting.getText()).toContain('_Automated');
browser.waitForAngular();
browser.getCurrentUrl();