Added OnBoarding Script
This commit is contained in:
@@ -22,14 +22,14 @@ describe('Journeysmap script', function () {
|
||||
|
||||
function SignIn(UserNameTextBox, PasswordTextBox) {
|
||||
it('should sign into journeysmap.com', async function () {
|
||||
var PageGreetingText = element(by.css('.onboardingHeader'));
|
||||
var PageSubText = element(by.css('div:nth-child(5)'));
|
||||
var PageGreetingText = element(by.css('td > div > div:nth-child(1)'));
|
||||
var PageSubTextOne = element(by.css('div:nth-child(5) > div:nth-child(1)'));
|
||||
var PageSubTextTwo = element(by.css('div:nth-child(5) > div:nth-child(2)'));
|
||||
var NextButton = element(by.css('.btn'));
|
||||
var PageValidationText = element(by.css('div:nth-child(2) > div > .ng-scope'));
|
||||
var EC = protractor.ExpectedConditions;
|
||||
var EyeIcon = element(by.css('div:nth-child(2) > div > div .fa-eye'));
|
||||
var PasswordRecoveryLinkText = element(by.linkText('forget your password?'));
|
||||
var CloseXIcon = element(by.css('.overrideButtonColor'));
|
||||
var InvalidIcon = element(by.css('.far:nth-child(4)'));
|
||||
var PageValidationText = element(by.css('.ng-scope:nth-child(5)'));
|
||||
var EyeIcon = element(by.css('.fa-eye'));
|
||||
var JourneysGreeting = element(by.css('.dropdown'));
|
||||
|
||||
expect(await PageGreetingText.getText()).toEqual('Login and start exploring.');
|
||||
@@ -40,10 +40,12 @@ describe('Journeysmap script', function () {
|
||||
await PasswordTextBox.sendKeys('edmin123').then(function() {
|
||||
browser.sleep(2500);
|
||||
});
|
||||
expect(await PageSubText.getText()).toEqual('Did you forget your password?');
|
||||
expect(await PageSubTextOne.getText()).toEqual("Don't have an account? Creating one is free! Sign up here.");
|
||||
expect(await PageSubTextTwo.getText()).toEqual('Forgot your password? Click here.');
|
||||
await NextButton.click().then(function() {
|
||||
browser.sleep(2500);
|
||||
});
|
||||
browser.wait(EC.visibilityOf(InvalidIcon));
|
||||
expect(await PageValidationText.getText()).toEqual("Uh oh. Something isn't quite right. Please try again.");
|
||||
await PasswordTextBox.click().then(function() {
|
||||
browser.sleep(2500);
|
||||
@@ -53,43 +55,10 @@ describe('Journeysmap script', function () {
|
||||
browser.sleep(2500);
|
||||
});
|
||||
await PasswordTextBox.clear().then(function() {
|
||||
browser.sleep(2500);
|
||||
PasswordTextBox.sendKeys('EDmin123');
|
||||
browser.sleep(1000);
|
||||
});
|
||||
await NextButton.click().then(function() {
|
||||
browser.sleep(2500);
|
||||
});
|
||||
expect(await PageValidationText.getText()).toEqual("Uh oh. Something isn't quite right. Please try again.");
|
||||
await PasswordRecoveryLinkText.click().then(function() {
|
||||
browser.sleep(2500);
|
||||
});
|
||||
browser.getAllWindowHandles().then(function (handles) {
|
||||
browser.driver.switchTo().window(handles[1]).then(async function () {
|
||||
browser.sleep(5000);
|
||||
expect(await browser.driver.getCurrentUrl()).toEqual('https://qa.journeysmap.com/login_recovery#/findAccount');
|
||||
browser.driver.close();
|
||||
browser.sleep(2500);
|
||||
browser.driver.switchTo().window(handles[0]);
|
||||
expect(await PageGreetingText.getText()).toEqual('Login and start exploring.');
|
||||
});
|
||||
});
|
||||
await CloseXIcon.click().then(function() {
|
||||
browser.sleep(1000);
|
||||
browser.get('https://app-qa.journeysmap.com/Journey/index.html#/login');
|
||||
browser.sleep(2500);
|
||||
});
|
||||
await UserNameTextBox.sendKeys('QA_AutomatedRegression').then(function() {
|
||||
browser.sleep(2500);
|
||||
});
|
||||
await PasswordTextBox.sendKeys('3Dm!nAuto').then(function() {
|
||||
browser.sleep(2500);
|
||||
});
|
||||
/*await PasswordTextBox.clear().then(function() {
|
||||
browser.sleep(2500);
|
||||
PasswordTextBox.sendKeys('3Dm!nAuto');
|
||||
browser.sleep(1000);
|
||||
});*/
|
||||
});
|
||||
await NextButton.click().then(function() {
|
||||
browser.sleep(5000);
|
||||
browser.waitForAngular();
|
||||
@@ -101,7 +70,7 @@ describe('Journeysmap script', function () {
|
||||
});
|
||||
}
|
||||
|
||||
//<<<<DASHBOARD>>>>
|
||||
/*<<<<DASHBOARD>>>>
|
||||
ProfileWidget();
|
||||
|
||||
MyProgressWidget();
|
||||
@@ -117,9 +86,9 @@ describe('Journeysmap script', function () {
|
||||
MyCareersCarousel();
|
||||
|
||||
//Top Career Widget
|
||||
EditTopCareer();
|
||||
EditTopCareer();*/
|
||||
TopCareerWidget();
|
||||
NearbyPlacesOccupationCard();
|
||||
/*NearbyPlacesOccupationCard();
|
||||
FollowingPage();
|
||||
AtAGlance();
|
||||
Personality();
|
||||
@@ -144,14 +113,14 @@ describe('Journeysmap script', function () {
|
||||
|
||||
MyJourneys();
|
||||
|
||||
//<<<<MY JOURNEYS>>>>
|
||||
/*<<<<MY JOURNEYS>>>>
|
||||
MyJourneysPage();
|
||||
|
||||
//<<<<MAP>>>>
|
||||
MapInteraction();
|
||||
|
||||
//<<<<My Activity Dashboard>>>>
|
||||
/*MyActivityJourneys();
|
||||
MyActivityJourneys();
|
||||
SurveyMetrics();
|
||||
Logins();
|
||||
InstitutionMetrics();
|
||||
@@ -225,7 +194,7 @@ function ProfileWidget() {
|
||||
browser.sleep(2500);
|
||||
});
|
||||
await ProfileWidgetExpandCollapseIcon.click().then(function() {
|
||||
browser.sleep(5000);
|
||||
browser.sleep(2500);
|
||||
});
|
||||
browser.waitForAngular();
|
||||
browser.getCurrentUrl();
|
||||
@@ -294,8 +263,9 @@ function MyProgressWidget() {
|
||||
expect(await TextThree.getText()).toEqual('Say how you really feel, there are no wrong answers!');
|
||||
await LikeItEmoji.click();
|
||||
await PreviousQuestion.click();
|
||||
await EspanolButton.click();
|
||||
browser.sleep(2500);
|
||||
await EspanolButton.click().then(function() {
|
||||
browser.sleep(5000)
|
||||
});
|
||||
expect(await LanguageAlertDiv.getText()).toEqual('Changing the language setting will result in starting the survey over again. Do you want to change languages and start at question 1?');
|
||||
await LanguageAlterConfirmButton.click();
|
||||
expect(await TextOne.getText()).toEqual('¡En menos de 10 minutos te conectamos con las mejores carreras para ti!');
|
||||
@@ -303,7 +273,9 @@ function MyProgressWidget() {
|
||||
expect(await TextThree.getText()).toEqual('Indica cómo te sientes realmente, se sincero. ¡no hay respuesta incorrecta!');
|
||||
await LikeItEmoji.click();
|
||||
await LikeItEmoji.click();
|
||||
await LikeItEmoji.click();
|
||||
await LikeItEmoji.click().then(function() {
|
||||
browser.sleep(5000)
|
||||
});
|
||||
await CancelSurveyButton.click().then(function() {
|
||||
browser.sleep(5000);
|
||||
browser.waitForAngular();
|
||||
@@ -501,6 +473,7 @@ function InterestSurveyResultsWidget() {
|
||||
var DivAlertTitle = element(by.css('h2'));
|
||||
var DivAlertMessage = element(by.css('p:nth-child(7)'));
|
||||
var DivOKButton = element(by.css('.confirm'));
|
||||
var EC = protractor.ExpectedConditions;
|
||||
|
||||
/*browser.actions().mouseMove(element(by.css('#recommendedCareersCollapsed .fullHeight .jrnys_lead-body-copy'))).perform().then(function() {
|
||||
browser.sleep(1000);
|
||||
@@ -639,8 +612,8 @@ function InterestSurveyResultsWidget() {
|
||||
await DivOKButton.click();
|
||||
browser.sleep(1000);
|
||||
await CancelButton.click();
|
||||
/*browser.waitForAngular();
|
||||
await ShareResultsIcon.click();//INCONSISTENT
|
||||
browser.waitForAngular();
|
||||
/*await ShareResultsIcon.click();//INCONSISTENT
|
||||
await FromTextBox.clear();
|
||||
await FromTextBox.sendKeys("Juan's Automated Regression");
|
||||
await ToTextBox.sendKeys('jhuerta@edmin.com');
|
||||
@@ -649,18 +622,11 @@ function InterestSurveyResultsWidget() {
|
||||
browser.sleep(2500);
|
||||
await expect(DivAlertTitle.getText()).toEqual('Your interest survey results are in flight!');
|
||||
await expect(DivAlertMessage.getText()).toEqual('Trouble receiving the email? Have your recipient check their spam folder for an email from hi@journeysmap.com');
|
||||
await DivOKButton.click().then(function(EC) {
|
||||
var EC = protractor.ExpectedConditions;
|
||||
|
||||
browser.waitForAngular();
|
||||
browser.getCurrentUrl();
|
||||
browser.sleep(10000);
|
||||
browser.wait(EC.elementToBeClickable(by.css('.fa-share-alt')), 10000);
|
||||
browser.waitForAngular();
|
||||
browser.getCurrentUrl();
|
||||
});*/
|
||||
await DivOKButton.click();
|
||||
browser.waitForAngular();
|
||||
browser.getCurrentUrl();
|
||||
browser.wait(EC.elementToBeClickable(ShareResultsIcon));
|
||||
browser.waitForAngular();
|
||||
browser.getCurrentUrl();*/
|
||||
});
|
||||
}
|
||||
|
||||
@@ -676,7 +642,7 @@ function InterestSurveyResultsClusters() {
|
||||
var AtAGlanceIcon = element(by.xpath('//territory-card/div/div/div/div/div/div[2]'));
|
||||
var AtAGlanceBackOfCardXCloseLink = element(by.xpath('//div[2]/div/div[2]/span'));
|
||||
var OccupationCardEllipsis = element(by.xpath('//div/div/div[2]/div/i'));
|
||||
var JourneymanIcon = element(by.xpath('//div[4]/div[2]'))
|
||||
var JourneymanIcon = element(by.xpath('//div[5]/div[2]'))
|
||||
var LearnMoreButton = element(by.xpath('//div/div/div/div/div[2]/div[2]'));
|
||||
var EC = protractor.ExpectedConditions;
|
||||
var JourneyInfoIcon = element(by.css('.journey-info-circle'));
|
||||
@@ -1007,7 +973,7 @@ function InterestSurveyResultsCreateJourney() {
|
||||
browser.sleep(1000);
|
||||
});
|
||||
expect(await TwelvethGradeWayPoint.getText()).toEqual('12');
|
||||
expect(await ThirteenthWayPoint.getText()).toEqual('Certified Audio Engineer');
|
||||
expect(await ThirteenthWayPoint.getText()).toEqual('National Chief Engineer');
|
||||
expect(await FourteenthWayPoint.getText()).toEqual('Business Administration B.A./B.S.');
|
||||
expect(await FifteenthWayPoint.getText()).toEqual('Administrative Services Managers');
|
||||
await ActionBarSaveIconTwo.click().then(function() {
|
||||
@@ -1062,7 +1028,7 @@ function InterestSurveyResultsCreateJourney() {
|
||||
});
|
||||
expect(await TwelvethGradeWayPoint.getText()).toEqual('12');
|
||||
expect(await ThirteenthWayPoint.getText()).toEqual('Business Administration B.A./B.S.');
|
||||
expect(await FourteenthWayPoint.getText()).toEqual('Certified Audio Engineer');
|
||||
expect(await FourteenthWayPoint.getText()).toEqual('National Chief Engineer');
|
||||
expect(await FifteenthWayPoint.getText()).toEqual('Administrative Services Managers');
|
||||
await ActionBarSaveIconOne.click().then(function() {
|
||||
browser.sleep(2500);
|
||||
@@ -1733,9 +1699,19 @@ function TopCareerWidget() {
|
||||
var CertificatesCardThreeSubHeader = element(by.xpath('//div[3]/div/div/table/tbody/tr/td/span'));
|
||||
var CertificatesRightScroll = element(by.css('.widget-round-corners:nth-child(6) .right:nth-child(4) > .glyphicon:nth-child(1)'));
|
||||
var InstitutionsWidgetTitle = element(by.xpath('//recommended-colleges/div/div/div'));
|
||||
var InstitutionsCardOneHeader = element(by.css('.item:nth-child(1) > .col-xs-4:nth-child(1) > .internat-carouse-padding > .full-width .jrnys_body-copy'));
|
||||
var InstitutionsCardTwoHeader = element(by.css('.item:nth-child(1) > .col-xs-4:nth-child(2) > .internat-carouse-padding > .full-width .jrnys_body-copy'));
|
||||
var InstitutionsCardThreeHeader = element(by.css('.item:nth-child(1) > .col-xs-4:nth-child(3) > .internat-carouse-padding > .full-width .jrnys_body-copy'));
|
||||
var InstitutionsCardOneHeader = element(by.css('.item:nth-child(1) > .col-xs-4:nth-child(1) .territoryCardTitleText:nth-child(2) > .ng-binding:nth-child(1)'));
|
||||
var InstitutionsCardOneAtAGlance = element(by.css('.item:nth-child(1) > .col-xs-4:nth-child(1) div:nth-child(1) > .territoryCardIcon:nth-child(1) > .fas:nth-child(1)'));
|
||||
var InstitutionsBackOfCardOneHeader = element(by.css('.item:nth-child(1) > .col-xs-4:nth-child(1) div:nth-child(2) .territoryCardTitleText'));
|
||||
var InstitutionsBackOfCard4YearHeader = element(by.css('#territoryCardContainer > div:nth-child(2) > div:nth-child(2) > territory-card-at-a-glance-back > div > div > div > div.ng-scope > div > table > tbody > tr:nth-child(1) > td:nth-child(2) > div:nth-child(1)'));
|
||||
var InstitutionsBackOfCard4YearData = element(by.css('#territoryCardContainer > div:nth-child(2) > div:nth-child(2) > territory-card-at-a-glance-back > div > div > div > div.ng-scope > div > table > tbody > tr:nth-child(1) > td:nth-child(2) > div:nth-child(2)'));
|
||||
var InstitutionsBackOfCardUndergradHeader = element(by.css('#territoryCardContainer > div:nth-child(2) > div:nth-child(2) > territory-card-at-a-glance-back > div > div > div > div.ng-scope > div > table > tbody > tr:nth-child(3) > td:nth-child(2) > div:nth-child(1)'));
|
||||
var InstitutionsBackOfCardUndergradData = element(by.css('#territoryCardContainer > div:nth-child(2) > div:nth-child(2) > territory-card-at-a-glance-back > div > div > div > div.ng-scope > div > table > tbody > tr:nth-child(3) > td:nth-child(2) > div.territoryCardBackOfCardItemText.ng-binding'));
|
||||
var InstitutionsBackOfCardLocationHeader = element(by.css('#territoryCardContainer > div:nth-child(2) > div:nth-child(2) > territory-card-at-a-glance-back > div > div > div > div.ng-scope > div > table > tbody > tr:nth-child(5) > td.territoryCardBackOfCardItemText'));
|
||||
var InstitutionsBackOfCardLocationData = element(by.css('#territoryCardContainer > div:nth-child(2) > div:nth-child(2) > territory-card-at-a-glance-back > div > div > div > div.ng-scope > div > table > tbody > tr:nth-child(5) > td.territoryCardBackOfCardItemText > div'));
|
||||
var InstitutionsBackOfCardClassroomHeader = element(by.css('#territoryCardContainer > div:nth-child(2) > div:nth-child(2) > territory-card-at-a-glance-back > div > div > div > div.ng-scope > div > table > tbody > tr:nth-child(7) > td.territoryCardBackOfCardItemText'));
|
||||
var InstitutionsBackOfCardClassroomData = element(by.css('#territoryCardContainer > div:nth-child(2) > div:nth-child(2) > territory-card-at-a-glance-back > div > div > div > div.ng-scope > div > table > tbody > tr:nth-child(7) > td.territoryCardBackOfCardItemText > div'));
|
||||
var InstitutionsCardTwoHeader = element(by.css('.item:nth-child(1) > .col-xs-4:nth-child(2) .territoryCardTitleText:nth-child(2) > .ng-binding:nth-child(1)'));
|
||||
var InstitutionsCardThreeHeader = element(by.css('.item:nth-child(1) > .col-xs-4:nth-child(3) .territoryCardTitleText:nth-child(2) > .ng-binding:nth-child(1)'));
|
||||
var InstitutionsRightScroll = element(by.css('#recommendedColleges .right > .glyphicon'));
|
||||
var TopResourcesWidgetTitle = element(by.css('#id .jrnys_lead-body-copy'));
|
||||
var TopResourcesCardOneHeader = element(by.css('.item:nth-child(1) > .col-xs-4:nth-child(1) .hotTitles'));
|
||||
@@ -1788,14 +1764,14 @@ function TopCareerWidget() {
|
||||
//var NearbyPlacesRightScroll = element(by.xpath('//li[17]')).element(by.css('.glyphicon-chevron-right'));
|
||||
//var NearbyPlacesLeftScroll = element(by.xpath('//li[17]')).element(by.css('.glyphicon-chevron-left'));
|
||||
|
||||
/*browser.executeScript('window.scrollTo(0, 1880);').then(function() {
|
||||
browser.executeScript('window.scrollTo(0, 1880);').then(function() {
|
||||
browser.sleep(2500);
|
||||
});//remove*/
|
||||
|
||||
await TopCareerLink.click().then(function() {
|
||||
browser.sleep(10000);
|
||||
});
|
||||
//Description
|
||||
/*Description remove
|
||||
expect(await LearnMoreTitle.getText()).toEqual('Computer and Information Research Scientists');
|
||||
await DescriptionDetail.click().then(function() {
|
||||
browser.sleep(1000);
|
||||
@@ -1841,7 +1817,7 @@ function TopCareerWidget() {
|
||||
browser.actions().mouseMove(element(by.css('.widget-round-corners:nth-child(5) #id > .jrnys_lead-body-copy'))).perform().then(function() {
|
||||
browser.sleep(1000);
|
||||
});*/
|
||||
//Personality
|
||||
/*Personality remove
|
||||
expect(await PersonalityWidgetTitle.getText()).toEqual('Personality');
|
||||
expect(await PersonalityDescriptionOne.getText()).toEqual('People interested in this work like activities that include ideas, thinking, and figuring things out.');
|
||||
expect(await PersonalityDescriptionTwo.getText()).toEqual('They do well at jobs that need:');
|
||||
@@ -1889,7 +1865,7 @@ function TopCareerWidget() {
|
||||
/*browser.actions().mouseMove(CertificatesWidgetTitle).perform().then(function() {
|
||||
browser.sleep(1000);
|
||||
});*/
|
||||
browser.executeScript('window.scrollTo(0, 882);').then(function() {
|
||||
/*browser.executeScript('window.scrollTo(0, 882);').then(function() { remove
|
||||
browser.sleep(2495);
|
||||
});
|
||||
//Degrees
|
||||
@@ -1902,7 +1878,7 @@ function TopCareerWidget() {
|
||||
/*browser.actions().mouseMove(InstitutionsWidgetTitle).perform().then(function() {
|
||||
browser.sleep(1000);
|
||||
});*/
|
||||
browser.executeScript('window.scrollTo(0, 1360);').then(function() {
|
||||
/*browser.executeScript('window.scrollTo(0, 1360);').then(function() { remove
|
||||
browser.sleep(2500);
|
||||
});
|
||||
//Certificates
|
||||
@@ -1918,12 +1894,24 @@ function TopCareerWidget() {
|
||||
/*browser.actions().mouseMove(TopResourcesWidgetTitle).perform().then(function() {
|
||||
browser.sleep(1000);
|
||||
});*/
|
||||
browser.executeScript('window.scrollTo(0, 1836);').then(function() {
|
||||
/*browser.executeScript('window.scrollTo(0, 1995);').then(function() { remove
|
||||
browser.sleep(2500);
|
||||
});
|
||||
//Institutions
|
||||
expect(await InstitutionsWidgetTitle.getText()).toEqual('Institutions View All');
|
||||
expect(await InstitutionsCardOneHeader.getText()).toEqual('University of San Diego');
|
||||
await InstitutionsCardOneAtAGlance.click().then(function() {
|
||||
browser.sleep(2500)
|
||||
});
|
||||
expect(await InstitutionsBackOfCardOneHeader.getText()).toEqual('University of San Diego');
|
||||
expect(await InstitutionsBackOfCard4YearHeader.getText()).toEqual('4 Year');
|
||||
expect(await InstitutionsBackOfCard4YearData.getText()).toEqual('Private nonprofit');
|
||||
expect(await InstitutionsBackOfCardUndergradHeader.getText()).toEqual('Undergraduate Students');
|
||||
expect(await InstitutionsBackOfCardUndergradData.getText()).toEqual('5,677');
|
||||
expect(await InstitutionsBackOfCardLocationHeader.getText()).toContain('Location');
|
||||
expect(await InstitutionsBackOfCardLocationData.getText()).toEqual('City');
|
||||
expect(await InstitutionsBackOfCardClassroomHeader.getText()).toContain('Classrooms');
|
||||
expect(await InstitutionsBackOfCardClassroomData.getText()).toEqual('Medium');
|
||||
expect(await InstitutionsCardTwoHeader.getText()).toEqual('National University');
|
||||
expect(await InstitutionsCardThreeHeader.getText()).toEqual('Point Loma Nazarene University');
|
||||
await InstitutionsRightScroll.click();
|
||||
@@ -1931,7 +1919,7 @@ function TopCareerWidget() {
|
||||
/*browser.actions().mouseMove(FindOpportunitiesWidgetTitle).perform().then(function() {
|
||||
browser.sleep(1000);
|
||||
});*/
|
||||
browser.executeScript('window.scrollTo(0, 2313);').then(function() {
|
||||
/*browser.executeScript('window.scrollTo(0, 2470);').then(function() { remove
|
||||
browser.sleep(2500);
|
||||
});
|
||||
//Top Resources
|
||||
@@ -1953,7 +1941,7 @@ function TopCareerWidget() {
|
||||
/*browser.actions().mouseMove(TasksWidgetTitle).perform().then(function() {
|
||||
browser.sleep(1000);
|
||||
});*/
|
||||
browser.executeScript('window.scrollTo(0, 2790);').then(function() {
|
||||
/*browser.executeScript('window.scrollTo(0, 2947);').then(function() { remove
|
||||
browser.sleep(2500);
|
||||
});
|
||||
//Find Opportunities
|
||||
@@ -1993,7 +1981,7 @@ function TopCareerWidget() {
|
||||
await XCloseLink.click().then(function() {
|
||||
browser.sleep(1000);
|
||||
});*/
|
||||
expect(await JobsTotalsLink.getText()).toEqual('Jobs');
|
||||
/*expect(await JobsTotalsLink.getText()).toEqual('Jobs'); remove
|
||||
//expect(await JobsTotalsLink.getText()).toContain('68');//stored value needed
|
||||
expect(await InternshipsTotalsLink.getText()).toEqual('Internships');
|
||||
//expect(await InternshipsTotalsLink.getText()).toContain('0');//stored value needed
|
||||
@@ -2030,8 +2018,8 @@ function TopCareerWidget() {
|
||||
/*browser.actions().mouseMove(KnowledgeWidgetTitle).perform().then(function() {
|
||||
browser.sleep(1000);
|
||||
});*/
|
||||
browser.executeScript('window.scrollTo(0, 3108);').then(function() {
|
||||
browser.sleep(2500);
|
||||
browser.executeScript('window.scrollTo(0, 3225);').then(function() {
|
||||
browser.sleep(25000);
|
||||
});
|
||||
//Tasks
|
||||
expect(await TasksWidgetTitle.getText()).toEqual('Tasks View All');
|
||||
@@ -2044,8 +2032,8 @@ function TopCareerWidget() {
|
||||
/*browser.actions().mouseMove(WorkActivitiesWidgetTitle).perform().then(function() {
|
||||
browser.sleep(1000);
|
||||
});*/
|
||||
browser.executeScript('window.scrollTo(0, 3426);').then(function() {
|
||||
browser.sleep(2500);
|
||||
browser.executeScript('window.scrollTo(0, 3600);').then(function() {
|
||||
browser.sleep(25000);
|
||||
});
|
||||
//Knowledge
|
||||
expect(await KnowledgeWidgetTitle.getText()).toEqual('Knowledge View All');
|
||||
@@ -2055,7 +2043,7 @@ function TopCareerWidget() {
|
||||
/*browser.actions().mouseMove(NearbyPlacesWidgetTitle).perform().then(function() {
|
||||
browser.sleep(1000);
|
||||
});*/
|
||||
browser.executeScript('window.scrollTo(0, 3743);').then(function() {
|
||||
/*browser.executeScript('window.scrollTo(0, 3743);').then(function() { remove
|
||||
browser.sleep(2500);
|
||||
});
|
||||
//Work Activities
|
||||
@@ -2073,7 +2061,7 @@ function TopCareerWidget() {
|
||||
await NearbyPlacesRightScroll.click();
|
||||
browser.sleep(2500);
|
||||
await NearbyPlacesLeftScroll.click();
|
||||
browser.sleep(2500);
|
||||
browser.sleep(2500);*/
|
||||
browser.waitForAngular();
|
||||
browser.getCurrentUrl();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user