Initial script load
This commit is contained in:
@@ -7,7 +7,7 @@ describe('Journeysmap script', function () {
|
||||
var SignInButton = element(by.css('.btn-block'));
|
||||
|
||||
//Open browser
|
||||
browser.driver.manage().window().maximize();
|
||||
browser.driver.manage().window().maximize();
|
||||
browser.get('https://app-qa.journeysmap.com/Journey/index.html#/signin');
|
||||
|
||||
it('should have a title', function () {
|
||||
@@ -21,7 +21,7 @@ describe('Journeysmap script', function () {
|
||||
expect(browser.getTitle()).toEqual('Journeys');
|
||||
});
|
||||
|
||||
//<<<<DASHBOARD>>>>
|
||||
//<<<<DASHBOARD>>>>
|
||||
//Top Career
|
||||
TopCareerWidget();
|
||||
TopCareer();
|
||||
@@ -203,7 +203,7 @@ function TopCareer() {
|
||||
var NearbyPlacesRightScroll = element(by.xpath('//li[17]')).element(by.css('.glyphicon-chevron-right'));
|
||||
|
||||
await TopCareerLink.click().then(function() {
|
||||
browser.sleep(15000);
|
||||
browser.sleep(20000);
|
||||
});
|
||||
expect(await LearnMoreTitle.getText()).toEqual('Computer and Information Research Scientists');
|
||||
await DescriptionIcon.click().then(function() {
|
||||
@@ -258,7 +258,7 @@ function TopCareer() {
|
||||
browser.sleep(1000);
|
||||
});
|
||||
await ApplyButton.click().then(function() {
|
||||
browser.sleep(1000);
|
||||
browser.sleep(2500);
|
||||
});
|
||||
expect(await CurrentDataLocation.getText()).toEqual('Phoenix-Mesa-Scottsdale, AZ MSA');
|
||||
expect(await CurrentDataCountry.getText()).toEqual('United States');
|
||||
@@ -414,7 +414,7 @@ function Wages() {
|
||||
browser.sleep(1000);
|
||||
});
|
||||
await ApplyButton.click().then(function() {
|
||||
browser.sleep(1000);
|
||||
browser.sleep(2500);
|
||||
});
|
||||
expect(await CurrentDataLocation.getText()).toEqual('Nevada');
|
||||
expect(await CurrentDataCountry.getText()).toEqual('United States');
|
||||
@@ -1142,7 +1142,7 @@ function InterestSurveyResults() {
|
||||
await FromTextBox.clear();
|
||||
await FromTextBox.sendKeys('Automated Regression');
|
||||
await ToTextBox.sendKeys('jhuerta@edmin.com');
|
||||
browser.waitForAngular();
|
||||
browser.sleep(1000);
|
||||
await SendButton.click();
|
||||
browser.sleep(2500);
|
||||
await expect(DivAlertTitle.getText()).toEqual('Your interest survey results are in flight!');
|
||||
@@ -1208,10 +1208,10 @@ function InterestSurveyResultsClusters() {
|
||||
await InfoIcon.click();
|
||||
browser.sleep(2500);
|
||||
await LearnMoreButton.click();
|
||||
browser.sleep(10000);
|
||||
browser.waitForAngular();
|
||||
browser.wait(EC.elementToBeClickable(JourneymanIcon));
|
||||
browser.waitForAngular();
|
||||
browser.getCurrentUrl();
|
||||
browser.wait(EC.elementToBeClickable(JourneymanIcon));
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1304,7 +1304,7 @@ function MyJourneysPage() {
|
||||
await Select3rdJourney.click();
|
||||
expect(await JourneyLearnMoreSubTitle.getText()).toEqual('Try these resources');
|
||||
await ViewOnMapButton.click();
|
||||
browser.sleep(10000);
|
||||
browser.sleep(20000);
|
||||
await MyJourneysHeaderLink.click();
|
||||
await Select3rdJourney.click();
|
||||
browser.sleep(1000);
|
||||
|
||||
Reference in New Issue
Block a user