Cleaned up script to include objectId
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
//createJourney_spec.js
|
//createJourney_spec.js
|
||||||
|
|
||||||
|
const { EventEmitter } = require("selenium-webdriver");
|
||||||
|
|
||||||
describe('Create Journey Script', function () {
|
describe('Create Journey Script', function () {
|
||||||
//app-journeysmap landing page
|
//app-journeysmap landing page
|
||||||
var UserNameTextBox = element(by.css('#txtU'));
|
var UserNameTextBox = element(by.css('#txtU'));
|
||||||
@@ -52,6 +54,17 @@ describe('Create Journey Script', function () {
|
|||||||
|
|
||||||
function CreateJourney() {
|
function CreateJourney() {
|
||||||
it(': CreateJourney, should create a Journey to Top Interest Survey Result', async function () {
|
it(': CreateJourney, should create a Journey to Top Interest Survey Result', async function () {
|
||||||
|
//Select Journey Occupation Card
|
||||||
|
var AdministrativeLawJudgesAdjudicatorsAndHearingOffices = element(by.css('#\\39 d53706e-b04f-4fcb-a36e-d9c48934c2e1 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
|
var AdministrativeServiceManagers = element(by.css('#d64b79d0-cadf-4b66-afc1-ae35273f3a78 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));//qa #aa3ce6df-8851-4f10-8341-a4b7cdac7b7d //prod #c56626e4-2faa-4894-88bb-2ca8f4e44af8
|
||||||
|
var AdministrativeServiceManagersJourneyIcon = element(by.css('#d64b79d0-cadf-4b66-afc1-ae35273f3a78 > #territoryCardContainer .territoryCardActionBarItemContainer:nth-child(3) .ng-scope:nth-child(1) > .ng-scope:nth-child(1) > .ng-scope:nth-child(1)'));//qa #aa3ce6df-8851-4f10-8341-a4b7cdac7b7d //prod #c56626e4-2faa-4894-88bb-2ca8f4e44af8
|
||||||
|
var AirTrafficControllers = element(by.css('#\\30 2c1f459-be14-4ea7-8229-404af8ccb881 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
|
var MultipleClusterDIVTitle = element(by.css('.ng-scope > .territoryCardTitleText'));
|
||||||
|
var BusinessManagementAndAdministration = element(by.css('.item:nth-child(1) > .col-xs-4:nth-child(1) .ng-scope > div > .territoryCardTitleText > .ng-binding'));
|
||||||
|
var BusinessManagementAndAdministrationSelectButton = element(by.css('.item:nth-child(1) > .col-xs-4:nth-child(1) .btn'));
|
||||||
|
var GovernmentAndPublicAdministration = element(by.css('.col-xs-4:nth-child(2) .ng-scope > div > .territoryCardTitleText > .ng-binding'));
|
||||||
|
var HealthScience = element(by.css('.col-xs-4:nth-child(3) .ng-scope > div > .territoryCardTitleText > .ng-binding'));
|
||||||
|
//Create Your Journey Page
|
||||||
var JourneySideBarHeaderOne = element(by.css('.side-bar-child-text > span'));
|
var JourneySideBarHeaderOne = element(by.css('.side-bar-child-text > span'));
|
||||||
var JourneyInfoIcon = element(by.css('span > .journey-info-circle'));
|
var JourneyInfoIcon = element(by.css('span > .journey-info-circle'));
|
||||||
var JourneyInfoDivTitle = element(by.css('.col-lg-12 > .ng-binding'));
|
var JourneyInfoDivTitle = element(by.css('.col-lg-12 > .ng-binding'));
|
||||||
@@ -60,11 +73,112 @@ function CreateJourney() {
|
|||||||
var JourneyEntryPoint = element(by.css('.journeyInput'));
|
var JourneyEntryPoint = element(by.css('.journeyInput'));
|
||||||
var SelectEntryPointDropDown = element(by.css('.ng-scope:nth-child(1) > .sidebarScrollListTxt > .ng-binding'));
|
var SelectEntryPointDropDown = element(by.css('.ng-scope:nth-child(1) > .sidebarScrollListTxt > .ng-binding'));
|
||||||
var StartYourJourneyButton = element(by.css('.journeyStartBtnEnable'));
|
var StartYourJourneyButton = element(by.css('.journeyStartBtnEnable'));
|
||||||
|
//Journey Search Results
|
||||||
var JourneysActionTitleHeader = element(by.css('div:nth-child(2) > .ng-binding'));
|
var JourneysActionTitleHeader = element(by.css('div:nth-child(2) > .ng-binding'));
|
||||||
var JourneyResultTitleOne = element(by.css('#journeyitem0 .side-bar-child-text'));
|
var JourneysResultsTabDefault = element(by.css('#tab-item-0 > .ng-binding'));
|
||||||
var JourneyResultTitleTwo = element(by.css('#journeyitem1 .side-bar-child-text'));
|
var JourneyResultTitleOne = element(by.css('#journeyitem0 .side-bar-child-text'));
|
||||||
var JourneyResultTitleThree = element(by.css('#journeyitem2 .side-bar-child-text'));
|
var JourneyDetailsIcon = element(by.css('#tab-content-0 #journeyitem0 > div > div:nth-child(1) > .map-action-bar-icon-text'));
|
||||||
var JourneySaveIcon = element(by.css('#journeyitem0 .mapActionBarActive > .fas'));
|
var JourneySaveIcon = element(by.css('#tab-content-0 #journeyitem0 .mapActionBarActive > .map-action-bar-icon-text'));
|
||||||
|
var JourneyResultTitleTwo = element(by.css('#journeyitem1 .side-bar-child-text'));
|
||||||
|
var JourneyResultTitleThree = element(by.css('#journeyitem2 .side-bar-child-text'));
|
||||||
|
var JourneysResultsTabTwo = element(by.css('#tab-item-1 > .ng-binding'));
|
||||||
|
var JourneysResultsTabThree = element(by.css('#tab-item-2 > .ng-binding'));
|
||||||
|
var JourneysResultsTabFour = element(by.css('#tab-item-3 > .ng-binding'));
|
||||||
|
var MyResultsFilterButton = element(by.css('#tab-content-4 .filter-category:nth-child(2)'));
|
||||||
|
var FilterDIVTitle = element(by.css('.modal-content > .ng-scope > .ng-binding'));
|
||||||
|
var MyResultsDIVSubTitle = element(by.css('tr:nth-child(1) > td'));
|
||||||
|
var MyResultsDIVInterestSurveyResultsCheckBox = element(by.css('.ng-scope:nth-child(2) > .mapCheckbox > input'));
|
||||||
|
var MyResultsDIVInterestSurveyResults = element(by.css('.ng-scope:nth-child(2) > .ng-binding:nth-child(2)'));
|
||||||
|
var MyResultsDIVSkillsAssessmentResultsCheckBox = element(by.css('.ng-scope:nth-child(3) > .mapCheckbox > input'));
|
||||||
|
var MyResultsDIVSkillsAssessmentResults = element(by.css('.ng-scope:nth-child(3) > .ng-binding:nth-child(2)'));
|
||||||
|
var JobPrepFilterButton = element(by.css('#tab-content-4 .filter-category:nth-child(3)'));
|
||||||
|
var JobPrepDIVSubTitle = element(by.css('tr:nth-child(5) > td'));
|
||||||
|
var JobPrepDIVMayRequireHighSchoolDiplomaOrGEDCheckBox = element(by.css('.ng-scope:nth-child(6) input'));
|
||||||
|
var JobPrepDIVMayRequireHighSchoolDiplomaOrGED = element(by.css('.ng-scope:nth-child(6) > .ng-binding:nth-child(2)'));
|
||||||
|
var JobPrepDIVHighSchoolDiplomaCheckBox = element(by.css('.ng-scope:nth-child(7) input'));
|
||||||
|
var JobPrepDIVHighSchoolDiploma = element(by.css('.ng-scope:nth-child(7) > .ng-binding'));
|
||||||
|
var JobPrepDIVVocationalTrainingOrAssociatesDegreeCheckBox = element(by.css('.ng-scope:nth-child(8) input'));
|
||||||
|
var JobPrepDIVVocationalTrainingOrAssociatesDegree = element(by.css('.ng-scope:nth-child(8) > .ng-binding'));
|
||||||
|
var JobPrepDIV4YearBachelorDegreeCheckBox = element(by.css('.ng-scope:nth-child(9) input'));
|
||||||
|
var JobPrepDIV4YearBachelorDegree = element(by.css('.ng-scope:nth-child(9) > .ng-binding'));
|
||||||
|
var JobPrepDIVGraduateSchoolOrProfessionalDegreeCheckBox = element(by.css('.ng-scope:nth-child(10) input'));
|
||||||
|
var JobPrepDIVGraduateSchoolOrProfessionalDegree = element(by.css('.ng-scope:nth-child(10) > .ng-binding'));
|
||||||
|
var FitFilterButton = element(by.css('#tab-content-4 .filter-category:nth-child(4)'));
|
||||||
|
var FitDIVSubTitle = element(by.css('tr:nth-child(11) > td'));
|
||||||
|
var FitDIVBestCheckBox = element(by.css('.ng-scope:nth-child(12) input'));
|
||||||
|
var FitDIVBest = element(by.css('.ng-scope:nth-child(12) > .ng-binding'));
|
||||||
|
var FitDIVGreatCheckBox = element(by.css('.ng-scope:nth-child(13) input'));
|
||||||
|
var FitDIVGreat = element(by.css('.ng-scope:nth-child(13) > .ng-binding'));
|
||||||
|
var FitDIVGoodCheckBox = element(by.css('.ng-scope:nth-child(14) input'));
|
||||||
|
var FitDIVGood = element(by.css('.ng-scope:nth-child(14) > .ng-binding'));
|
||||||
|
var CategoryFilterButton = element(by.css('#tab-content-4 .filter-category:nth-child(5)'));
|
||||||
|
var CategoryDIVSubTitle = element(by.css('tr:nth-child(15) > td'));
|
||||||
|
var CategoryDIVBrightOutlookCheckBox = element(by.css('.ng-scope:nth-child(16) input'));
|
||||||
|
var CategoryDIVBrightOutlook = element(by.css('.ng-scope:nth-child(16) > .ng-binding'));
|
||||||
|
var CategoryDIVGreenCheckBox = element(by.css('.ng-scope:nth-child(17) input'));
|
||||||
|
var CategoryDIVGreen = element(by.css('.ng-scope:nth-child(17) > .ng-binding'));
|
||||||
|
var CategoryDIVApprenticeshipCheckBox = element(by.css('.ng-scope:nth-child(18) input'));
|
||||||
|
var CategoryDIVApprenticeship = element(by.css('.ng-scope:nth-child(18) > .ng-binding'));
|
||||||
|
var CategoryDIVFollowingCheckBox = element(by.css('.ng-scope:nth-child(19) input'));
|
||||||
|
var CategoryDIVFollowing = element(by.css('.ng-scope:nth-child(19) > .ng-binding'));
|
||||||
|
var CareerFiltersDIVFilterButton = element(by.css('td > .btn-info'));
|
||||||
|
var CareersFilterDIVCancelButton = element(by.css('.btn-alt-info'));
|
||||||
|
var ResultsTabTwo = element(by.css('#tab-item-5 > .ng-binding'));
|
||||||
|
var TabTwoResultsPathOne = element(by.css('#tab-content-5 #searchitem0 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var TabTwoResultsChildOne = element(by.css('#tab-content-5 #searchitem0 .side-bar-child-text'));
|
||||||
|
var TabTwoResultsPathTwo = element(by.css('#tab-content-5 #searchitem1 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var TabTwoResultsChildTwo = element(by.css('#tab-content-5 #searchitem1 .side-bar-child-text'));
|
||||||
|
var TabTwoResultsPathThree = element(by.css('#tab-content-5 #searchitem2 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var TabTwoResultsChildThree = element(by.css('#tab-content-5 #searchitem2 .side-bar-child-text'));
|
||||||
|
var TabTwoResultsPathFour = element(by.css('#tab-content-5 #searchitem3 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var TabTwoResultsChildFour = element(by.css('#tab-content-5 #searchitem3 .side-bar-child-text'));
|
||||||
|
var ResultsTabThree = element(by.css('#tab-item-6 > .ng-binding'));
|
||||||
|
var TabThreeResultsPathOne = element(by.css('#tab-content-6 #searchitem0 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var TabThreeResultsChildOne = element(by.css('#tab-content-6 #searchitem0 .side-bar-child-text'));
|
||||||
|
var TabThreeResultsPathTwo = element(by.css('#tab-content-6 #searchitem1 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var TabThreeResultsChildTwo = element(by.css('#tab-content-6 #searchitem1 .side-bar-child-text'));
|
||||||
|
var TabThreeResultsPathThree = element(by.css('#tab-content-6 #searchitem2 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var TabThreeResultsChildThree = element(by.css('#tab-content-6 #searchitem2 .side-bar-child-text'));
|
||||||
|
var TabThreeResultsPathFour = element(by.css('#tab-content-6 #searchitem3 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var TabThreeResultsChildFour = element(by.css('#tab-content-6 #searchitem3 .side-bar-child-text'));
|
||||||
|
var ResultsTabFour = element(by.css('#tab-item-7 > .ng-binding'));
|
||||||
|
var TabFourResultsPathOne = element(by.css('#tab-content-7 #searchitem0 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var TabFourResultsChildOne = element(by.css('#tab-content-7 #searchitem0 .side-bar-child-text'));
|
||||||
|
var TabFourResultsPathTwo = element(by.css('#tab-content-7 #searchitem1 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var TabFourResultsChildTwo = element(by.css('#tab-content-7 #searchitem1 .side-bar-child-text'));
|
||||||
|
var TabFourResultsPathThree = element(by.css('#tab-content-7 #searchitem2 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var TabFourResultsChildThree = element(by.css('#tab-content-7 #searchitem2 .side-bar-child-text'));
|
||||||
|
var TabFourResultsPathFour = element(by.css('#tab-content-7 #searchitem2 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var TabFourResultsChildFour = element(by.css('#tab-content-7 #searchitem2 .side-bar-child-text'));
|
||||||
|
var ResultsTabFive = element(by.css('#tab-item-8 > .ng-binding'));
|
||||||
|
var TabFiveResultsPathOne = element(by.css('#tab-content-8 #searchitem0 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var TabFiveResultsChildOne = element(by.css('#tab-content-8 #searchitem0 .side-bar-child-text'));
|
||||||
|
var TabFiveResultsPathTwo = element(by.css('#tab-content-8 #searchitem1 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var TabFiveResultsChildTwo = element(by.css('#tab-content-8 #searchitem1 .side-bar-child-text'));
|
||||||
|
var TabFiveResultsPathThree = element(by.css('#tab-content-8 #searchitem2 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var TabFiveResultsChildThree = element(by.css('#tab-content-8 #searchitem2 .side-bar-child-text'));
|
||||||
|
var TabFiveResultsPathFour = element(by.css('#tab-content-8 #searchitem3 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var TabFiveResultsChildFour = element(by.css('#tab-content-8 #searchitem3 .side-bar-child-text'));
|
||||||
|
var ResultsTabSix = element(by.css('#tab-item-9 > .ng-binding'));
|
||||||
|
var TabSixResultsPathOne = element(by.css('#tab-content-9 #searchitem0 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var TabSixResultsChildOne = element(by.css('#tab-content-9 #searchitem0 .side-bar-child-text'));
|
||||||
|
var TabSixResultsPathTwo = element(by.css('#tab-content-9 #searchitem1 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var TabSixResultsChildTwo = element(by.css('#tab-content-9 #searchitem1 .side-bar-child-text'));
|
||||||
|
var TabSixResultsPathThree = element(by.css('#tab-content-9 #searchitem2 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var TabSixResultsChildThree = element(by.css('#tab-content-9 #searchitem2 .side-bar-child-text'));
|
||||||
|
var TabSixResultsPathFour = element(by.css('#tab-content-9 #searchitem3 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var TabSixResultsChildFour = element(by.css('#tab-content-9 #searchitem3 .side-bar-child-text'));
|
||||||
|
var ResultsTabLeftArrow = element(by.css('.ng-scope:nth-child(2) > md-icon'));
|
||||||
|
var DefaultResultsTab = element(by.css('#tab-item-4 > .ng-binding'));
|
||||||
|
var DefaultTabResultsPathOne = element(by.css('#tab-content-4 #searchitem0 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var DefaultTabResultsChildOne = element(by.css('#tab-content-4 #searchitem0 .side-bar-child-text'));
|
||||||
|
var DefaultTabResultsPathTwo = element(by.css('#tab-content-4 #searchitem1 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var DefaultTabResultsChildTwo = element(by.css('#tab-content-4 #searchitem1 .side-bar-child-text'));
|
||||||
|
var DefaultTabResultsPathThree = element(by.css('#tab-content-4 #searchitem2 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var DefaultTabResultsChildThree = element(by.css('#tab-content-4 #searchitem2 .side-bar-child-text'));
|
||||||
|
var DefaultTabResultsPathFour = element(by.css('#tab-content-4 #searchitem3 > #sideBarTabItemHeader > div > .side-bar-ancestory-txt'));
|
||||||
|
var DefaultTabResultsChildFour = element(by.css('#tab-content-4 #searchitem3 .side-bar-child-text'));
|
||||||
|
//Journey stop DIV
|
||||||
var JourneyStopDIVTitle = element(by.css('.row:nth-child(1) > .col-md-12:nth-child(1)'));
|
var JourneyStopDIVTitle = element(by.css('.row:nth-child(1) > .col-md-12:nth-child(1)'));
|
||||||
var JourneyStopDIVCertificateCheckBox = element(by.css('#awm0 > .md-container'));
|
var JourneyStopDIVCertificateCheckBox = element(by.css('#awm0 > .md-container'));
|
||||||
var JourneyStopDIVCertificateTitle = element(by.css('#awm0 .ng-binding'));
|
var JourneyStopDIVCertificateTitle = element(by.css('#awm0 .ng-binding'));
|
||||||
@@ -97,14 +211,14 @@ function CreateJourney() {
|
|||||||
var JourneyStopDIVAddedStopThree = element(by.css('.item:nth-child(3) .waypointCardTitle:nth-child(1) > .ng-binding:nth-child(1)'));
|
var JourneyStopDIVAddedStopThree = element(by.css('.item:nth-child(3) .waypointCardTitle:nth-child(1) > .ng-binding:nth-child(1)'));
|
||||||
var JourneyStopDIVAddedStopFour = element(by.css('.item:nth-child(3) > .col-xs-6:nth-child(2) .waypointCardTitle:nth-child(1) > .ng-binding:nth-child(1)'));
|
var JourneyStopDIVAddedStopFour = element(by.css('.item:nth-child(3) > .col-xs-6:nth-child(2) .waypointCardTitle:nth-child(1) > .ng-binding:nth-child(1)'));
|
||||||
var JourneyStopDIVBottomPanelLeftArrowIcon = element(by.css('#addWaypointsModalAddedWaypointsCarousel > .left > .glyphicon'));
|
var JourneyStopDIVBottomPanelLeftArrowIcon = element(by.css('#addWaypointsModalAddedWaypointsCarousel > .left > .glyphicon'));
|
||||||
var JourneyStopDIVRemoveCardTwoButton = element(by.css('#addWaypointsModalAddedWaypointsCarousel > div > div.item.text-center.ng-isolate-scope.active > div:nth-child(2) > waypoint-card > div > div > div.waypointNotAdded > div'));
|
var JourneyStopDIVRemoveCardOneButton = element(by.css('.item:nth-child(2) > .col-xs-6:nth-child(1) .waypointNotAdded > .ng-binding'));//#addWaypointsModalAddedWaypointsCarousel > div > div.item.text-center.ng-isolate-scope.active > div:nth-child(2) > waypoint-card > div > div > div.waypointNotAdded > div'));
|
||||||
var JourneyStopDIVAddToJourneyButton = element(by.css('.btn:nth-child(2)'));
|
var JourneyStopDIVAddToJourneyButton = element(by.css('.btn:nth-child(2)'));
|
||||||
|
//Saved Journey
|
||||||
var JournyeStopDIVGotItDIVText = element(by.css('.tooltip-inner'));
|
var JournyeStopDIVGotItDIVText = element(by.css('.tooltip-inner'));
|
||||||
var JourneyStopDIVGotItButtonOne = element(by.css('.journeyViewToolTipWaypointAddedConfirm > .btn'));
|
var JourneyStopDIVGotItButtonOne = element(by.css('.journeyViewToolTipWaypointAddedConfirm > .btn'));
|
||||||
var JourneyStopDIVGotItButtonTwo = element(by.css('.btn-lg'));
|
var JourneyStopDIVGotItButtonTwo = element(by.css('.btn-lg'));
|
||||||
|
var ActionTitleBar = element(by.css('#sideBarTabJourneyItemHeader > .side-bar-child-text'));
|
||||||
var JourneyDetailsIcon = element(by.css('#journeyitem0 .journey-info-circle'));
|
//Edit Journey
|
||||||
var ActionTitleBar = element(by.css('.ng-binding:nth-child(2)'));
|
|
||||||
var EditJourneyLink = element(by.linkText('Edit Journey'));
|
var EditJourneyLink = element(by.linkText('Edit Journey'));
|
||||||
var JourneyEntryWayPointTopLevel = element(by.css('#journeyViewToolTip_0 .sidebarDescriptionAncestorTxt > .sidebarDescriptionAncestorTxt'));
|
var JourneyEntryWayPointTopLevel = element(by.css('#journeyViewToolTip_0 .sidebarDescriptionAncestorTxt > .sidebarDescriptionAncestorTxt'));
|
||||||
var JourneyEntryWayPointCluster = element(by.css('#journeyViewToolTip_0 .side-bar-journey-detail-child-txt:nth-child(5)'));
|
var JourneyEntryWayPointCluster = element(by.css('#journeyViewToolTip_0 .side-bar-journey-detail-child-txt:nth-child(5)'));
|
||||||
@@ -120,7 +234,7 @@ function CreateJourney() {
|
|||||||
var MathematicalPractices = element(by.css('.ng-scope:nth-child(2) > div > div:nth-child(1) > .ng-isolate-scope .side-bar-journey-detail-child-txt:nth-child(6)'));
|
var MathematicalPractices = element(by.css('.ng-scope:nth-child(2) > div > div:nth-child(1) > .ng-isolate-scope .side-bar-journey-detail-child-txt:nth-child(6)'));
|
||||||
var AlgebraI = element(by.css('.ng-scope:nth-child(3) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
var AlgebraI = element(by.css('.ng-scope:nth-child(3) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
||||||
var StatisticsAndProbability = element(by.css('.ng-scope:nth-child(4) > div > div:nth-child(1) > .ng-isolate-scope .side-bar-journey-detail-child-txt:nth-child(6)'));
|
var StatisticsAndProbability = element(by.css('.ng-scope:nth-child(4) > div > div:nth-child(1) > .ng-isolate-scope .side-bar-journey-detail-child-txt:nth-child(6)'));
|
||||||
var AlgebraII = element(by.css('.ng-scope:nth-child(5) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
var AlgebraII = element(by.css('.ng-scope:nth-child(5) > div > div:nth-child(1) > .ng-isolate-scope .side-bar-journey-detail-child-txt:nth-child(6)'));
|
||||||
var Precalculus = element(by.css('.ng-scope:nth-child(6) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
var Precalculus = element(by.css('.ng-scope:nth-child(6) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
||||||
var MathematicsIII = element(by.css('.ng-scope:nth-child(7) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
var MathematicsIII = element(by.css('.ng-scope:nth-child(7) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
||||||
var MathematicsII = element(by.css('.ng-scope:nth-child(8) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
var MathematicsII = element(by.css('.ng-scope:nth-child(8) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
||||||
@@ -134,12 +248,12 @@ function CreateJourney() {
|
|||||||
var FindArcLengthsandAreasOfSectorsOfCircles = element(by.css('.ng-scope:nth-child(2) > div > div:nth-child(1) > .ng-isolate-scope .side-bar-journey-detail-child-txt:nth-child(6)'));
|
var FindArcLengthsandAreasOfSectorsOfCircles = element(by.css('.ng-scope:nth-child(2) > div > div:nth-child(1) > .ng-isolate-scope .side-bar-journey-detail-child-txt:nth-child(6)'));
|
||||||
var DeriveUsingSimilarity = element(by.css('.disableJourneyItem:nth-child(6)'));
|
var DeriveUsingSimilarity = element(by.css('.disableJourneyItem:nth-child(6)'));
|
||||||
var UnderstandAndApplyTheoremsAboutCircles = element(by.css('.ng-scope:nth-child(3) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
var UnderstandAndApplyTheoremsAboutCircles = element(by.css('.ng-scope:nth-child(3) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
||||||
var ModelingWithGeometry = element(by.css('.ng-scope:nth-child(5) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
var ModelingWithGeometry = element(by.css('.ng-scope:nth-child(5) > div > div:nth-child(1) > .ng-isolate-scope .side-bar-journey-detail-child-txt:nth-child(6)'));
|
||||||
var Congruence = element(by.css('.ng-scope:nth-child(6) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
var Congruence = element(by.css('.ng-scope:nth-child(6) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
||||||
var ConditionalProbabilityAndTheRulesOfProbability = element(by.css('.ng-scope:nth-child(7) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
var ConditionalProbabilityAndTheRulesOfProbability = element(by.css('.ng-scope:nth-child(7) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
||||||
var SimilarityRightTrianglesAndTrigonometry = element(by.css('.ng-scope:nth-child(8) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
var SimilarityRightTrianglesAndTrigonometry = element(by.css('.ng-scope:nth-child(8) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
||||||
var GeometricMeasurementAndDimensions = element(by.css('.ng-scope:nth-child(9) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
var GeometricMeasurementAndDimensions = element(by.css('.ng-scope:nth-child(9) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
||||||
var SocialStudies = element(by.css('.ng-scope:nth-child(5) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
var SocialStudies = element(by.css('.ng-scope:nth-child(5) > div > div:nth-child(1) > .ng-isolate-scope .side-bar-journey-detail-child-txt:nth-child(6)'));
|
||||||
var Science = element(by.css('.ng-scope:nth-child(6) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
var Science = element(by.css('.ng-scope:nth-child(6) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
||||||
var TechnologyEducation = element(by.css('.ng-scope:nth-child(7) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
var TechnologyEducation = element(by.css('.ng-scope:nth-child(7) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
||||||
var LanguageArts = element(by.css('.ng-scope:nth-child(8) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
var LanguageArts = element(by.css('.ng-scope:nth-child(8) > div > div:nth-child(1) .side-bar-journey-detail-child-txt:nth-child(6)'));
|
||||||
@@ -163,10 +277,19 @@ function CreateJourney() {
|
|||||||
var AddedStopWayPointTopLevelThree = element(by.css('#journeyViewToolTip_10 .ng-binding:nth-child(1)'));
|
var AddedStopWayPointTopLevelThree = element(by.css('#journeyViewToolTip_10 .ng-binding:nth-child(1)'));
|
||||||
var AddedStopWayPointClusterThree = element(by.css('#journeyViewToolTip_10 .sidebarDescriptionAncestorTxt > .sidebarDescriptionAncestorTxt'));
|
var AddedStopWayPointClusterThree = element(by.css('#journeyViewToolTip_10 .sidebarDescriptionAncestorTxt > .sidebarDescriptionAncestorTxt'));
|
||||||
var AddedStopWayPointPathwayThree = element(by.css('#journeyViewToolTip_10 .side-bar-journey-detail-child-txt:nth-child(5)'));
|
var AddedStopWayPointPathwayThree = element(by.css('#journeyViewToolTip_10 .side-bar-journey-detail-child-txt:nth-child(5)'));
|
||||||
var JourneyEndWayPointTopLevel = element(by.css('#journeyViewToolTip_11 .ng-binding:nth-child(1)'));
|
var AddedStopWayPointTopLevelFour = element(by.css('#journeyViewToolTip_11 .ng-binding:nth-child(1)'));
|
||||||
var JourneyEndWayPointCluster = element(by.css('#journeyViewToolTip_11 .sidebarDescriptionAncestorTxt > .sidebarDescriptionAncestorTxt'));
|
var AddedStopWayPointClusterFour = element(by.css('#journeyViewToolTip_11 .sidebarDescriptionAncestorTxt > .sidebarDescriptionAncestorTxt'));
|
||||||
var JourneyEndWayPointPathway = element(by.css('#journeyViewToolTip_11 .side-bar-journey-detail-child-txt:nth-child(5)'));
|
var AddedStopWayPointPathwayFour = element(by.css('#journeyViewToolTip_11 .side-bar-journey-detail-child-txt:nth-child(5)'));
|
||||||
|
var JourneyNewEndWayPointTopLevel = element(by.css('#journeyViewToolTip_12 .ng-binding:nth-child(1)'));
|
||||||
|
var JourneyNewEndWayPointCluster = element(by.css('#journeyViewToolTip_12 .sidebarDescriptionAncestorTxt > .sidebarDescriptionAncestorTxt'));
|
||||||
|
var JourneyNewEndWayPointPathway = element(by.css('#journeyViewToolTip_12 .side-bar-journey-detail-child-txt:nth-child(5)'));
|
||||||
var UpOneLevelLink = element(by.linkText('Up One Level'));
|
var UpOneLevelLink = element(by.linkText('Up One Level'));
|
||||||
|
var CertifiedLegalManagerEllipsis = element(by.css('.itemWaypoint:nth-child(11) > .dropdown > .fas'));
|
||||||
|
var InsertAStop = element(by.linkText('Insert a Stop'));
|
||||||
|
var EditSearchText = element(by.css('.sidebarNoResults:nth-child(1)'));
|
||||||
|
var MapSearchTextBox = element(by.css('#searchBox'));
|
||||||
|
var MagnifyingGlassIcon = element(by.css('.glyphicon-search'));
|
||||||
|
var JourneysEditTitleHeader = element(by.css('div:nth-child(1) > div:nth-child(2) > .ng-binding'))
|
||||||
var EditWayPointHeaderOne = element(by.css('.itemWaypoint:nth-child(1) > .itemTextContainer > .ng-binding'));
|
var EditWayPointHeaderOne = element(by.css('.itemWaypoint:nth-child(1) > .itemTextContainer > .ng-binding'));
|
||||||
var EditWayPointHeaderTwo = element(by.css('.itemWaypoint:nth-child(2) > .itemTextContainer > .ng-binding'));
|
var EditWayPointHeaderTwo = element(by.css('.itemWaypoint:nth-child(2) > .itemTextContainer > .ng-binding'));
|
||||||
var EditWayPointEllipsisTwo = element(by.css('.itemWaypoint:nth-child(2) > .dropdown > .fas'));
|
var EditWayPointEllipsisTwo = element(by.css('.itemWaypoint:nth-child(2) > .dropdown > .fas'));
|
||||||
@@ -179,80 +302,61 @@ function CreateJourney() {
|
|||||||
var EditWayPointHeaderSix = element(by.css('.itemWaypoint:nth-child(6) > .itemTextContainer > .ng-binding'));
|
var EditWayPointHeaderSix = element(by.css('.itemWaypoint:nth-child(6) > .itemTextContainer > .ng-binding'));
|
||||||
var EditWayPointHeaderSeven = element(by.css('.itemWaypoint:nth-child(7) > .itemTextContainer > .ng-binding'));
|
var EditWayPointHeaderSeven = element(by.css('.itemWaypoint:nth-child(7) > .itemTextContainer > .ng-binding'));
|
||||||
var EditWayPointHeaderEight = element(by.css('.itemWaypoint:nth-child(8) > .itemTextContainer > .ng-binding'));
|
var EditWayPointHeaderEight = element(by.css('.itemWaypoint:nth-child(8) > .itemTextContainer > .ng-binding'));
|
||||||
|
var EditWayPointHeaderNine = element(by.css('.itemWaypoint:nth-child(9) > .itemTextContainer > .ng-binding'));
|
||||||
var WayPointTwo = element(by.css('.itemWaypoint:nth-child(2) > .itemTextContainer > .ng-binding'));
|
var EditWayPointHeaderTen = element(by.css('.itemWaypoint:nth-child(10) > .itemTextContainer > .ng-binding'));
|
||||||
var WayPointThree = element(by.css('.itemWaypoint:nth-child(3) > .itemTextContainer > .ng-binding'));
|
var EditWayPointHeaderEleven = element(by.css('.itemWaypoint:nth-child(11) > .itemTextContainer > .ng-binding'));
|
||||||
var WayPointFour = element(by.css('.itemWaypoint:nth-child(4) > .itemTextContainer > .ng-binding'));
|
var EditWayPointHeaderTwelve = element(by.css('.itemWaypoint:nth-child(12) > .itemTextContainer > .ng-binding'));
|
||||||
var WayPointFive = element(by.css('.itemWaypoint:nth-child(5) > .itemTextContainer > .ng-binding'));
|
var EditWayPointHeaderThirteen = element(by.css('.itemWaypoint:nth-child(13) > .itemTextContainer > .ng-binding'));
|
||||||
var WayPointSix = element(by.css('.itemWaypoint:nth-child(6) > .itemTextContainer > .ng-binding'));
|
var EditWayPointSaveIcon = element(by.css('.mapActionBarActive:nth-child(2) > .fas'));
|
||||||
var SelectWayPointTwoEllipsis = element(by.css('.itemWaypoint:nth-child(2) > .dropdown > .fas'));
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var ActionBarSaveIconOne = element(by.css('.mapActionBarActive:nth-child(2) > .fas'));
|
|
||||||
var Select12thGradeWayPointEllipsis = element(by.css('.itemWaypoint:nth-child(7) > .dropdown > .fas'));
|
|
||||||
var InsertAStop = element(by.linkText('Insert a Stop'));
|
|
||||||
|
|
||||||
var EditSearchText = element(by.css('.sidebarNoResults:nth-child(1)'));
|
|
||||||
var MapSearchTextBox = element(by.css('#searchBox'));
|
|
||||||
var MagnifyingGlassIcon = element(by.css('.glyphicon-search'));
|
|
||||||
var ActionTitleBarTwo = element(by.css('.sideBarSearchBarContainer > div:nth-child(1) > .ng-binding')); //duplicate row 721
|
|
||||||
var CertificationResultsTab = element(by.css('#tab-item-6 > .ng-binding'));//#tab-item-2 > .ng-binding'));
|
|
||||||
var ThirdResultViewOnMapIconIcon = element(by.css('#tab-content-6 #searchitem2 div:nth-child(6) > .fas'));//#tab-content-2 #searchitem2 div:nth-child(6) > .fas'));
|
|
||||||
var MapZoomInIcon = element(by.css('.glyphicon-plus'));
|
var MapZoomInIcon = element(by.css('.glyphicon-plus'));
|
||||||
var ThirdResultAddIcon = element(by.css('#tab-content-6 #searchitem2 div:nth-child(5) > #mapActionBarJourneyIcon'));//#tab-content-2 #searchitem2 div:nth-child(5) > #mapActionBarJourneyIcon'));
|
var JourneyExitWayPoint = element(by.css('#journeyViewToolTip_12 .side-bar-journey-detail-child-txt:nth-child(5)'));
|
||||||
var FifteenthWayPoint = element(by.css('.itemWaypoint:nth-child(10) > .itemTextContainer > .ng-binding'));
|
var CollegeWayPointEllipsis = element(by.css('.itemWaypoint:nth-child(8) > .dropdown > .fas'));
|
||||||
var ActionBarSaveIconTwo = element(by.css('.fa-save'));
|
|
||||||
var MapZoomOutIcon = element(by.css('.glyphicon-minus'));
|
|
||||||
var SelectCollegeWayPointEllipsis = element(by.css('.itemWaypoint:nth-child(9) > .dropdown > .fas'));
|
|
||||||
var ReOrderLink = element(by.linkText('Re-order'));
|
var ReOrderLink = element(by.linkText('Re-order'));
|
||||||
var GrabCollegeWayPoint = element(by.css('.selectedWaypoint > .itemTextContainer > .ng-binding:nth-child(1)'));
|
var GrabCollegeWayPoint = element(by.css('.selectedWaypoint > .itemTextContainer > .ng-binding'));
|
||||||
var DashboardHeaderLink = element(by.css('.ng-scope:nth-child(1) > a > .span-navbar-hover'));
|
var ThirdResultViewOnMapIconIcon = element(by.css('#searchitem2 div:nth-child(6) > .fas'));
|
||||||
|
var ThirdResultAddIcon = element(by.css('#searchitem2 div:nth-child(5) > #mapActionBarJourneyIcon'));
|
||||||
|
var MapZoomOutIcon = element(by.css('.glyphicon-minus'));
|
||||||
|
//Delete Created Journey
|
||||||
|
var MyJourneysHeaderLink = element(by.css('#nbMyJourneys .span-navbar-hover'));
|
||||||
|
var MyJourneysPageTitle = element(by.css('.jrnys_lead-body-copy'));
|
||||||
|
var MyJourneysPageSubText = element(by.css('.col-md-10 .ng-scope:nth-child(1)'));
|
||||||
|
var MyJourneysSelectCreatedJourney = element(by.xpath('//span[contains(.,"6 to Administrative Services Managers through Business Administration B.A./B.S.")]'));
|
||||||
|
var MyJourneysViewOnMap = element(by.css('.col-md-4 > .btn-info'));
|
||||||
|
var MyJourneysTitleRow = element(by.css('.col-md-12 > .ng-binding'));
|
||||||
|
var MyJourneysWayPointTitleRow = element(by.css('.select-waypointTitle'));
|
||||||
|
var MyJourneysRightArrow = element(by.css('.glyphicon-menu-right'));
|
||||||
|
var MyJourneysRemoveJourneyButton = element(by.css('#saveJourneyButton'));
|
||||||
|
var MyJourneysDIVTite = element(by.css('h2'));
|
||||||
|
var MyJourneysDIVSubText = element(by.css('p:nth-child(7)'));
|
||||||
|
var MyJourneysDIVCancelButton = element(by.css('.cancel'));
|
||||||
|
var MyJourneysDIVOKButton = element(by.css('.confirm'));
|
||||||
|
var MyJourneysViewOnMap = element(by.css('.col-md-4 > .btn-info'));
|
||||||
|
var MyJourneysHowAmIDoingButton = element(by.css('.btn-success'));
|
||||||
|
var MyJourneysSubText = element(by.css('.details-resourceRowTitle'));
|
||||||
|
var MySavedJourneysTitleOne = element(by.css('#ee7b663d-2f15-43cc-867c-556c7fc493a5 .cursorPointer'));
|
||||||
|
var MySavedJourneysTitleTwo = element(by.css('#\\30 ac99d25-0cc4-4d8e-b8e4-785f8129d85e .cursorPointer'));
|
||||||
|
var MySavedJourneysTitleThree = element(by.css('#e0049880-9613-4fd5-9ed2-eb468cdc2e55 .cursorPointer'));
|
||||||
|
var MySavedJourneysTitleFour = element(by.css('#\\30 9731631-9cb7-449b-8a51-58d7e730e31b .cursorPointer'));
|
||||||
|
|
||||||
//short cut to create journey
|
browser.executeScript('window.scrollTo(0, 1250);').then(function() {
|
||||||
var Results = element(by.css('div:nth-child(6) .fa-chart-bar'));
|
|
||||||
var SecondAtAGlanceIcon = element(by.xpath('//territory-card-action-bar/div/button'));
|
|
||||||
var Select = element(by.xpath('//territory-card-action-bar/div/button'));
|
|
||||||
var Journey = element(by.xpath('//action-journey/span'));
|
|
||||||
await Results.click().then(function() {
|
|
||||||
browser.sleep(5000);
|
browser.sleep(5000);
|
||||||
});
|
});
|
||||||
browser.actions().mouseMove(SecondAtAGlanceIcon).perform().then(function() {
|
expect(await AdministrativeLawJudgesAdjudicatorsAndHearingOffices.getText()).toEqual('Administrative Law Judges, Adjudicators, and Hearing Officers');
|
||||||
|
expect(await AdministrativeServiceManagers.getText()).toEqual('Administrative Services Managers');
|
||||||
|
expect(await AirTrafficControllers.getText()).toEqual('Air Traffic Controllers');
|
||||||
|
await AdministrativeServiceManagersJourneyIcon.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
await Select.click().then(function() {
|
expect(await MultipleClusterDIVTitle.getText()).toEqual('Administrative Services Managers is found in a few different clusters. Select the cluster below that you would like to create a Journey:');
|
||||||
browser.sleep(5000);
|
expect(await BusinessManagementAndAdministration.getText()).toEqual('Business Management & Administration');
|
||||||
});
|
expect(await GovernmentAndPublicAdministration.getText()).toEqual('Government & Public Administration');
|
||||||
browser.actions().mouseMove(SecondAtAGlanceIcon).perform().then(function() {
|
expect(await HealthScience.getText()).toEqual('Health Science');
|
||||||
|
await BusinessManagementAndAdministrationSelectButton.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
await Select.click().then(function() {
|
|
||||||
browser.sleep(5000);
|
|
||||||
});
|
|
||||||
browser.actions().mouseMove(Journey).perform().then(function() {
|
|
||||||
browser.sleep(2500);
|
|
||||||
});
|
|
||||||
await Journey.click().then(function() {
|
|
||||||
browser.sleep(5000);
|
|
||||||
});//end
|
|
||||||
|
|
||||||
/*short cut to retrieve journey
|
|
||||||
var MyJourneys = element(by.css('#nbMyJourneys .span-navbar-hover'));
|
|
||||||
var Journey = element(by.xpath('//div[2]/div/div/span'));
|
|
||||||
var ViewOnMap = element(by.css('.col-md-4 > .btn-info'));
|
|
||||||
await MyJourneys.click().then(function() {
|
|
||||||
browser.sleep(2500);
|
|
||||||
});
|
|
||||||
await Journey.click().then(function() {
|
|
||||||
browser.sleep(2500);
|
|
||||||
});
|
|
||||||
await ViewOnMap.click().then(function() {
|
|
||||||
browser.sleep(2500);
|
|
||||||
});//end*/
|
|
||||||
|
|
||||||
expect(await JourneySideBarHeaderOne.getText()).toEqual('Create Your Journey');
|
expect(await JourneySideBarHeaderOne.getText()).toEqual('Create Your Journey');
|
||||||
await JourneyInfoIcon.click().then(function() {
|
await JourneyInfoIcon.click().then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await JourneyInfoDivTitle.getText()).toEqual('Create Your Journey');
|
expect(await JourneyInfoDivTitle.getText()).toEqual('Create Your Journey');
|
||||||
expect(await JourneyInfoDivSubText.getText()).toEqual('A Journey is your driving direction. Enter a starting location, such as your current grade, as well as the destination you are trying to reach, like an occupation. From there we will provide you with possible pathways to reach your goal.');
|
expect(await JourneyInfoDivSubText.getText()).toEqual('A Journey is your driving direction. Enter a starting location, such as your current grade, as well as the destination you are trying to reach, like an occupation. From there we will provide you with possible pathways to reach your goal.');
|
||||||
@@ -267,7 +371,13 @@ function CreateJourney() {
|
|||||||
await StartYourJourneyButton.click();
|
await StartYourJourneyButton.click();
|
||||||
browser.waitForAngular();
|
browser.waitForAngular();
|
||||||
expect(await JourneysActionTitleHeader.getText()).toEqual('Journey Search Results');
|
expect(await JourneysActionTitleHeader.getText()).toEqual('Journey Search Results');
|
||||||
|
expect(await JourneysResultsTabDefault.getText()).toEqual('College');
|
||||||
|
expect(await JourneysResultsTabTwo.getText()).toEqual('Certification');
|
||||||
|
expect(await JourneysResultsTabThree.getText()).toEqual('K-12');
|
||||||
|
expect(await JourneysResultsTabFour.getText()).toEqual('Military');
|
||||||
expect(await JourneyResultTitleOne.getText()).toEqual('6 to Administrative Services Managers through Business Administration B.A./B.S.');
|
expect(await JourneyResultTitleOne.getText()).toEqual('6 to Administrative Services Managers through Business Administration B.A./B.S.');
|
||||||
|
expect(await JourneyDetailsIcon.getText()).toEqual('Journey Details');
|
||||||
|
expect(await JourneySaveIcon.getText()).toEqual('Save');
|
||||||
expect(await JourneyResultTitleTwo.getText()).toEqual('6 to Administrative Services Managers through Business Administration Minor');
|
expect(await JourneyResultTitleTwo.getText()).toEqual('6 to Administrative Services Managers through Business Administration Minor');
|
||||||
expect(await JourneyResultTitleThree.getText()).toEqual('6 to Administrative Services Managers through Master of Business Administration (MBA)');
|
expect(await JourneyResultTitleThree.getText()).toEqual('6 to Administrative Services Managers through Master of Business Administration (MBA)');
|
||||||
browser.actions().mouseMove(JourneySaveIcon).perform().then(function() {
|
browser.actions().mouseMove(JourneySaveIcon).perform().then(function() {
|
||||||
@@ -351,10 +461,10 @@ function CreateJourney() {
|
|||||||
});
|
});
|
||||||
expect(await JourneyStopDIVAddedStopOne.getText()).toEqual('Strategic Meeting Management Certification');
|
expect(await JourneyStopDIVAddedStopOne.getText()).toEqual('Strategic Meeting Management Certification');
|
||||||
expect(await JourneyStopDIVAddedStopTwo.getText()).toEqual('Master of Business Administration (MBA)');
|
expect(await JourneyStopDIVAddedStopTwo.getText()).toEqual('Master of Business Administration (MBA)');
|
||||||
await JourneyStopDIVRemoveCardTwoButton.click().then(function() {
|
await JourneyStopDIVRemoveCardOneButton.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await JourneyStopDIVAddedStopOne.getText()).toEqual('Strategic Meeting Management Certification');
|
expect(await JourneyStopDIVAddedStopOne.getText()).toEqual('Master of Business Administration (MBA)');
|
||||||
expect(await JourneyStopDIVAddedStopTwo.getText()).toEqual('Certified Practice Manager');
|
expect(await JourneyStopDIVAddedStopTwo.getText()).toEqual('Certified Practice Manager');
|
||||||
await JourneyStopDIVAddToJourneyButton.click().then(function() {
|
await JourneyStopDIVAddToJourneyButton.click().then(function() {
|
||||||
browser.sleep(5000);
|
browser.sleep(5000);
|
||||||
@@ -387,23 +497,23 @@ function CreateJourney() {
|
|||||||
expect(await TwelvethGradeWayPointTopLevel.getText()).toEqual('HS');
|
expect(await TwelvethGradeWayPointTopLevel.getText()).toEqual('HS');
|
||||||
expect(await TwelvethGradeWayPointCluster.getText()).toEqual('12');
|
expect(await TwelvethGradeWayPointCluster.getText()).toEqual('12');
|
||||||
expect(await CollegeStopWayPointTopLevel.getText()).toEqual('College');
|
expect(await CollegeStopWayPointTopLevel.getText()).toEqual('College');
|
||||||
browser.actions().mouseMove(JourneyEndWayPointPathway).perform().then(function() {
|
browser.actions().mouseMove(AddedStopWayPointPathwayFour).perform().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await CollegeStopWayPointCluster.getText()).toEqual('Administration');
|
expect(await CollegeStopWayPointCluster.getText()).toEqual('Administration');
|
||||||
expect(await CollegeStopWayPointPathway.getText()).toEqual('Business Administration B.A./B.S.');
|
expect(await CollegeStopWayPointPathway.getText()).toEqual('Business Administration B.A./B.S.');
|
||||||
expect(await AddedStopWayPointTopLevelOne.getText()).toContain('Core');
|
expect(await AddedStopWayPointTopLevelOne.getText()).toContain('College');
|
||||||
expect(await AddedStopWayPointClusterOne.getText()).toEqual('Other Certifications');
|
expect(await AddedStopWayPointClusterOne.getText()).toEqual('Administration');
|
||||||
expect(await AddedStopWayPointPathwayOne.getText()).toEqual('Strategic Meeting Management Certification');
|
expect(await AddedStopWayPointPathwayOne.getText()).toEqual('Master of Business Administration (MBA)');
|
||||||
expect(await AddedStopWayPointTopLevelTwo.getText()).toEqual('Core');
|
expect(await AddedStopWayPointTopLevelTwo.getText()).toEqual('Core');
|
||||||
expect(await AddedStopWayPointClusterTwo.getText()).toEqual('Other Certifications');
|
expect(await AddedStopWayPointClusterTwo.getText()).toEqual('Other Certifications');
|
||||||
expect(await AddedStopWayPointPathwayTwo.getText()).toEqual('Certified Practice Manager');
|
expect(await AddedStopWayPointPathwayTwo.getText()).toEqual('Certified Practice Manager');
|
||||||
expect(await AddedStopWayPointTopLevelThree.getText()).toEqual('Advanced');
|
expect(await AddedStopWayPointTopLevelThree.getText()).toEqual('Advanced');
|
||||||
expect(await AddedStopWayPointClusterThree.getText()).toEqual('Other Certifications');
|
expect(await AddedStopWayPointClusterThree.getText()).toEqual('Other Certifications');
|
||||||
expect(await AddedStopWayPointPathwayThree.getText()).toEqual('Certified Legal Manager');
|
expect(await AddedStopWayPointPathwayThree.getText()).toEqual('Certified Legal Manager');
|
||||||
expect(await JourneyEndWayPointTopLevel.getText()).toEqual('Administration');
|
expect(await AddedStopWayPointTopLevelFour.getText()).toEqual('Administration');
|
||||||
expect(await JourneyEndWayPointCluster.getText()).toEqual('Management');
|
expect(await AddedStopWayPointClusterFour.getText()).toEqual('Management');
|
||||||
expect(await JourneyEndWayPointPathway.getText()).toEqual('Administrative Services Managers');
|
expect(await AddedStopWayPointPathwayFour.getText()).toEqual('Administrative Services Managers');
|
||||||
await NinethGradeWayPointCluster.click().then(function() {
|
await NinethGradeWayPointCluster.click().then(function() {
|
||||||
browser.sleep(5000);
|
browser.sleep(5000);
|
||||||
});
|
});
|
||||||
@@ -421,7 +531,7 @@ function CreateJourney() {
|
|||||||
});
|
});
|
||||||
expect(await MathematicalPractices.getText()).toEqual('Mathematical Practices');
|
expect(await MathematicalPractices.getText()).toEqual('Mathematical Practices');
|
||||||
expect(await AlgebraI.getText()).toEqual('Algebra I');
|
expect(await AlgebraI.getText()).toEqual('Algebra I');
|
||||||
expect(await StatisticsAndProbability.getText()).toEqual('A3');
|
expect(await StatisticsAndProbability.getText()).toEqual('Statistics and Probability');
|
||||||
expect(await AlgebraII.getText()).toEqual('Algebra II');
|
expect(await AlgebraII.getText()).toEqual('Algebra II');
|
||||||
expect(await Precalculus.getText()).toEqual('Precalculus');
|
expect(await Precalculus.getText()).toEqual('Precalculus');
|
||||||
expect(await MathematicsIII.getText()).toEqual('Mathematics III');
|
expect(await MathematicsIII.getText()).toEqual('Mathematics III');
|
||||||
@@ -465,15 +575,15 @@ function CreateJourney() {
|
|||||||
await EditJourneyLink.click().then(function() {
|
await EditJourneyLink.click().then(function() {
|
||||||
browser.sleep(5000)
|
browser.sleep(5000)
|
||||||
});
|
});
|
||||||
expect(await ActionTitleBar.getText()).toEqual('Journey Edit');
|
expect(await JourneysEditTitleHeader.getText()).toEqual('Journey Edit');
|
||||||
expect(await EditWayPointHeaderOne.getText()).toEqual('1');
|
expect(await EditWayPointHeaderOne.getText()).toEqual('Statistics and Probability: Using Probability to Make Decisions');
|
||||||
expect(await EditWayPointHeaderTwo.getText()).toEqual('2');
|
expect(await EditWayPointHeaderTwo.getText()).toEqual('Geometry: Expressing Geometric Properties with Equations');
|
||||||
expect(await EditWayPointHeaderThree.getText()).toEqual('3');
|
expect(await EditWayPointHeaderThree.getText()).toEqual('Geometry: Circles');
|
||||||
expect(await EditWayPointHeaderFour.getText()).toEqual('4');
|
expect(await EditWayPointHeaderFour.getText()).toEqual('Geometry: Modeling with Geometry');
|
||||||
expect(await EditWayPointHeaderFive.getText()).toEqual('5');
|
expect(await EditWayPointHeaderFive.getText()).toEqual('Geometry: Congruence');
|
||||||
expect(await EditWayPointHeaderSix.getText()).toEqual('6');
|
expect(await EditWayPointHeaderSix.getText()).toEqual('Statistics and Probability: Conditional Probability and the Rules of Probability');
|
||||||
expect(await EditWayPointHeaderSeven.getText()).toEqual('7');
|
expect(await EditWayPointHeaderSeven.getText()).toEqual('Geometry: Similarity, Right Triangles, and Trigonometry');
|
||||||
expect(await EditWayPointHeaderEight.getText()).toEqual('8');
|
expect(await EditWayPointHeaderEight.getText()).toEqual('Geometry: Geometric Measurement and Dimension');
|
||||||
await EditWayPointEllipsisTwo.click().then(function() {
|
await EditWayPointEllipsisTwo.click().then(function() {
|
||||||
browser.sleep(5000);
|
browser.sleep(5000);
|
||||||
});
|
});
|
||||||
@@ -483,21 +593,25 @@ function CreateJourney() {
|
|||||||
await DeleteLink.click().then(function() {
|
await DeleteLink.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await DeleteDIVText.getText()).toEqual('Are you sure you want to remove Expressions and Equations from this journey?');
|
expect(await DeleteDIVText.getText()).toEqual('Are you sure you want to remove Geometry: Expressing Geometric Properties with Equations from this journey?');
|
||||||
await RemoveThisWaypointButton.click().then(function() {
|
await RemoveThisWaypointButton.click().then(function() {
|
||||||
browser.sleep(5000);
|
browser.sleep(5000);
|
||||||
});
|
});
|
||||||
|
expect(await JourneysEditTitleHeader.getText()).toEqual('Journey Edit');
|
||||||
expect(await ActionTitleBar.getText()).toEqual('Journey Edit');
|
expect(await EditWayPointHeaderOne.getText()).toEqual('Statistics and Probability: Using Probability to Make Decisions');
|
||||||
expect(await WayPointOne.getText()).toEqual('Geometry');
|
expect(await EditWayPointHeaderTwo.getText()).toEqual('Geometry: Circles');
|
||||||
expect(await WayPointTwo.getText()).toEqual('Mathematical Practices');
|
expect(await EditWayPointHeaderThree.getText()).toEqual('Geometry: Modeling with Geometry');
|
||||||
expect(await WayPointThree.getText()).toEqual('The Number System');
|
expect(await EditWayPointHeaderFour.getText()).toEqual('Geometry: Congruence');
|
||||||
expect(await WayPointFour.getText()).toEqual('Statistics and Probability');
|
expect(await EditWayPointHeaderFive.getText()).toEqual('Statistics and Probability: Conditional Probability and the Rules of Probability');
|
||||||
expect(await WayPointFive.getText()).toEqual('Functions');
|
expect(await EditWayPointHeaderSix.getText()).toEqual('Geometry: Similarity, Right Triangles, and Trigonometry');
|
||||||
await ActionBarSaveIconOne.click().then(function() {
|
expect(await EditWayPointHeaderSeven.getText()).toEqual('Geometry: Geometric Measurement and Dimension');
|
||||||
|
await EditWayPointSaveIcon.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await ActionTitleBar.getText()).toEqual('Journey Search Results');
|
expect(await ActionTitleBar.getText()).toEqual('6 to Administrative Services Managers through Business Administration B.A./B.S.');
|
||||||
|
await UpOneLevelLink.click().then(function() {
|
||||||
|
browser.sleep(5000);
|
||||||
|
});
|
||||||
await UpOneLevelLink.click().then(function() {
|
await UpOneLevelLink.click().then(function() {
|
||||||
browser.sleep(5000);
|
browser.sleep(5000);
|
||||||
});
|
});
|
||||||
@@ -505,18 +619,14 @@ function CreateJourney() {
|
|||||||
browser.sleep(5000);
|
browser.sleep(5000);
|
||||||
});
|
});
|
||||||
await EditJourneyLink.click().then(function() {
|
await EditJourneyLink.click().then(function() {
|
||||||
browser.sleep(2500)
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await ActionTitleBar.getText()).toEqual('Journey Edit');
|
expect(await JourneysEditTitleHeader.getText()).toEqual('Journey Edit');
|
||||||
|
browser.actions().mouseMove(EditWayPointHeaderTwelve).perform().then(function() {
|
||||||
browser.actions().mouseMove(FourteenthWayPoint).perform().then(function() {
|
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
});
|
});
|
||||||
expect(await TwelvethGradeWayPoint.getText()).toEqual('12');
|
await CertifiedLegalManagerEllipsis.click().then(function() {
|
||||||
expect(await ThirteenthWayPoint.getText()).toEqual('Business Administration B.A./B.S.');
|
browser.sleep(2500);
|
||||||
expect(await FourteenthWayPoint.getText()).toEqual('Administrative Services Managers');
|
|
||||||
await Select12thGradeWayPointEllipsis.click().then(function() {
|
|
||||||
browser.sleep(2500)
|
|
||||||
});
|
});
|
||||||
browser.actions().mouseMove(InsertAStop).perform().then(function() {
|
browser.actions().mouseMove(InsertAStop).perform().then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
@@ -524,7 +634,7 @@ function CreateJourney() {
|
|||||||
await InsertAStop.click().then(function() {
|
await InsertAStop.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await ActionTitleBar.getText()).toEqual('Journey Add Stop');
|
expect(await JourneysActionTitleHeader.getText()).toEqual('Journey Add Stop');
|
||||||
expect(await EditSearchText.getText()).toEqual('Use the search bar above to find a stop to add to your journey, or pick one from the map.');
|
expect(await EditSearchText.getText()).toEqual('Use the search bar above to find a stop to add to your journey, or pick one from the map.');
|
||||||
await MapSearchTextBox.sendKeys('Engineer').then(function() {
|
await MapSearchTextBox.sendKeys('Engineer').then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
@@ -532,10 +642,193 @@ function CreateJourney() {
|
|||||||
await MagnifyingGlassIcon.click().then(function() {
|
await MagnifyingGlassIcon.click().then(function() {
|
||||||
browser.sleep(5000);
|
browser.sleep(5000);
|
||||||
});
|
});
|
||||||
expect(await ActionTitleBarTwo.getText()).toEqual('Search Results');
|
expect(await JourneysActionTitleHeader.getText()).toEqual('Search Results');
|
||||||
await CertificationResultsTab.click().then(function() {
|
expect(await DefaultResultsTab.getText()).toEqual('Career');
|
||||||
|
expect(await MyResultsFilterButton.getText()).toEqual('My Results');
|
||||||
|
expect(await JobPrepFilterButton.getText()).toEqual('Job Prep');
|
||||||
|
expect(await FitFilterButton.getText()).toEqual('Fit');
|
||||||
|
expect(await CategoryFilterButton.getText()).toEqual('Category');
|
||||||
|
expect(await DefaultTabResultsPathOne.getText()).toEqual('Architecture > Design/Pre-Construction >');
|
||||||
|
expect(await DefaultTabResultsChildOne.getText()).toEqual('Engineers, All Other');
|
||||||
|
expect(await DefaultTabResultsPathTwo.getText()).toEqual('STEM > Engineering & Technology >');
|
||||||
|
expect(await DefaultTabResultsChildTwo.getText()).toEqual('Engineers, All Other');
|
||||||
|
expect(await DefaultTabResultsPathThree.getText()).toEqual('Healthcare > Health Informatics >');
|
||||||
|
expect(await DefaultTabResultsChildThree.getText()).toEqual('Engineers, All Other');
|
||||||
|
expect(await DefaultTabResultsPathFour.getText()).toEqual('STEM > Engineering & Technology >');
|
||||||
|
expect(await DefaultTabResultsChildFour.getText()).toEqual('Engineering Technicians, Except Drafters, All Other');
|
||||||
|
expect(await ResultsTabTwo.getText()).toEqual('College');
|
||||||
|
await ResultsTabTwo.click().then(function() {
|
||||||
browser.sleep(5000);
|
browser.sleep(5000);
|
||||||
});
|
});
|
||||||
|
expect(await TabTwoResultsPathOne.getText()).toEqual('STEM > Bachelor of Science in Mechanical Engineering Degree Requirements >');
|
||||||
|
expect(await TabTwoResultsChildOne.getText()).toEqual('Introduction to Electrical Engineering Lab');
|
||||||
|
expect(await TabTwoResultsPathTwo.getText()).toEqual('STEM > Environmental Engineering B.S.(BSENVE) >');
|
||||||
|
expect(await TabTwoResultsChildTwo.getText()).toEqual('Civil and Environmental Engineering Computations');
|
||||||
|
expect(await TabTwoResultsPathThree.getText()).toEqual('STEM > Civil Engineering B.S. (BSCE) >');
|
||||||
|
expect(await TabTwoResultsChildThree.getText()).toEqual('Civil and Environmental Engineering Computations');
|
||||||
|
expect(await TabTwoResultsPathFour.getText()).toEqual('STEM > Bachelor of Science in Mechanical Engineering Degree Requirements >');
|
||||||
|
expect(await TabTwoResultsChildFour.getText()).toEqual('Engineering Measurement and Instrumentation Systems Lab');
|
||||||
|
expect(await ResultsTabThree.getText()).toEqual('Certification');
|
||||||
|
await ResultsTabThree.click().then(function() {
|
||||||
|
browser.sleep(5000);
|
||||||
|
});
|
||||||
|
expect(await TabThreeResultsPathOne.getText()).toEqual('Advanced > Other Certifications >');
|
||||||
|
expect(await TabThreeResultsChildOne.getText()).toEqual('Structural Engineer');
|
||||||
|
expect(await TabThreeResultsPathTwo.getText()).toEqual('Core > Other Certifications >');
|
||||||
|
expect(await TabThreeResultsChildTwo.getText()).toEqual('Certified Video Engineer');
|
||||||
|
expect(await TabThreeResultsPathThree.getText()).toEqual('Core > Other Certifications >');
|
||||||
|
expect(await TabThreeResultsChildThree.getText()).toEqual('Certified Video Engineer');
|
||||||
|
expect(await TabThreeResultsPathFour.getText()).toEqual('Core > Other Certifications >');
|
||||||
|
expect(await TabThreeResultsChildFour.getText()).toEqual('Certified Video Engineer');
|
||||||
|
expect(await ResultsTabFour.getText()).toEqual('K-12');
|
||||||
|
await ResultsTabFour.click().then(function() {
|
||||||
|
browser.sleep(5000);
|
||||||
|
});
|
||||||
|
expect(await TabFourResultsPathOne.getText()).toEqual('Science > ENGINEERING DESIGN >');
|
||||||
|
expect(await TabFourResultsChildOne.getText()).toEqual('Engineering Design');
|
||||||
|
expect(await TabFourResultsPathTwo.getText()).toEqual('Science > ENGINEERING DESIGN >');
|
||||||
|
expect(await TabFourResultsChildTwo.getText()).toEqual('Engineering Design');
|
||||||
|
expect(await TabFourResultsPathThree.getText()).toEqual('Science > ENGINEERING DESIGN >');
|
||||||
|
expect(await TabFourResultsChildThree.getText()).toEqual('Engineering Design');
|
||||||
|
expect(await TabFourResultsPathFour.getText()).toEqual('Science > ENGINEERING DESIGN >');
|
||||||
|
expect(await TabFourResultsChildFour.getText()).toEqual('Engineering Design');
|
||||||
|
expect(await ResultsTabFive.getText()).toEqual('Military');
|
||||||
|
await ResultsTabFive.click().then(function() {
|
||||||
|
browser.sleep(5000);
|
||||||
|
});
|
||||||
|
expect(await TabFiveResultsPathOne.getText()).toEqual('Engineering Aid > Architecture >');
|
||||||
|
expect(await TabFiveResultsChildOne.getText()).toEqual('Civil Engineering Technicians');
|
||||||
|
expect(await TabFiveResultsPathTwo.getText()).toEqual('Construction Engineering Supervisor > Architecture >');
|
||||||
|
expect(await TabFiveResultsChildTwo.getText()).toEqual('Civil Engineering Technicians');
|
||||||
|
expect(await TabFiveResultsPathThree.getText()).toEqual('Technical Engineer > Architecture >');
|
||||||
|
expect(await TabFiveResultsChildThree.getText()).toEqual('Civil Engineering Technicians');
|
||||||
|
expect(await TabFiveResultsPathFour.getText()).toEqual('General Engineering Supervisor > Architecture >');
|
||||||
|
expect(await TabFiveResultsChildFour.getText()).toEqual('Civil Engineering Technicians');
|
||||||
|
expect(await ResultsTabSix.getText()).toEqual('CTE');
|
||||||
|
await ResultsTabSix.click().then(function() {
|
||||||
|
browser.sleep(5000);
|
||||||
|
});
|
||||||
|
expect(await TabSixResultsPathOne.getText()).toEqual('Service and Repair Equipment > Service and repair the components of internal combustion engines using procedures for troubleshooting and evaluating performance. >');
|
||||||
|
expect(await TabSixResultsChildOne.getText()).toEqual('Identify engine systems and components.');
|
||||||
|
expect(await TabSixResultsPathTwo.getText()).toEqual('Decision Making Information > Enhance usability of computer system operations. >');
|
||||||
|
expect(await TabSixResultsChildTwo.getText()).toEqual('Explain usability engineering methods.');
|
||||||
|
expect(await TabSixResultsPathThree.getText()).toEqual('Demonstrate Installation Tools > Demonstrate generating technical documentation. >');
|
||||||
|
expect(await TabSixResultsChildThree.getText()).toEqual('Demonstrate the ability to document engineering changes.');
|
||||||
|
expect(await TabSixResultsPathFour.getText()).toEqual('Service and Repair Equipment > Service and repair the components of internal combustion engines using procedures for troubleshooting and evaluating performance. >');
|
||||||
|
expect(await TabSixResultsChildFour.getText()).toEqual('Analyze and troubleshoot engines.');
|
||||||
|
await ResultsTabLeftArrow.click().then(function() {
|
||||||
|
browser.sleep(5000);
|
||||||
|
});
|
||||||
|
expect(await DefaultResultsTab.getText()).toEqual('Career');
|
||||||
|
await DefaultResultsTab.click().then(function() {
|
||||||
|
browser.sleep(5000);
|
||||||
|
});
|
||||||
|
expect(await DefaultTabResultsPathOne.getText()).toEqual('Architecture > Design/Pre-Construction >');
|
||||||
|
expect(await DefaultTabResultsChildOne.getText()).toEqual('Engineers, All Other');
|
||||||
|
expect(await DefaultTabResultsPathTwo.getText()).toEqual('STEM > Engineering & Technology >');
|
||||||
|
expect(await DefaultTabResultsChildTwo.getText()).toEqual('Engineers, All Other');
|
||||||
|
expect(await DefaultTabResultsPathThree.getText()).toEqual('Healthcare > Health Informatics >');
|
||||||
|
expect(await DefaultTabResultsChildThree.getText()).toEqual('Engineers, All Other');
|
||||||
|
expect(await DefaultTabResultsPathFour.getText()).toEqual('STEM > Engineering & Technology >');
|
||||||
|
expect(await DefaultTabResultsChildFour.getText()).toEqual('Engineering Technicians, Except Drafters, All Other');
|
||||||
|
expect(await MyResultsFilterButton.getText()).toEqual('My Results');
|
||||||
|
expect(await JobPrepFilterButton.getText()).toEqual('Job Prep');
|
||||||
|
expect(await FitFilterButton.getText()).toEqual('Fit');
|
||||||
|
expect(await CategoryFilterButton.getText()).toEqual('Category');
|
||||||
|
await MyResultsFilterButton.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await FilterDIVTitle.getText()).toEqual('Career Filter');
|
||||||
|
expect(await MyResultsDIVSubTitle.getText()).toEqual('My Results');
|
||||||
|
await MyResultsDIVInterestSurveyResultsCheckBox.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await MyResultsDIVInterestSurveyResults.getText()).toEqual('Interest Survey Results (12)');
|
||||||
|
expect(await MyResultsDIVSkillsAssessmentResults.getText()).toEqual('Skills Matcher Results (14)');
|
||||||
|
await CareerFiltersDIVFilterButton.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await DefaultTabResultsPathOne.getText()).toEqual('Architecture > Design/Pre-Construction >');
|
||||||
|
expect(await DefaultTabResultsChildOne.getText()).toEqual('Architectural and Engineering Managers');
|
||||||
|
expect(await DefaultTabResultsPathTwo.getText()).toEqual('STEM > Science & Math >');
|
||||||
|
expect(await DefaultTabResultsChildTwo.getText()).toEqual('Architectural and Engineering Managers');
|
||||||
|
expect(await DefaultTabResultsPathThree.getText()).toEqual('IT > Programming & Software Development >');
|
||||||
|
expect(await DefaultTabResultsChildThree.getText()).toEqual('Architectural and Engineering Managers');
|
||||||
|
expect(await DefaultTabResultsPathFour.getText()).toEqual('Marketing > Professional Sales & Marketing >');
|
||||||
|
expect(await DefaultTabResultsChildFour.getText()).toEqual('Sales Engineers');
|
||||||
|
await JobPrepFilterButton.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await FilterDIVTitle.getText()).toEqual('Career Filter');
|
||||||
|
expect(await JobPrepDIVSubTitle.getText()).toEqual('Job Prep');
|
||||||
|
expect(await JobPrepDIVMayRequireHighSchoolDiplomaOrGED.getText()).toEqual('May Require High School Diploma or GED (11)');
|
||||||
|
expect(await JobPrepDIVHighSchoolDiploma.getText()).toEqual('High School Diploma (52)');
|
||||||
|
await JobPrepDIVVocationalTrainingOrAssociatesDegreeCheckBox.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await JobPrepDIVVocationalTrainingOrAssociatesDegree.getText()).toEqual('Vocational Training or Associates Degree (104)');
|
||||||
|
expect(await JobPrepDIV4YearBachelorDegree.getText()).toEqual('4 Year Bachelor Degree (98)');
|
||||||
|
expect(await JobPrepDIVGraduateSchoolOrProfessionalDegree.getText()).toEqual('Graduate School or Professional Degree (65)');
|
||||||
|
await CareerFiltersDIVFilterButton.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await DefaultTabResultsPathOne.getText()).toEqual('Marketing > Professional Sales & Marketing >');
|
||||||
|
expect(await DefaultTabResultsChildOne.getText()).toEqual('Sales Engineers');
|
||||||
|
expect(await DefaultTabResultsPathTwo.getText()).toEqual('STEM > Engineering & Technology >');
|
||||||
|
expect(await DefaultTabResultsChildTwo.getText()).toEqual('Fire-Prevention and Protection Engineers');
|
||||||
|
expect(await DefaultTabResultsPathThree.getText()).toEqual('STEM > Engineering & Technology >');
|
||||||
|
expect(await DefaultTabResultsChildThree.getText()).toEqual('Industrial Engineers');
|
||||||
|
expect(await DefaultTabResultsPathFour.getText()).toEqual('Marketing > Professional Sales & Marketing >');
|
||||||
|
expect(await DefaultTabResultsChildFour.getText()).toEqual('Search Marketing Strategists');
|
||||||
|
await FitFilterButton.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await FitDIVSubTitle.getText()).toEqual('Fit');
|
||||||
|
await FitDIVBestCheckBox.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await FitDIVBest.getText()).toEqual('Best (12)');
|
||||||
|
await FitDIVGreatCheckBox.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await FitDIVGreat.getText()).toEqual('Great (11)');
|
||||||
|
expect(await FitDIVGood.getText()).toEqual('Good (3)');
|
||||||
|
await CareerFiltersDIVFilterButton.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await DefaultTabResultsPathOne.getText()).toEqual('Architecture > Design/Pre-Construction >');
|
||||||
|
expect(await DefaultTabResultsChildOne.getText()).toEqual('Architectural and Engineering Managers');
|
||||||
|
expect(await DefaultTabResultsPathTwo.getText()).toEqual('STEM > Science & Math >');
|
||||||
|
expect(await DefaultTabResultsChildTwo.getText()).toEqual('Architectural and Engineering Managers');
|
||||||
|
expect(await DefaultTabResultsPathThree.getText()).toEqual('IT > Programming & Software Development >');
|
||||||
|
expect(await DefaultTabResultsChildThree.getText()).toEqual('Architectural and Engineering Managers');
|
||||||
|
expect(await DefaultTabResultsPathFour.getText()).toEqual('Marketing > Professional Sales & Marketing >');
|
||||||
|
expect(await DefaultTabResultsChildFour.getText()).toEqual('Sales Engineers');
|
||||||
|
await CategoryFilterButton.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await CategoryDIVSubTitle.getText()).toEqual('Category');
|
||||||
|
expect(await CategoryDIVBrightOutlook.getText()).toEqual('Bright Outlook (34)');
|
||||||
|
await CategoryDIVGreenCheckBox.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await CategoryDIVGreen.getText()).toEqual('Green (79)');
|
||||||
|
expect(await CategoryDIVApprenticeship.getText()).toEqual('Apprenticeship (52)');
|
||||||
|
await CategoryDIVFollowingCheckBox.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await CategoryDIVFollowing.getText()).toEqual('Following (0)');
|
||||||
|
await CareerFiltersDIVFilterButton.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await DefaultTabResultsPathOne.getText()).toEqual('Architecture > Design/Pre-Construction >');
|
||||||
|
expect(await DefaultTabResultsChildOne.getText()).toEqual('Architectural and Engineering Managers');
|
||||||
|
expect(await DefaultTabResultsPathTwo.getText()).toEqual('STEM > Science & Math >');
|
||||||
|
expect(await DefaultTabResultsChildTwo.getText()).toEqual('Architectural and Engineering Managers');
|
||||||
|
expect(await DefaultTabResultsPathThree.getText()).toEqual('IT > Programming & Software Development >');
|
||||||
|
expect(await DefaultTabResultsChildThree.getText()).toEqual('Architectural and Engineering Managers');
|
||||||
|
expect(await DefaultTabResultsPathFour.getText()).toEqual('Marketing > Professional Sales & Marketing >');
|
||||||
|
expect(await DefaultTabResultsChildFour.getText()).toEqual('Sales Engineers');
|
||||||
browser.actions().mouseMove(ThirdResultViewOnMapIconIcon).perform().then(function() {
|
browser.actions().mouseMove(ThirdResultViewOnMapIconIcon).perform().then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
});
|
});
|
||||||
@@ -551,79 +844,227 @@ function CreateJourney() {
|
|||||||
await ThirdResultAddIcon.click().then(function() {
|
await ThirdResultAddIcon.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await SixthGradeWayPoint.getText()).toEqual('6');
|
expect(await EditWayPointHeaderOne.getText()).toEqual('6');
|
||||||
expect(await SeventhGradeWayPoint.getText()).toEqual('7');
|
expect(await EditWayPointHeaderTwo.getText()).toEqual('7');
|
||||||
expect(await EightGradeWayPoint.getText()).toEqual('8');
|
expect(await EditWayPointHeaderThree.getText()).toEqual('8');
|
||||||
expect(await NinethGradeWayPoint.getText()).toEqual('9');
|
expect(await EditWayPointHeaderFour.getText()).toEqual('9');
|
||||||
expect(await TenthGradeWayPoint.getText()).toEqual('10');
|
expect(await EditWayPointHeaderFive.getText()).toEqual('10');
|
||||||
expect(await EleventhGradeWayPoint.getText()).toEqual('11');
|
expect(await EditWayPointHeaderSix.getText()).toEqual('11');
|
||||||
browser.actions().mouseMove(FifteenthWayPoint).perform().then(function() {
|
expect(await EditWayPointHeaderSeven.getText()).toEqual('12');
|
||||||
browser.sleep(1000);
|
expect(await EditWayPointHeaderEight.getText()).toEqual('Business Administration B.A./B.S.');
|
||||||
});
|
expect(await EditWayPointHeaderNine.getText()).toEqual('Master of Business Administration (MBA)');
|
||||||
expect(await TwelvethGradeWayPoint.getText()).toEqual('12');
|
expect(await EditWayPointHeaderTen.getText()).toEqual('Certified Practice Manager');
|
||||||
expect(await ThirteenthWayPoint.getText()).toEqual('National Chief Engineer');
|
expect(await EditWayPointHeaderEleven.getText()).toEqual('Certified Legal Manager');
|
||||||
expect(await FourteenthWayPoint.getText()).toEqual('Business Administration B.A./B.S.');
|
expect(await EditWayPointHeaderTwelve.getText()).toEqual('Architectural and Engineering Managers');
|
||||||
expect(await FifteenthWayPoint.getText()).toEqual('Administrative Services Managers');
|
expect(await EditWayPointHeaderThirteen.getText()).toEqual('Administrative Services Managers');
|
||||||
await ActionBarSaveIconTwo.click().then(function() {
|
await EditWayPointSaveIcon.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
await MapZoomOutIcon.click().then(function() {
|
await MapZoomOutIcon.click().then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
await MapZoomOutIcon.click().then(function() {
|
await MapZoomOutIcon.click().then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
await MapZoomOutIcon.click().then(function() {
|
await MapZoomOutIcon.click().then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
await MapZoomOutIcon.click().then(function() {
|
await MapZoomOutIcon.click().then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
await MapZoomOutIcon.click().then(function() {
|
await MapZoomOutIcon.click().then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
await MapZoomOutIcon.click().then(function() {
|
await MapZoomOutIcon.click().then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
await MapZoomOutIcon.click().then(function() {
|
await MapZoomOutIcon.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
await MapZoomInIcon.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
browser.actions().mouseMove(JourneyExitWayPoint).perform().then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
});
|
});
|
||||||
await MapZoomOutIcon.click().then(function() {
|
await EditJourneyLink.click().then(function() {
|
||||||
browser.sleep(1000)
|
|
||||||
});
|
|
||||||
/*browser.actions().mouseMove(FifteenthWayPoint).perform().then(function() {
|
|
||||||
browser.sleep(1000);
|
|
||||||
});*/
|
|
||||||
/*await EditJourneyLink.click().then(function() {
|
|
||||||
browser.sleep(2500)
|
browser.sleep(2500)
|
||||||
});
|
});
|
||||||
await SelectCollegeWayPointEllipsis.click().then(function() {
|
browser.actions().mouseMove(EditWayPointHeaderThirteen).perform().then(function() {
|
||||||
|
browser.sleep(1000);
|
||||||
|
});
|
||||||
|
await CollegeWayPointEllipsis.click().then(function() {
|
||||||
browser.sleep(2500)
|
browser.sleep(2500)
|
||||||
});
|
});
|
||||||
|
browser.actions().mouseMove(ReOrderLink).perform().then(function() {
|
||||||
|
browser.sleep(1000);
|
||||||
|
});
|
||||||
await ReOrderLink.click().then(function() {
|
await ReOrderLink.click().then(function() {
|
||||||
browser.sleep(2500)
|
browser.sleep(2500)
|
||||||
});
|
});
|
||||||
browser.actions().dragAndDrop(GrabCollegeWayPoint, ThirteenthWayPoint).mouseUp().perform();
|
browser.actions().mouseDown(GrabCollegeWayPoint).mouseMove(EditWayPointHeaderTwelve).mouseUp(EditWayPointHeaderTwelve).perform();
|
||||||
browser.sleep(2500)
|
browser.sleep(2500);
|
||||||
expect(await SixthGradeWayPoint.getText()).toEqual('6');
|
expect(await EditWayPointHeaderOne.getText()).toEqual('6');
|
||||||
expect(await SeventhGradeWayPoint.getText()).toEqual('7');
|
expect(await EditWayPointHeaderTwo.getText()).toEqual('7');
|
||||||
expect(await EightGradeWayPoint.getText()).toEqual('8');
|
expect(await EditWayPointHeaderThree.getText()).toEqual('8');
|
||||||
expect(await NinethGradeWayPoint.getText()).toEqual('9');
|
expect(await EditWayPointHeaderFour.getText()).toEqual('9');
|
||||||
expect(await TenthGradeWayPoint.getText()).toEqual('10');
|
expect(await EditWayPointHeaderFive.getText()).toEqual('10');
|
||||||
expect(await EleventhGradeWayPoint.getText()).toEqual('11');
|
expect(await EditWayPointHeaderSix.getText()).toEqual('11');
|
||||||
browser.actions().mouseMove(FifteenthWayPoint).perform().then(function() {
|
expect(await EditWayPointHeaderSeven.getText()).toEqual('12');
|
||||||
browser.sleep(1000);
|
expect(await EditWayPointHeaderEight.getText()).toEqual('Master of Business Administration (MBA)');
|
||||||
});
|
expect(await EditWayPointHeaderNine.getText()).toEqual('Certified Practice Manager');
|
||||||
expect(await TwelvethGradeWayPoint.getText()).toEqual('12');
|
expect(await EditWayPointHeaderTen.getText()).toEqual('Certified Legal Manager');
|
||||||
expect(await ThirteenthWayPoint.getText()).toEqual('Business Administration B.A./B.S.');
|
expect(await EditWayPointHeaderEleven.getText()).toEqual('Architectural and Engineering Managers');
|
||||||
expect(await FourteenthWayPoint.getText()).toEqual('National Chief Engineer');
|
expect(await EditWayPointHeaderTwelve.getText()).toEqual('Business Administration B.A./B.S.');
|
||||||
expect(await FifteenthWayPoint.getText()).toEqual('Administrative Services Managers');
|
expect(await EditWayPointHeaderThirteen.getText()).toEqual('Administrative Services Managers');
|
||||||
await ActionBarSaveIconOne.click().then(function() {
|
await EditWayPointSaveIcon.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});*/
|
});
|
||||||
await DashboardHeaderLink.click().then(function() {
|
expect(await JourneysActionTitleHeader.getText()).toEqual('Journey View');
|
||||||
|
expect(await ActionTitleBar.getText()).toEqual('6 to Administrative Services Managers through Business Administration B.A./B.S.');
|
||||||
|
expect(await JourneyEntryWayPointTopLevel.getText()).toEqual('K-8');
|
||||||
|
expect(await JourneyEntryWayPointCluster.getText()).toEqual('6');
|
||||||
|
expect(await SeventhGradeWayPointTopLevel.getText()).toEqual('K-8');
|
||||||
|
expect(await SeventhGradeWayPointCluster.getText()).toEqual('7');
|
||||||
|
expect(await EightGradeWayPointTopLevel.getText()).toEqual('K-8');
|
||||||
|
expect(await EightGradeWayPointCluster.getText()).toEqual('8');
|
||||||
|
expect(await NinethGradeWayPointTopLevel.getText()).toEqual('HS');
|
||||||
|
expect(await NinethGradeWayPointCluster.getText()).toEqual('9');
|
||||||
|
expect(await TenthGradeWayPointTopLevel.getText()).toEqual('HS');
|
||||||
|
expect(await TenthGradeWayPointCluster.getText()).toEqual('10');
|
||||||
|
expect(await EleventhGradeWayPointTopLevel.getText()).toEqual('HS');
|
||||||
|
expect(await EleventhGradeWayPointCluster.getText()).toEqual('11');
|
||||||
|
expect(await TwelvethGradeWayPointTopLevel.getText()).toEqual('HS');
|
||||||
|
expect(await TwelvethGradeWayPointCluster.getText()).toEqual('12');
|
||||||
|
expect(await CollegeStopWayPointTopLevel.getText()).toEqual('College');
|
||||||
|
browser.actions().mouseMove(JourneyNewEndWayPointPathway).perform().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await CollegeStopWayPointCluster.getText()).toEqual('Administration');
|
||||||
|
expect(await CollegeStopWayPointPathway.getText()).toEqual('Master of Business Administration (MBA)');
|
||||||
|
expect(await AddedStopWayPointTopLevelOne.getText()).toContain('Core');
|
||||||
|
expect(await AddedStopWayPointClusterOne.getText()).toEqual('Other Certifications');
|
||||||
|
expect(await AddedStopWayPointPathwayOne.getText()).toEqual('Certified Practice Manager');
|
||||||
|
expect(await AddedStopWayPointTopLevelTwo.getText()).toEqual('Advanced');
|
||||||
|
expect(await AddedStopWayPointClusterTwo.getText()).toEqual('Other Certifications');
|
||||||
|
expect(await AddedStopWayPointPathwayTwo.getText()).toEqual('Certified Legal Manager');
|
||||||
|
expect(await AddedStopWayPointTopLevelThree.getText()).toEqual('IT');
|
||||||
|
expect(await AddedStopWayPointClusterThree.getText()).toEqual('Programming & Software Development');
|
||||||
|
expect(await AddedStopWayPointPathwayThree.getText()).toEqual('Architectural and Engineering Managers');
|
||||||
|
expect(await AddedStopWayPointTopLevelFour.getText()).toEqual('College');
|
||||||
|
expect(await AddedStopWayPointClusterFour.getText()).toEqual('Administration');
|
||||||
|
expect(await AddedStopWayPointPathwayFour.getText()).toEqual('Business Administration B.A./B.S.');
|
||||||
|
expect(await JourneyNewEndWayPointTopLevel.getText()).toEqual('Administration');
|
||||||
|
expect(await JourneyNewEndWayPointCluster.getText()).toEqual('Management');
|
||||||
|
expect(await JourneyNewEndWayPointPathway.getText()).toEqual('Administrative Services Managers');
|
||||||
|
//Delete Created Journey
|
||||||
|
await MyJourneysHeaderLink.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await MyJourneysPageTitle.getText()).toEqual('My Saved Journeys');
|
||||||
|
expect(await MyJourneysPageSubText.getText()).toEqual('Select a Journey to show it on the map');
|
||||||
|
expect(await MyJourneysSelectCreatedJourney.getText()).toEqual('6 to Administrative Services Managers through Business Administration B.A./B.S.');
|
||||||
|
await MyJourneysSelectCreatedJourney.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await MyJourneysTitleRow.getText()).toEqual('6 to Administrative Services Managers through Business Administration B.A./B.S.');
|
||||||
|
expect(await MyJourneysWayPointTitleRow.getText()).toEqual('6');
|
||||||
|
await MyJourneysRightArrow.click().then(function() {
|
||||||
|
browser.sleep(1500);
|
||||||
|
});
|
||||||
|
expect(await MyJourneysWayPointTitleRow.getText()).toEqual('7');
|
||||||
|
await MyJourneysRightArrow.click().then(function() {
|
||||||
|
browser.sleep(1500);
|
||||||
|
});
|
||||||
|
expect(await MyJourneysWayPointTitleRow.getText()).toEqual('8');
|
||||||
|
await MyJourneysRightArrow.click().then(function() {
|
||||||
|
browser.sleep(1500);
|
||||||
|
});
|
||||||
|
expect(await MyJourneysWayPointTitleRow.getText()).toEqual('9');
|
||||||
|
await MyJourneysRightArrow.click().then(function() {
|
||||||
|
browser.sleep(1500);
|
||||||
|
});
|
||||||
|
expect(await MyJourneysWayPointTitleRow.getText()).toEqual('10');
|
||||||
|
await MyJourneysRightArrow.click().then(function() {
|
||||||
|
browser.sleep(1500);
|
||||||
|
});
|
||||||
|
expect(await MyJourneysWayPointTitleRow.getText()).toEqual('11');
|
||||||
|
await MyJourneysRightArrow.click().then(function() {
|
||||||
|
browser.sleep(1500);
|
||||||
|
});
|
||||||
|
expect(await MyJourneysWayPointTitleRow.getText()).toEqual('12');
|
||||||
|
await MyJourneysRightArrow.click().then(function() {
|
||||||
|
browser.sleep(1500);
|
||||||
|
});
|
||||||
|
expect(await MyJourneysWayPointTitleRow.getText()).toEqual('Master of Business Administration (MBA)');
|
||||||
|
await MyJourneysRightArrow.click().then(function() {
|
||||||
|
browser.sleep(1500);
|
||||||
|
});
|
||||||
|
expect(await MyJourneysWayPointTitleRow.getText()).toEqual('Certified Practice Manager');
|
||||||
|
await MyJourneysRightArrow.click().then(function() {
|
||||||
|
browser.sleep(1500);
|
||||||
|
});
|
||||||
|
expect(await MyJourneysWayPointTitleRow.getText()).toEqual('Certified Legal Manager');
|
||||||
|
await MyJourneysRightArrow.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await MyJourneysWayPointTitleRow.getText()).toEqual('Architectural and Engineering Managers');
|
||||||
|
await MyJourneysRightArrow.click().then(function() {
|
||||||
|
browser.sleep(1500);
|
||||||
|
});
|
||||||
|
expect(await MyJourneysWayPointTitleRow.getText()).toEqual('Business Administration B.A./B.S.');
|
||||||
|
await MyJourneysRightArrow.click().then(function() {
|
||||||
|
browser.sleep(1500);
|
||||||
|
});
|
||||||
|
expect(await MyJourneysWayPointTitleRow.getText()).toEqual('Administrative Services Managers');
|
||||||
|
await MyJourneysRightArrow.click().then(function() {
|
||||||
|
browser.sleep(1500);
|
||||||
|
});
|
||||||
|
expect(await MyJourneysRemoveJourneyButton.getText()).toEqual('Remove Journey');
|
||||||
|
expect(await MyJourneysViewOnMap.getText()).toEqual('View On Map');
|
||||||
|
expect(await MyJourneysHowAmIDoingButton.getText()).toEqual('How am I doing?');
|
||||||
|
expect(await MyJourneysSubText.getText()).toEqual('Try these resources');
|
||||||
|
await MyJourneysViewOnMap.click().then(function() {
|
||||||
browser.sleep(5000);
|
browser.sleep(5000);
|
||||||
});
|
});
|
||||||
|
//add map checks
|
||||||
|
await MyJourneysHeaderLink.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
await MyJourneysSelectCreatedJourney.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
await MyJourneysHowAmIDoingButton.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await MyJourneysDIVTite.getText()).toEqual('Oops!');
|
||||||
|
expect(await MyJourneysDIVSubText.getText()).toEqual("Sorry, we can't give you a quiz for this.");
|
||||||
|
expect(await MyJourneysDIVOKButton.getText()).toEqual('OK');
|
||||||
|
await MyJourneysDIVOKButton.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
await MyJourneysRemoveJourneyButton.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await MyJourneysDIVTite.getText()).toEqual('Are you sure?');
|
||||||
|
expect(await MyJourneysDIVSubText.getText()).toEqual('You will not be able to recover this journey!');
|
||||||
|
expect(await MyJourneysDIVCancelButton.getText()).toEqual('Cancel');
|
||||||
|
expect(await MyJourneysDIVOKButton.getText()).toEqual('Yes, delete it!');
|
||||||
|
await MyJourneysDIVOKButton.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await MyJourneysDIVTite.getText()).toEqual('Deleted!');
|
||||||
|
expect(await MyJourneysDIVSubText.getText()).toEqual('Your journey has been deleted.');
|
||||||
|
await MyJourneysDIVOKButton.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
await MyJourneysHeaderLink.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await MySavedJourneysTitleOne.getText()).toEqual('11 to Fitness and Wellness Coordinators through M.U.R.P.');
|
||||||
|
expect(await MySavedJourneysTitleTwo.getText()).toEqual('8 to Airfield Operations Specialists through College');
|
||||||
|
expect(await MySavedJourneysTitleThree.getText()).toEqual('10 to Computer and Information Systems Managers through Computer Security Graduate Certificate');
|
||||||
|
expect(await MySavedJourneysTitleFour.getText()).toEqual('2 to Natural Sciences Managers through Geology M.A.T./M.S.T.');
|
||||||
browser.waitForAngular();
|
browser.waitForAngular();
|
||||||
browser.getCurrentUrl();
|
browser.getCurrentUrl();
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -23,19 +23,14 @@ describe('Journeysmap script', function () {
|
|||||||
function SignIn(UserNameTextBox, PasswordTextBox) {
|
function SignIn(UserNameTextBox, PasswordTextBox) {
|
||||||
it('should sign into journeysmap.com', async function () {
|
it('should sign into journeysmap.com', async function () {
|
||||||
var PageGreetingText = element(by.css('td > div > div:nth-child(1)'));
|
var PageGreetingText = element(by.css('td > div > div:nth-child(1)'));
|
||||||
var PageSubTextOne = element(by.css('.jmLoginMsg > div > div:nth-child(1)'));
|
|
||||||
var PageSubTextTwo = element(by.css('.jmLoginMsg .ng-scope'));
|
|
||||||
var NextButton = element(by.css('.btn'));
|
var NextButton = element(by.css('.btn'));
|
||||||
var EC = protractor.ExpectedConditions;
|
|
||||||
var InvalidIcon = element(by.css('.far:nth-child(4)'));
|
|
||||||
var PageValidationText = element(by.css('.ng-binding:nth-child(1)'));
|
|
||||||
var EyeIcon = element(by.css('.fa-eye'));
|
|
||||||
var JourneysGreeting = element(by.css('.dropdown'));
|
var JourneysGreeting = element(by.css('.dropdown'));
|
||||||
|
|
||||||
expect(await PageGreetingText.getText()).toEqual('Login and start exploring.');
|
expect(await PageGreetingText.getText()).toEqual('Login and start exploring.');
|
||||||
browser.sleep(1000);
|
|
||||||
await UserNameTextBox.sendKeys('QA_AutomatedRegression');
|
await UserNameTextBox.sendKeys('QA_AutomatedRegression');
|
||||||
|
browser.sleep(1000);
|
||||||
await PasswordTextBox.sendKeys('3Dm!nAuto');
|
await PasswordTextBox.sendKeys('3Dm!nAuto');
|
||||||
|
browser.sleep(1000);
|
||||||
await NextButton.click().then(function() {
|
await NextButton.click().then(function() {
|
||||||
browser.waitForAngular();
|
browser.waitForAngular();
|
||||||
browser.getCurrentUrl();
|
browser.getCurrentUrl();
|
||||||
@@ -46,9 +41,7 @@ describe('Journeysmap script', function () {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
//<<<<DASHBOARD>>>>
|
//EditTopCareer();
|
||||||
//Top Career Widget
|
|
||||||
EditTopCareer();
|
|
||||||
TopCareerWidget();
|
TopCareerWidget();
|
||||||
//Sign Out*/
|
//Sign Out*/
|
||||||
SignOut();
|
SignOut();
|
||||||
@@ -58,27 +51,23 @@ function EditTopCareer() {
|
|||||||
it(': EditTopCareer, should edit Top Career', async function () {
|
it(': EditTopCareer, should edit Top Career', async function () {
|
||||||
var WidgetTitle = element(by.css('.widget-padding:nth-child(2) > .jrnys_lead-body-copy'));
|
var WidgetTitle = element(by.css('.widget-padding:nth-child(2) > .jrnys_lead-body-copy'));
|
||||||
var TopCareerEditIcon = element(by.css('.full-width .fa-pencil'));
|
var TopCareerEditIcon = element(by.css('.full-width .fa-pencil'));
|
||||||
var TopCareerDivXRemoveLink = element(by.css('.col-xs-1 > .glyphicon'));
|
var TopCareerDIvXRemoveLink = element(by.css('.col-xs-1 > .glyphicon'));
|
||||||
var TopCareerDivCancelButton = element(by.css('.row:nth-child(12) .btn-alt-info'));
|
var TopCareerDIVCancelButton = element(by.css('.row:nth-child(12) .btn-alt-info'));
|
||||||
var TopCareerGreenText = element(by.css('.default-color:nth-child(2)'));
|
var TopCareerGreenText = element(by.css('.default-color:nth-child(2)'));
|
||||||
var TopCareerGreenSubText = element(by.css('.textPosition'));
|
var TopCareerGreenSubText = element(by.css('.textPosition'));
|
||||||
var TopCareerDivAddButton = element(by.css('.resetBtn'));
|
var TopCareerDIVAddButton = element(by.css('.resetBtn'));
|
||||||
var TopCareerDivTitle = element(by.css('h2'));
|
var TopCareerDIVTitle = element(by.css('h2'));
|
||||||
var TopCareerDivSubTitle = element(by.css('.row:nth-child(5) > .col-lg-8'));
|
var TopCareerDIVSubTitle = element(by.css('.row:nth-child(5) > .col-lg-8'));
|
||||||
var TopCareerDivHandle = element(by.css('.col-lg-8 > label'));
|
var TopCareerDIVHandle = element(by.css('.col-lg-8 > label'));
|
||||||
var TopCareerDivTextBox = element(by.id('searchBox'));
|
var TopCareerDIVTextBox = element(by.id('searchBox'));
|
||||||
var TopCareerDivSelection = element(by.xpath('//div[2]/div/ul/li[3]/a/span'));
|
var TopCareerDIVSelection = element(by.xpath('//div[2]/div/ul/li[3]/a/span'));
|
||||||
var TopCareerDivSaveButton = element(by.css('.row:nth-child(12) #photoBtn'));
|
var TopCareerDIVSaveButton = element(by.css('.row:nth-child(12) #photoBtn'));
|
||||||
|
var TopCareerLink = element(by.css('td>.jrnys_support-text'));
|
||||||
var TopCareerDescription = element(by.css('.jrEllipsis3Lines'));
|
var TopCareerDescription = element(by.css('.jrEllipsis3Lines'));
|
||||||
|
|
||||||
//Resolution 1366 x 768
|
browser.executeScript('window.scrollTo(0, 1885);').then(function() {
|
||||||
browser.executeScript('window.scrollTo(0, 1383);').then(function() {
|
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
|
|
||||||
/*browser.executeScript('window.scrollTo(0, 1880);').then(function() {
|
|
||||||
browser.sleep(2500);
|
|
||||||
});*/
|
|
||||||
expect(await WidgetTitle.getText()).toEqual('Top Career');
|
expect(await WidgetTitle.getText()).toEqual('Top Career');
|
||||||
browser.actions().mouseMove(element(by.css('.widget-padding:nth-child(2) > .jrnys_lead-body-copy'))).perform().then(function() {
|
browser.actions().mouseMove(element(by.css('.widget-padding:nth-child(2) > .jrnys_lead-body-copy'))).perform().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
@@ -86,34 +75,35 @@ function EditTopCareer() {
|
|||||||
await TopCareerEditIcon.click().then(function() {
|
await TopCareerEditIcon.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
await TopCareerDivXRemoveLink.click().then(function() {
|
await TopCareerDIvXRemoveLink.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
await TopCareerDivCancelButton.click().then(function() {
|
await TopCareerDIVCancelButton.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await TopCareerGreenText.getText()).toEqual('Top Career');
|
expect(await TopCareerGreenText.getText()).toEqual('Top Career');
|
||||||
expect(await TopCareerGreenSubText.getText()).toEqual("Head in the clouds? Share what Career you’re thinking about!");
|
expect(await TopCareerGreenSubText.getText()).toEqual("Head in the clouds? Share what Career you’re thinking about!");
|
||||||
await TopCareerDivAddButton.click().then(function() {
|
await TopCareerDIVAddButton.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await TopCareerDivTitle.getText()).toEqual('Dream big, reach higher!');
|
expect(await TopCareerDIVTitle.getText()).toEqual('Dream big, reach higher!');
|
||||||
expect(await TopCareerDivSubTitle.getText()).toEqual("Journeys is a place that helps make dreams come true. What's your dream job?");
|
expect(await TopCareerDIVSubTitle.getText()).toEqual("Journeys is a place that helps make dreams come true. What's your dream job?");
|
||||||
expect(await TopCareerDivHandle.getText()).toEqual('Job Title');
|
expect(await TopCareerDIVHandle.getText()).toEqual('Job Title');
|
||||||
await TopCareerDivTextBox.click().then(function() {
|
await TopCareerDIVTextBox.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
await TopCareerDivTextBox.sendKeys('Computer');
|
await TopCareerDIVTextBox.sendKeys('Computer');
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
browser.actions().mouseMove(TopCareerDivSelection).perform().then(function() {
|
browser.actions().mouseMove(TopCareerDIVSelection).perform().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
await TopCareerDivSelection.click().then(function() {
|
await TopCareerDIVSelection.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
await TopCareerDivSaveButton.click().then(function() {
|
await TopCareerDIVSaveButton.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
|
expect(await TopCareerLink.getText()).toEqual('Computer and Information Research Scientists');
|
||||||
expect(await TopCareerDescription.getText()).toEqual('Conduct research into fundamental computer and information science as theorists, designers, or inventors. Develop solutions to problems in the field of computer hardware and software.');
|
expect(await TopCareerDescription.getText()).toEqual('Conduct research into fundamental computer and information science as theorists, designers, or inventors. Develop solutions to problems in the field of computer hardware and software.');
|
||||||
browser.waitForAngular();
|
browser.waitForAngular();
|
||||||
browser.getCurrentUrl();
|
browser.getCurrentUrl();
|
||||||
@@ -131,6 +121,9 @@ function TopCareerWidget() {
|
|||||||
var VideoIcon = element(by.css('.text-right .far'));
|
var VideoIcon = element(by.css('.text-right .far'));
|
||||||
var FollowIcon = element(by.css('.text-right > span .journey-follow'));
|
var FollowIcon = element(by.css('.text-right > span .journey-follow'));
|
||||||
var JourneymanIcon = element(by.css('.text-right .socialImgIcon .socialImgIconJourneyableSvg'));
|
var JourneymanIcon = element(by.css('.text-right .socialImgIcon .socialImgIconJourneyableSvg'));
|
||||||
|
var Progress = element(by.css('.ng-scope:nth-child(3) > a > .jrnys_support-text'));
|
||||||
|
var Followers = element(by.css('.text-color-7a > .jrnys_support-text'));
|
||||||
|
var Confidence = element(by.css('.ng-scope:nth-child(1) > a > .jrnys_support-text'));
|
||||||
var AtAGlanceHeader = element(by.css('#atAGlanceWidget .jrnys_lead-body-copy'));
|
var AtAGlanceHeader = element(by.css('#atAGlanceWidget .jrnys_lead-body-copy'));
|
||||||
var AtAGlanceHeaderOne = element(by.css('.row-height:nth-child(1) .jrnys_support-text'));
|
var AtAGlanceHeaderOne = element(by.css('.row-height:nth-child(1) .jrnys_support-text'));
|
||||||
var AtAGlanceStatOne = element(by.css('.row-height:nth-child(1) .col-sm-offset-4'));
|
var AtAGlanceStatOne = element(by.css('.row-height:nth-child(1) .col-sm-offset-4'));
|
||||||
@@ -152,8 +145,9 @@ function TopCareerWidget() {
|
|||||||
var PersonalityBulletFour = element(by.css('.ng-scope:nth-child(2) > td:nth-child(2) > .ng-binding'));
|
var PersonalityBulletFour = element(by.css('.ng-scope:nth-child(2) > td:nth-child(2) > .ng-binding'));
|
||||||
var PersonalityBulletFive = element(by.css('table:nth-child(1) .ng-scope:nth-child(3) > td:nth-child(1) > .ng-binding:nth-child(2)'));
|
var PersonalityBulletFive = element(by.css('table:nth-child(1) .ng-scope:nth-child(3) > td:nth-child(1) > .ng-binding:nth-child(2)'));
|
||||||
var PersonalityBulletSix = element(by.css('.ng-scope:nth-child(3) > td:nth-child(2) > .ng-binding'));
|
var PersonalityBulletSix = element(by.css('.ng-scope:nth-child(3) > td:nth-child(2) > .ng-binding'));
|
||||||
var WagesWidgetTitle = element(by.css('.widget-round-corners:nth-child(4) .fullHeight .jrnys_lead-body-copy'));
|
var WagesWidgetTitle = element(by.xpath('//occupation-wages/div/div[2]/div/div'));//css('.widget-round-corners:nth-child(4) .fullHeight .jrnys_lead-body-copy'));
|
||||||
var WagesInfoIcon = element(by.css('.jrnys_lead-body-copy > .journey-info-circle'));
|
var WagesInfoIcon = element(by.css('.jrnys_lead-body-copy > .journey-info-circle'));
|
||||||
|
var WagesWidgetBackOfCardTitle = element(by.css('tr > .jrnys_lead-body-copy'));
|
||||||
var WagesSubTextOne = element(by.css('table:nth-child(2) > tbody > tr:nth-child(2) div:nth-child(1)'));
|
var WagesSubTextOne = element(by.css('table:nth-child(2) > tbody > tr:nth-child(2) div:nth-child(1)'));
|
||||||
var WagesSubTextTwo = element(by.css('td > .ng-scope:nth-child(2)'));
|
var WagesSubTextTwo = element(by.css('td > .ng-scope:nth-child(2)'));
|
||||||
var WagesSubTextThree = element(by.css('.fullHeight:nth-child(2) > table div:nth-child(3)'));
|
var WagesSubTextThree = element(by.css('.fullHeight:nth-child(2) > table div:nth-child(3)'));
|
||||||
@@ -161,79 +155,96 @@ function TopCareerWidget() {
|
|||||||
var WagesSubTextFive = element(by.linkText('https://www.bls.gov/oes/special.requests/oesm19all.zip'));
|
var WagesSubTextFive = element(by.linkText('https://www.bls.gov/oes/special.requests/oesm19all.zip'));
|
||||||
var WagesSubTextSix = element(by.linkText('https://www.bls.gov/oes/special.requests/oesm18all.zip'));
|
var WagesSubTextSix = element(by.linkText('https://www.bls.gov/oes/special.requests/oesm18all.zip'));
|
||||||
var WagesSubTextSeven = element(by.linkText('https://www.bls.gov/oes/special.requests/oesm17all.zip'));
|
var WagesSubTextSeven = element(by.linkText('https://www.bls.gov/oes/special.requests/oesm17all.zip'));
|
||||||
var WagesCloseBackOfCardIcon = element(by.css('.fa-times-rectangle'));
|
var WagesWidgetCloseBackOfCardIcon = element(by.css('.fa-times-rectangle'));
|
||||||
var WagesNoDataText = element(by.css('div:nth-child(1) > .ng-binding:nth-child(3)'));
|
|
||||||
var CurrentDataNationalHeader = element(by.css('g:nth-child(2) > g:nth-child(2) > text'));
|
var CurrentDataNationalHeader = element(by.css('g:nth-child(2) > g:nth-child(2) > text'));
|
||||||
var CurrentDataLocalHeader = element(by.css('g:nth-child(3) > g > text'));
|
var CurrentDataLocalHeader = element(by.css('g:nth-child(3) > g > text'));
|
||||||
var WagesHighText = element(by.css('g:nth-child(4) > text'));
|
//var WagesTypeText = element(by.xpath('/html/body/div[1]/div/div/div[2]/ul/li[4]/occupation-wages/div/div[2]/div/table/tbody/tr/td/div/div/div[1]/div/svg/g[3]/g/text'));//Can't ID
|
||||||
var WagesMedianText = element(by.css('g:nth-child(5) > text'));
|
var WagesHighText = element(by.css('g:nth-child(6) > text'));
|
||||||
var WagesLowText = element(by.css('g:nth-child(6) > text'));
|
var WagesMedianText = element(by.css('g:nth-child(7) > text'));
|
||||||
|
var WagesLowText = element(by.css('g:nth-child(8) > text'));
|
||||||
var Wages0Text = element(by.css('g:nth-child(4) > g:nth-child(1) > text'));
|
var Wages0Text = element(by.css('g:nth-child(4) > g:nth-child(1) > text'));
|
||||||
var Wages100KText = element(by.css('g:nth-child(4) > g:nth-child(2) > text'));
|
var WagesXAxisOneText = element(by.css('g:nth-child(4) > g:nth-child(2) > text'));
|
||||||
var Wages200KText = element(by.css('g:nth-child(3) > text'));
|
var WagesXAxisTwoText = element(by.css('g:nth-child(3) > text'));
|
||||||
var WagesChangeLocationLink = element(by.css('.dropdown > .widgetRightControlContainer'));
|
var WagesXAxisThreeText = element(by.css('g:nth-child(4) > text'));
|
||||||
var ZipCodeTextBox = element(by.css('.ng-valid-maxlength:nth-child(1)'));
|
var WagesXAxisFourText = element(by.css('g:nth-child(5) > text'));
|
||||||
var ApplyButton = element(by.css('tr:nth-child(1) > td > .btn'));
|
var WagesFilterIcon = element(by.css('.fa-sliders-h'));
|
||||||
var DegreesWidgetTitle = element(by.css('#liDegree .jrnys_lead-body-copy'));
|
var ZipCodeTextBoxText = element(by.css('.dropdown-menu tr:nth-child(1) > td:nth-child(1)'));
|
||||||
var DegreesCardOneHeader = element(by.css('.item:nth-child(1) > .col-xs-4:nth-child(1) .jrnys_body-copy'));
|
var ZipCodeTextBox = element(by.css('.ng-valid-maxlength'));
|
||||||
var DegreesCardTwoHeader = element(by.css('.col-xs-4:nth-child(2) .jrnys_body-copy'));
|
var ZipCodeApplyButton = element(by.css('tr:nth-child(1) .btn'));
|
||||||
var DegreesCardThreeHeader = element(by.css('.col-xs-4:nth-child(3) .jrnys_body-copy'));
|
var StateDropDownText = element(by.css('.dropdown-menu tr:nth-child(2) > td:nth-child(1)'));
|
||||||
var DegreesRightScroll = element(by.css('.table-height:nth-child(2) .right > .glyphicon'));
|
var StateDropDownApplyButton = element(by.css('tr:nth-child(2) .btn'));
|
||||||
var DegreesCardTWoHeaderOne = element(by.css('.item:nth-child(2) .jrnys_body-copy'));
|
var WagesHighTextTwo = element(by.css('g:nth-child(7) > text'));
|
||||||
|
var WagesMedianTextTwo = element(by.css('g:nth-child(8) > text'));
|
||||||
|
var WagesLowTextTwo = element(by.css('g:nth-child(9) > text'));
|
||||||
|
var WagesXAxisFiveText = element(by.css('g:nth-child(6) > text'));
|
||||||
|
var RateTypeText = element(by.css('.dropdown-menu tr:nth-child(3) > td:nth-child(1)'));
|
||||||
|
var HourlyButton = element(by.css('#tdRateType > .btn-info'));
|
||||||
|
var AnnualButton = element(by.css('.btn:nth-child(2)'))
|
||||||
|
var CollegePathwaysWidgetTitle = element(by.css('#liDegree .jrnys_lead-body-copy'));
|
||||||
|
var ComputerApplicationsMinorCollegeWide = element(by.css('#\\36 3f93734-c4e9-48cd-8ff4-041e10760da5 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
|
var ComputerScienceBS = element(by.css('#a6e09aef-a938-4c2b-aa90-c6d6b2499de7 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
|
var ComputerScienceMinor = element(by.css('#fd59401c-391c-4fe4-979a-440cf9648e22 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
|
var CollegePathwaysRightScroll = element(by.css('.table-height:nth-child(2) .right > .glyphicon'));
|
||||||
|
var ComputerScienceMS = element(by.css('#a8803504-ea19-4643-8569-b5fae3db34d9 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
var CertificatesWidgetTitle = element(by.css('#liCertificate .jrnys_lead-body-copy'));
|
var CertificatesWidgetTitle = element(by.css('#liCertificate .jrnys_lead-body-copy'));
|
||||||
var CertificatesCardOneHeader = element(by.css('#\\35 179bed9-a8e1-44af-b525-3e8ad0dcb31e > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
var CertifiedLabVIEWArchitect = element(by.css('#\\35 179bed9-a8e1-44af-b525-3e8ad0dcb31e > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
var CertificatesCardOneSubHeader = element(by.xpath('//div/div/div/div/table/tbody/tr/td/span'));
|
var CertificatesCardOneSubHeader = element(by.xpath('//div/div/div/div/table/tbody/tr/td/span'));
|
||||||
var CertificatesCardTwoHeader = element(by.css('#\\38 8e24eb9-a695-4048-917d-f45bd0015675 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
var CertifiedAssociateLabVIEWDeveloper = element(by.css('#\\38 8e24eb9-a695-4048-917d-f45bd0015675 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
var CertificatesCardTwoSubHeader = element(by.xpath('//div[2]/div/div/table/tbody/tr/td/span'));
|
var CertificatesCardTwoSubHeader = element(by.xpath('//div[2]/div/div/table/tbody/tr/td/span'));
|
||||||
var CertificatesCardThreeHeader = element(by.css('#\\31 82f070b-18f9-4276-bb91-3128c4d0cf2c > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
var AvayaCertifiedExpert = element(by.css('#\\31 82f070b-18f9-4276-bb91-3128c4d0cf2c > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
var CertificatesCardThreeSubHeader = element(by.xpath('//div[3]/div/div/table/tbody/tr/td/span'));
|
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 CertificatesRightScroll = element(by.css('.widget-round-corners:nth-child(6) .right:nth-child(4) > .glyphicon:nth-child(1)'));
|
||||||
var CertificatesCardTwoHeaderOne = element(by.css('#\\33 dc99d7b-8e65-4337-8d77-9168ff3c441f > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
var CertifiedBiometricsProfessional = element(by.css('#\\33 dc99d7b-8e65-4337-8d77-9168ff3c441f > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
var CertificatesCardTwoHeaderTwo = element(by.css('#b087b0eb-5b23-432e-816e-7fd06cf51aa1 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
var CertifiedSoftwareDevelopmentProfessional = element(by.css('#b087b0eb-5b23-432e-816e-7fd06cf51aa1 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
var CertificatesCardTwoHeaderThree = element(by.css('#\\34 e91a2cb-c425-4881-9af7-cea1617cdddc > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
var MicrosoftServerVirtualizationWithWindowsServerHyperVAndSystemCenter = element(by.css('#\\34 e91a2cb-c425-4881-9af7-cea1617cdddc > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
var InstitutionsWidgetTitle = element(by.xpath('//recommended-colleges/div/div/div'));
|
var InstitutionsWidgetTitle = element(by.xpath('//recommended-colleges/div/div/div'));
|
||||||
var InstitutionsCardOneHeader = element(by.css('#recommendedColleges .item:nth-child(1) > .col-xs-4:nth-child(1) .territoryCardTitleText:nth-child(2) > .ng-binding:nth-child(1)'));
|
var UniversityOfSanDiego = element(by.css('#recommendedColleges .item:nth-child(1) > .col-xs-4:nth-child(1) .territoryCardTitleText:nth-child(2) > .ng-binding:nth-child(1)'));
|
||||||
var InstitutionsCardOneAtAGlance = element(by.css('#territoryCardContainer > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div > div.territoryCardIcon > i'));
|
var UniversityOfSanDiegoAtAGlanceIcon = element(by.css('#recommendedColleges .item:nth-child(1) > .col-xs-4:nth-child(1) .territoryCardItemText:nth-child(2)'));
|
||||||
var InstitutionsBackOfCardAtAGlance = element(by.css('#territoryCardContainer > div:nth-child(3) > div:nth-child(2) > territory-card-more-back > div > div > div > div > div:nth-child(6) > div.territoryCardBackOfCardItemText'));
|
var UniversityOfSanDiegoBackOfCardTitle = element(by.xpath('/html/body/div[1]/div/div/div[2]/ul/li[7]/recommended-colleges/div/div/table/tbody/tr/td/div/div/div/div[1]/div[1]/div/college-territory-card/territory-card/div/div[2]/div[1]/div[1]'));//css('#territoryCardTitleHeader > div.territoryCardTitleText.ng-binding'));
|
||||||
var InstitutionsBackOfCardOneHeader = element(by.css('#territoryCardTitleHeader > div.territoryCardTitleText.ng-binding'));
|
var UniversityOfSanDiegoBackOfCard4YearHeader = element(by.xpath('/html/body/div[1]/div/div/div[2]/ul/li[7]/recommended-colleges/div/div/table/tbody/tr/td/div/div/div/div[1]/div[1]/div/college-territory-card/territory-card/div/div[2]/div[2]/territory-card-at-a-glance-back/div/div/div/div[2]/div/table/tbody/tr[1]/td[2]/div[1]'));//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 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 UniversityOfSanDiegoBackOfCard4YearData = element(by.xpath('/html/body/div[1]/div/div/div[2]/ul/li[7]/recommended-colleges/div/div/table/tbody/tr/td/div/div/div/div[1]/div[1]/div/college-territory-card/territory-card/div/div[2]/div[2]/territory-card-at-a-glance-back/div/div/div/div[2]/div/table/tbody/tr[1]/td[2]/div[2]'));//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 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 UniversityOfSanDiegoBackOfCardUndergradHeader = element(by.xpath('/html/body/div[1]/div/div/div[2]/ul/li[7]/recommended-colleges/div/div/table/tbody/tr/td/div/div/div/div[1]/div[1]/div/college-territory-card/territory-card/div/div[2]/div[2]/territory-card-at-a-glance-back/div/div/div/div[2]/div/table/tbody/tr[3]/td[2]/div[1]'));//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 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 UniversityOfSanDiegoBackOfCardUndergradData = element(by.xpath('/html/body/div[1]/div/div/div[2]/ul/li[7]/recommended-colleges/div/div/table/tbody/tr/td/div/div/div/div[1]/div[1]/div/college-territory-card/territory-card/div/div[2]/div[2]/territory-card-at-a-glance-back/div/div/div/div[2]/div/table/tbody/tr[3]/td[2]/div[2]'));//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 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 UniversityOfSanDiegoBackOfCardLocationHeader = 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 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 UniversityOfSanDiegoBackOfCardLocationData = 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 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 UniversityOfSanDiegoBackOfCardClassroomHeader = 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 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 UniversityOfSanDiegoBackOfCardClassroomData = 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 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 UniversityOfSanDiegoBackOfCardXCloseIcon = element(by.xpath('/html/body/div[1]/div/div/div[2]/ul/li[7]/recommended-colleges/div/div/table/tbody/tr/td/div/div/div/div[1]/div[1]/div/college-territory-card/territory-card/div/div[2]/div[1]/div[2]/span'));//css('#territoryCardTitleHeader > div:nth-child(2) > span'));
|
||||||
var InstitutionsCardTwoHeader = element(by.css('#recommendedColleges .item:nth-child(1) > .col-xs-4:nth-child(2) .territoryCardTitleText:nth-child(2) > .ng-binding:nth-child(1)'));
|
var UniversityOfSanDiegoEllipsisIcon = element(by.css('#recommendedColleges .item:nth-child(1) > .col-xs-4:nth-child(1) div:nth-child(2) .fas:nth-child(1)'));
|
||||||
var InstitutionsCardThreeHeader = element(by.css('#recommendedColleges .item:nth-child(1) > .col-xs-4:nth-child(3) .territoryCardTitleText:nth-child(2) > .ng-binding:nth-child(1)'));
|
var UniversityOfSanDiegoBackOfCardTitleTwo = element(by.xpath('/html/body/div[1]/div/div/div[2]/ul/li[7]/recommended-colleges/div/div/table/tbody/tr/td/div/div/div/div[1]/div[1]/div/college-territory-card/territory-card/div/div[3]/div[1]/div[1]'));
|
||||||
|
var UniversityOfSanDiegoBackOfCardFollowIcon = element(by.css('#territoryCardContainer > div.ng-scope > div:nth-child(2) > territory-card-more-back > div > div > div > div > div:nth-child(1) > div.territoryCardItemText'));
|
||||||
|
var UniversityOfSanDiegoBackOfCardLearnMoreIcon = element(by.css('#territoryCardContainer > div.ng-scope > div:nth-child(2) > territory-card-more-back > div > div > div > div > div:nth-child(2) > div.territoryCardBackOfCardItemText'));
|
||||||
|
var UniversityOfSanDiegoBackOfCardAtAGlanceIcon = element(by.css('#territoryCardContainer > div.ng-scope > div:nth-child(2) > territory-card-more-back > div > div > div > div > div:nth-child(6) > div.territoryCardBackOfCardItemText'));
|
||||||
|
var NationalUniversity = element(by.css('#recommendedColleges .item:nth-child(1) > .col-xs-4:nth-child(2) .territoryCardTitleText:nth-child(2) > .ng-binding:nth-child(1)'));
|
||||||
|
var PointLomaNazareneUniversity = element(by.css('#recommendedColleges .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 InstitutionsRightScroll = element(by.css('#recommendedColleges .right > .glyphicon'));
|
||||||
var InstitutionsCardTwoHeaderOne = element(by.css('#recommendedColleges .item:nth-child(2) > .col-xs-4:nth-child(1) .territoryCardTitleText:nth-child(2) > .ng-binding:nth-child(1)'));
|
var UniversityOfCaliforniaSanDiego = element(by.css('#recommendedColleges .item:nth-child(2) > .col-xs-4:nth-child(1) .territoryCardTitleText:nth-child(2) > .ng-binding:nth-child(1)'));
|
||||||
var InstitutionsCardTwoHeaderTwo = element(by.css('#recommendedColleges .item:nth-child(2) > .col-xs-4:nth-child(2) .territoryCardTitleText:nth-child(2) > .ng-binding:nth-child(1)'));
|
var SanDiegoStateUniversity = element(by.css('#recommendedColleges .item:nth-child(2) > .col-xs-4:nth-child(2) .territoryCardTitleText:nth-child(2) > .ng-binding:nth-child(1)'));
|
||||||
var InstitutionsCardTwoHeaderThree = element(by.css('#recommendedColleges .item:nth-child(2) > .col-xs-4:nth-child(3) .territoryCardTitleText:nth-child(2) > .ng-binding:nth-child(1)'));
|
var CaliforniaStateUniversitySanMarcos = element(by.css('#recommendedColleges .item:nth-child(2) > .col-xs-4:nth-child(3) .territoryCardTitleText:nth-child(2) > .ng-binding:nth-child(1)'));
|
||||||
var TopResourcesWidgetTitle = element(by.css('#id .jrnys_lead-body-copy'));
|
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'));
|
var TopResourcesCardOneHeader = element(by.css('.item:nth-child(1) > .col-xs-4:nth-child(1) .hotTitles'));
|
||||||
var TopResourcesCardTwoHeader = element(by.css('.item:nth-child(1) > .col-xs-4:nth-child(2) .hotTitles'));
|
var TopResourcesCardTwoHeader = element(by.css('.item:nth-child(1) > .col-xs-4:nth-child(2) .hotTitles'));
|
||||||
var TopResourcesCardThreeHeader = element(by.css('.item:nth-child(1) > .col-xs-4:nth-child(3) .hotTitles'));
|
var TopResourcesCardThreeHeader = element(by.css('.item:nth-child(1) > .col-xs-4:nth-child(3) .hotTitles'));
|
||||||
var TopResourcesRightScroll = element(by.xpath('//resource-carousel/div/div/table/tbody/tr/td/div/div/a[2]/span'));
|
var TopResourcesRightScroll = element(by.xpath('//resource-carousel/div/div/table/tbody/tr/td/div/div/a[2]/span'));
|
||||||
var TopResourcesCardTwoHeaderOne = element(by.css('.item:nth-child(2) > .col-xs-4:nth-child(1) .hotTitles'));
|
var TopResourcesCardFourHeader = element(by.css('.item:nth-child(2) > .col-xs-4:nth-child(1) .hotTitles'));
|
||||||
var TopResourcesCardTwoHeaderTwo = element(by.css('.item:nth-child(2) > .col-xs-4:nth-child(2) .hotTitles'));
|
var TopResourcesCardFiveHeader = element(by.css('.item:nth-child(2) > .col-xs-4:nth-child(2) .hotTitles'));
|
||||||
var TopResourcesCardTwoHeaderThree = element(by.css('.item:nth-child(2) > .col-xs-4:nth-child(3) .hotTitles'));
|
var TopResourcesCardSixHeader = element(by.css('.item:nth-child(2) > .col-xs-4:nth-child(3) .hotTitles'));
|
||||||
var TopResourcesLeftScroll = element(by.xpath('//resource-carousel/div/div/table/tbody/tr/td/div/div/a/span'));
|
var TopResourcesLeftScroll = element(by.xpath('//resource-carousel/div/div/table/tbody/tr/td/div/div/a/span'));
|
||||||
var TopResourcesCardThreeSaveIcon = element(by.css('.item:nth-child(1) > .col-xs-4:nth-child(3) .journey-save:nth-child(1)'));
|
var TopResourcesCardThreeSaveIcon = element(by.css('.item:nth-child(1) > .col-xs-4:nth-child(3) .journey-save:nth-child(1)'));
|
||||||
var FindOpportunitiesWidgetTitle = element(by.css('.widgetTitleContainerFindJob > .noPaddingCol'));
|
var FindOpportunitiesWidgetTitle = element(by.css('.noPaddingCol > .jrnys_lead-body-copy'));
|
||||||
var FindOpportunitiesSubText = element(by.css('.col-sm-12:nth-child(2)'));
|
var FindOpportunitiesSubText = element(by.css('.no-padding > .jrnys_body-copy'));
|
||||||
var JobsTotalsLink = element(by.css('.col-sm-8 .job-title-display'));
|
var JobsTotalsLink = element(by.css('.col-sm-4:nth-child(1) .col-sm-9 .jrnys_stand-out-text'));
|
||||||
var JobListingsDivHeader = element(by.css('.col-xs-12 > h6:nth-child(1) > .ng-binding'));
|
var JobListingsDIVHeader = element(by.css('.col-xs-12 > h6:nth-child(1) > .ng-binding'));
|
||||||
var InternshipsTotalsLink = element(by.xpath('//div[2]/div/div[2]/div/div'));
|
var InternshipsTotalsLink = element(by.css('#findJobsWidget > .text-color-7a:nth-child(3)'));//Null link
|
||||||
var InternshipsListingsDivHeader = element(by.css('#findJobsWidget > .text-color-7a:nth-child(3)'));
|
var InternshipsListingsDIVHeader = element(by.css('#findJobsWidget > .text-color-7a:nth-child(3)'));
|
||||||
var ApprenticeshipsTotalsLink = element(by.css('#findJobsWidget > .text-color-7a:nth-child(3)'));
|
var ApprenticeshipsTotalsLink = element(by.css('#findJobsWidget > .text-color-7a:nth-child(3)'));//Null link
|
||||||
var FindOpportunitiesChangeLocationLink = element(by.css('.text-right:nth-child(2)'));
|
var FindOpportunitiesChangeLocationLink = element(by.css('.jrnys_body-copy:nth-child(2)'));
|
||||||
var ChangeLocationDivTitle = element(by.css('b'));
|
var ChangeLocationDIVTitle = element(by.css('b'));
|
||||||
var ChangeLocationDivSubTitle = element(by.css('.col-xs-11:nth-child(2)'));
|
var ChangeLocationDIVSubTitle = element(by.css('.col-xs-11:nth-child(2)'));
|
||||||
var ChnageLocationEnterZipCodeTextBox = element(by.css('#inputZip'));
|
var ChnageLocationEnterZipCodeTextBox = element(by.css('#inputZip'));
|
||||||
var ChangeLocationApplyButton = element(by.css('#indeedQuery'));
|
var ChangeLocationApplyButton = element(by.css('#indeedQuery'));
|
||||||
var SubmitResourceWidgetTitle = element(by.css('.jrnys_lead-body-copy > .row > .col-xs-12'));
|
var SubmitResourceWidgetTitle = element(by.css('.jrnys_lead-body-copy > .row > .col-xs-12'));
|
||||||
var SubmitResourceWidgetSubTextOne = element(by.css('.row:nth-child(2) > .jrnys_body-copy:nth-child(1)'));
|
var SubmitResourceWidgetSubTextOne = element(by.css('.row:nth-child(1) > .jrnys_body-copy'));
|
||||||
var TotalInJourneys = element(by.css('.col-xs-offset-1 .col-xs-offset-1'));
|
var TotalInJourneys = element(by.css('.col-xs-offset-1 .col-xs-offset-1'));
|
||||||
var MySubmittedResourcesLink = element(by.css('.col-xs-offset-1 > .row .jrnys_lead-body-copy'));
|
var MySubmittedResourcesLink = element(by.css('.col-xs-offset-1 > .row .jrnys_lead-body-copy'));
|
||||||
var MySubmittedResourcesWidgetTitle = element(by.css('.col-sm-12 > .ng-binding'));
|
var MySubmittedResourcesWidgetTitle = element(by.css('.col-sm-12 > .ng-binding'));
|
||||||
@@ -242,10 +253,10 @@ function TopCareerWidget() {
|
|||||||
var MyResourceFollowIcon = element(by.css('div:nth-child(1) > .text-color-4b > span'));
|
var MyResourceFollowIcon = element(by.css('div:nth-child(1) > .text-color-4b > span'));
|
||||||
var MyResourceLearnMoreIcon = element(by.css('div:nth-child(2) > .text-color-4b > span:nth-child(2)'));
|
var MyResourceLearnMoreIcon = element(by.css('div:nth-child(2) > .text-color-4b > span:nth-child(2)'));
|
||||||
var ForThisMapPoint = element(by.css('.display-right .col-xs-offset-1'));
|
var ForThisMapPoint = element(by.css('.display-right .col-xs-offset-1'));
|
||||||
var SubmitResourceWidgetSubTextTwo = element(by.css('.row:nth-child(4) > .col-sm-12'));
|
var SubmitResourceWidgetSubTextTwo = element(by.css('.row:nth-child(3) > .col-sm-12'));
|
||||||
var SubmitAResourceWidgetButton = element(by.css('.col-sm-12 > .jrnys_support-text'));
|
var SubmitAResourceWidgetButton = element(by.css('.col-sm-12 > .jrnys_support-text'));
|
||||||
var SubmitAResourceDivTitle = element(by.css('h3'));
|
var SubmitAResourceDIVTitle = element(by.css('h3'));
|
||||||
var SubmitAResourceDivCancelButton = element(by.css('.btn-blue-RoundTabsinfo'));
|
var SubmitAResourceDIVCancelButton = element(by.css('.btn-blue-RoundTabsinfo'));
|
||||||
var KnowledgeWidgetTitle = element(by.css('#knowledgeid .jrnys_lead-body-copy'));
|
var KnowledgeWidgetTitle = element(by.css('#knowledgeid .jrnys_lead-body-copy'));
|
||||||
var KnowledgeImportanceHeader = element(by.css('#knowledgeid > table > tbody > tr > td > div > div > div > table > thead > tr > th.text-color-7a'));
|
var KnowledgeImportanceHeader = element(by.css('#knowledgeid > table > tbody > tr > td > div > div > div > table > thead > tr > th.text-color-7a'));
|
||||||
var KnowledgeDescriptionOne = element(by.css('#knowledgeid .table:nth-child(1) .ng-scope:nth-child(1) .ng-binding:nth-child(1)'));
|
var KnowledgeDescriptionOne = element(by.css('#knowledgeid .table:nth-child(1) .ng-scope:nth-child(1) .ng-binding:nth-child(1)'));
|
||||||
@@ -300,23 +311,52 @@ function TopCareerWidget() {
|
|||||||
var TechnologyDescriptionFour = element(by.css('#technologyid > table > tbody > tr > td > div > div > div > table > tbody > tr:nth-child(4) > td:nth-child(1) > span > span'));
|
var TechnologyDescriptionFour = element(by.css('#technologyid > table > tbody > tr > td > div > div > div > table > tbody > tr:nth-child(4) > td:nth-child(1) > span > span'));
|
||||||
var TechnologyStatFour = element(by.css('#technologyid > table > tbody > tr > td > div > div > div > table > tbody > tr:nth-child(4) > td.text-left.text-color-7a > span > span > span'));
|
var TechnologyStatFour = element(by.css('#technologyid > table > tbody > tr > td > div > div > div > table > tbody > tr:nth-child(4) > td.text-left.text-color-7a > span > span > span'));
|
||||||
var NearbyPlacesWidgetTitle = element(by.css('#liNearby .jrnys_lead-body-copy'));
|
var NearbyPlacesWidgetTitle = element(by.css('#liNearby .jrnys_lead-body-copy'));
|
||||||
var NearbyPlacesCardOneHeader = element(by.xpath('//career-territory-card/territory-card/div/div/div[3]/div/div[2]/span'));
|
var ComputerAndInformationResearchScientists = element(by.css('#\\39 4ad8294-dd41-476f-81e3-966c265c428b > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
var NearbyPlacesCardOneEllipsisIcon = element(by.xpath('//career-territory-card/territory-card/div/div/div/div[2]/div/i'));
|
var ComputerAndInformationResearchScientistsEllipsisIcon = element(by.css('#\\39 4ad8294-dd41-476f-81e3-966c265c428b > #territoryCardContainer > div > div > div > .territoryCardIcon > .fas'));
|
||||||
var NearbyPlacesBackOfCardOneHeader = element(by.xpath('//career-territory-card/territory-card/div/div[3]/div/div'));
|
var ComputerAndInformationResearchScientistsBackOfCardTitle = element(by.xpath('/html/body/div[1]/div/div/div[2]/ul/li[17]/career-occupation-carousel/div/div/table/tbody/tr/td/div/div/div/div[1]/div[1]/div/career-territory-card/territory-card/div/div[3]/div[1]/div[1]'));//css('.ng-scope > #territoryCardTitleHeader > .territoryCardTitleText'));
|
||||||
var NearbyPlacesBackOfCardOneXIcon = element(by.xpath('//career-territory-card/territory-card/div/div[3]/div/div[2]/span'));
|
var ComputerAndInformationResearchScientistsBackOfCardXIcon = element(by.xpath('/html/body/div[1]/div/div/div[2]/ul/li[17]/career-occupation-carousel/div/div/table/tbody/tr/td/div/div/div/div[1]/div[1]/div/career-territory-card/territory-card/div/div[3]/div[1]/div[2]/span'));//css('.ng-scope > #territoryCardTitleHeader .glyphicon'));
|
||||||
var NearbyPlacesCardTwoHeader = element(by.xpath('//div[2]/div/career-territory-card/territory-card/div/div/div[3]/div/div[2]/span'));
|
var ComputerAndInformationSystemsManagers = element(by.css('#\\35 d1377f6-b0bc-4750-945e-1f0d12df3807 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
var NearbyPlacesCardThreeHeader = element(by.xpath('//div[3]/div/career-territory-card/territory-card/div/div/div[3]/div/div[2]/span'));
|
var ComputerNetworkArchitects = element(by.css('#fb2fabe5-621b-477e-948c-64d1fef31b95 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
var NearbyPlacesRightScroll = element(by.xpath('//career-occupation-carousel/div/div/table/tbody/tr/td/div/div/a[2]/span'));
|
var NearbyPlacesRightScroll = element(by.xpath('//career-occupation-carousel/div/div/table/tbody/tr/td/div/div/a[2]/span'));
|
||||||
var NearbyPlacesCardTwoHeaderOne = element(by.xpath('//div[2]/div/div/career-territory-card/territory-card/div/div/div[3]/div/div[2]/span'));
|
var ComputerNetworkSupportSpecialists = element(by.css('#b645081d-8b86-44b2-8d68-155c064edced > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
var NearbyPlacesCardTwoHeaderTwo = element(by.xpath('//div[2]/div[2]/div/career-territory-card/territory-card/div/div/div[3]/div/div[2]/span'));
|
var ComputerOccupationsAllOther = element(by.css('#e3e72eef-7bc8-4384-a3dd-6e766992dfc0 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
var NearbyPlacesCardTwoHeaderThree = element(by.xpath('//div[2]/div[3]/div/career-territory-card/territory-card/div/div/div[3]/div/div[2]/span'));
|
var ComputerProgrammers = element(by.css('#\\33 ce39f29-0e17-4472-8dba-682356e8df07 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
var NearbyPlacesLeftScroll = element(by.xpath('//career-occupation-carousel/div/div/table/tbody/tr/td/div/div/a/span'));
|
var ComputerScienceTeachersPostsecondary = element(by.css('#e867c7f0-c5e9-43ac-9dd3-82dd4dd62660 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
|
var DataWarehousingSpecialist = element(by.css('#\\34 9618b26-751c-4c6c-bb52-1773b0c84e68 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
|
var DatabaseAdministrator = element(by.css('#\\31 25099b5-7514-4a28-8c5f-776a0edd13c2 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
|
var DatabaseArchitects = element(by.css('#\\32 f5c1341-aaec-41f7-8d76-7fbe9c0497fa > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
|
var GraphicDesigners = element(by.css('#cc7cc408-71ef-4390-b425-d03e24f8253a > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
|
var InformationSecurityAnalysts = element(by.css('#\\31 fe39d9e-c19d-45eb-bfef-f44e759a56d6 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
|
var MultimediaArtistsAndAnimators = element(by.css('#\\32 a294540-b4cc-4886-a4de-edb17e7a748e > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
|
var NetworkAndComputerSystemsAdministrators = element(by.css('#ce3ef31a-9e4e-4ab8-a950-61b07731ad66 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
|
var SoftwareDevelopersApplications = element(by.css('#\\32 26a35d5-9f4d-4f3e-8327-bce9c771d0e6 > #territoryCardContainer .territoryCardTitleText > .ng-binding'));
|
||||||
//var NearbyPlacesRightScroll = element(by.xpath('//li[17]')).element(by.css('.glyphicon-chevron-right'));
|
//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'));
|
//var NearbyPlacesLeftScroll = element(by.xpath('//li[17]')).element(by.css('.glyphicon-chevron-left'));
|
||||||
|
|
||||||
|
//REMOVE
|
||||||
|
browser.executeScript('window.scrollTo(0, 1885);').then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
|
||||||
await TopCareerLink.click().then(function() {
|
await TopCareerLink.click().then(function() {
|
||||||
browser.sleep(5000);
|
browser.sleep(5000);
|
||||||
});
|
});
|
||||||
|
//At A Glance
|
||||||
|
expect(await AtAGlanceHeader.getText()).toEqual('At A Glance');
|
||||||
|
expect(await AtAGlanceHeaderOne.getText()).toEqual('Typical Degree');
|
||||||
|
expect(await AtAGlanceStatOne.getText()).toContain('College (4 Year) - 1%');
|
||||||
|
expect(await AtAGlanceStatOne.getText()).toContain('Doctoral degree - 1%');
|
||||||
|
expect(await AtAGlanceStatOne.getText()).toContain("Master's degree - 1%");
|
||||||
|
expect(await AtAGlanceHeaderTwo.getText()).toEqual('Average Annual Salary');
|
||||||
|
expect(await AtAGlanceStatTwo.getText()).toEqual('$114,520');
|
||||||
|
expect(await AtAGlanceHeaderThree.getText()).toEqual('Projected Growth');
|
||||||
|
expect(await AtAGlanceSubHeaderThree.getText()).toEqual(' ABOVE AVERAGE');
|
||||||
|
expect(await AtAGlanceStatThree.getText()).toContain(' ABOVE AVERAGE');
|
||||||
|
expect(await AtAGlanceStatThree.getText()).toContain('19.2%');
|
||||||
|
expect(await AtAGlanceHeaderFour.getText()).toEqual('Projected Job Openings');
|
||||||
|
expect(await AtAGlanceStatFour.getText()).toEqual('2,500');
|
||||||
|
expect(await AtAGlanceHeaderFive.getText()).toEqual('Currently Employed');
|
||||||
|
expect(await AtAGlanceStatFive.getText()).toEqual('27,900');
|
||||||
//Description
|
//Description
|
||||||
expect(await LearnMoreTitle.getText()).toEqual('Computer and Information Research Scientists');
|
expect(await LearnMoreTitle.getText()).toEqual('Computer and Information Research Scientists');
|
||||||
await DescriptionDetail.click().then(function() {
|
await DescriptionDetail.click().then(function() {
|
||||||
@@ -325,7 +365,8 @@ function TopCareerWidget() {
|
|||||||
expect(await DescriptionHeader.getText()).toEqual('Computer and Information Research Scientists');
|
expect(await DescriptionHeader.getText()).toEqual('Computer and Information Research Scientists');
|
||||||
expect(await DescriptionSubText.getText()).toContain('Conduct research into fundamental computer and information science as theorists, designers, or inventors. Develop solutions to problems in the field of computer hardware and software.');
|
expect(await DescriptionSubText.getText()).toContain('Conduct research into fundamental computer and information science as theorists, designers, or inventors. Develop solutions to problems in the field of computer hardware and software.');
|
||||||
expect(await DescriptionSubText.getText()).toContain('Other Jobs:');
|
expect(await DescriptionSubText.getText()).toContain('Other Jobs:');
|
||||||
expect(await DescriptionSubText.getText()).toContain('Computer Scientist; Control System Computer Scientist; Scientific Programmer Analyst');
|
expect(await DescriptionSubText.getText()).toContain('Computer Scientist; Computer Specialist; Control System Computer Scientist; HPC Applications Manager (High Performance Computing Applications Manager); Research Scientist; Scientific Programmer Analyst');
|
||||||
|
expect(await DescriptionSubText.getText()).toContain('O*NET SOC: 15-1111.00');
|
||||||
await XCloseLink.click().then(function() {
|
await XCloseLink.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
@@ -338,30 +379,14 @@ function TopCareerWidget() {
|
|||||||
browser.actions().mouseMove(JourneymanIcon).perform().then(function() {
|
browser.actions().mouseMove(JourneymanIcon).perform().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
//At A Glance
|
expect(await Progress.getText()).toContain('PROGRESS');
|
||||||
expect(await AtAGlanceHeader.getText()).toEqual('At A Glance');
|
expect(await Progress.getText()).toContain('COMPLETE');
|
||||||
expect(await AtAGlanceHeaderOne.getText()).toEqual('Typical Degree');
|
expect(await Followers.getText()).toEqual('FOLLOWERS');
|
||||||
expect(await AtAGlanceStatOne.getText()).toContain("Master's degree - 59%");
|
expect(await Confidence.getText()).toContain('YOUR CONFIDENCE');
|
||||||
expect(await AtAGlanceStatOne.getText()).toContain("Associate's degree - 0%");
|
expect(await Confidence.getText()).toContain('IS VERY CONFIDENT');
|
||||||
expect(await AtAGlanceStatOne.getText()).toContain('College (4 Year) - 0%');
|
browser.executeScript('window.scrollTo(0, 780);').then(function() {
|
||||||
expect(await AtAGlanceHeaderTwo.getText()).toEqual('Average Annual Salary');
|
|
||||||
expect(await AtAGlanceStatTwo.getText()).toEqual('$114,520');
|
|
||||||
expect(await AtAGlanceHeaderThree.getText()).toEqual('Projected Growth');
|
|
||||||
expect(await AtAGlanceSubHeaderThree.getText()).toEqual(' ABOVE AVERAGE');
|
|
||||||
expect(await AtAGlanceStatThree.getText()).toContain(' ABOVE AVERAGE');
|
|
||||||
expect(await AtAGlanceStatThree.getText()).toContain('19.2%');
|
|
||||||
expect(await AtAGlanceHeaderFour.getText()).toEqual('Projected Job Openings');
|
|
||||||
expect(await AtAGlanceStatFour.getText()).toEqual('2,500');
|
|
||||||
expect(await AtAGlanceHeaderFive.getText()).toEqual('Currently Employed');
|
|
||||||
expect(await AtAGlanceStatFive.getText()).toEqual('27,900');
|
|
||||||
|
|
||||||
//Resolution 1366 x 768
|
|
||||||
browser.executeScript('window.scrollTo(0, 393);').then(function() {
|
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
/*browser.executeScript('window.scrollTo(0, 405);').then(function() {
|
|
||||||
browser.sleep(2500);
|
|
||||||
});*/
|
|
||||||
//Personality
|
//Personality
|
||||||
expect(await PersonalityWidgetTitle.getText()).toEqual('Personality');
|
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 PersonalityDescriptionOne.getText()).toEqual('People interested in this work like activities that include ideas, thinking, and figuring things out.');
|
||||||
@@ -373,124 +398,167 @@ function TopCareerWidget() {
|
|||||||
expect(await PersonalityBulletFive.getText()).toEqual('Achievement/Effort');
|
expect(await PersonalityBulletFive.getText()).toEqual('Achievement/Effort');
|
||||||
expect(await PersonalityBulletSix.getText()).toEqual('Initiative');
|
expect(await PersonalityBulletSix.getText()).toEqual('Initiative');
|
||||||
//Wages
|
//Wages
|
||||||
expect(await WagesWidgetTitle.getText()).toContain('Wages');
|
expect(await WagesWidgetTitle.getText()).toEqual('Wages');
|
||||||
await WagesInfoIcon.click().then(function() {
|
await WagesInfoIcon.click().then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
});
|
});
|
||||||
|
expect(await WagesWidgetBackOfCardTitle.getText()).toEqual('Wages');
|
||||||
expect(await WagesSubTextOne.getText()).toEqual('Data provided by the Bureau of Labor Statistics for SOC 15-1111.00.');
|
expect(await WagesSubTextOne.getText()).toEqual('Data provided by the Bureau of Labor Statistics for SOC 15-1111.00.');
|
||||||
expect(await WagesSubTextTwo.getText()).toEqual('The graph is reflecting data based on BLS statistics of year 2018.');
|
expect(await WagesSubTextTwo.getText()).toEqual('The graph is reflecting data based on BLS statistics of year 2019.');
|
||||||
expect(await WagesSubTextThree.getText()).toEqual('For more information please visit:');
|
expect(await WagesSubTextThree.getText()).toEqual('For more information please visit:');
|
||||||
expect(await WagesSubTextFour.getText()).toEqual('https://beta.bls.gov/dataQuery/find?st=0&r=20&fq=cg:[Occupation]&more=0');
|
expect(await WagesSubTextFour.getText()).toEqual('https://beta.bls.gov/dataQuery/find?st=0&r=20&fq=cg:[Occupation]&more=0');
|
||||||
expect(await WagesSubTextFive.getText()).toEqual('https://www.bls.gov/oes/special.requests/oesm19all.zip');
|
expect(await WagesSubTextFive.getText()).toEqual('https://www.bls.gov/oes/special.requests/oesm19all.zip');
|
||||||
expect(await WagesSubTextSix.getText()).toEqual('https://www.bls.gov/oes/special.requests/oesm18all.zip');
|
expect(await WagesSubTextSix.getText()).toEqual('https://www.bls.gov/oes/special.requests/oesm18all.zip');
|
||||||
expect(await WagesSubTextSeven.getText()).toEqual('https://www.bls.gov/oes/special.requests/oesm17all.zip');
|
expect(await WagesSubTextSeven.getText()).toEqual('https://www.bls.gov/oes/special.requests/oesm17all.zip');
|
||||||
await WagesCloseBackOfCardIcon.click().then(function() {
|
await WagesWidgetCloseBackOfCardIcon.click().then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
});
|
});
|
||||||
//expect(await WagesNoDataText.getText()).toEqual("Sometimes even Journeys can't find something. Don't worry, we'll keep our eyes out for this information.");
|
browser.executeScript('window.scrollTo(0, 780);');
|
||||||
expect(await WagesWidgetTitle.getText()).toContain('Change Location');
|
expect(await CurrentDataNationalHeader.getText()).toEqual('National');
|
||||||
expect(await CurrentDataNationalHeader.getText()).toEqual('U.S.');
|
expect(await CurrentDataLocalHeader.getText()).toEqual('San Diego-Carlsbad, CA Metro Area');
|
||||||
expect(await CurrentDataLocalHeader.getText()).toContain('San Diego-Carlsbad, CA');
|
//expect(await WagesTypeText.getText()).toEqual('4');//Can't ID
|
||||||
expect(await WagesHighText.getText()).toEqual('High');
|
expect(await WagesHighText.getText()).toEqual('High');
|
||||||
expect(await WagesMedianText.getText()).toEqual('Median');
|
expect(await WagesMedianText.getText()).toEqual('Median');
|
||||||
expect(await WagesLowText.getText()).toEqual('Low');
|
expect(await WagesLowText.getText()).toEqual('Low');
|
||||||
expect(await Wages0Text.getText()).toEqual('$0');
|
expect(await Wages0Text.getText()).toEqual('$0');
|
||||||
expect(await Wages100KText.getText()).toEqual('$100,000');
|
expect(await WagesXAxisOneText.getText()).toEqual('$50,000');
|
||||||
expect(await Wages200KText.getText()).toEqual('$200,000');
|
expect(await WagesXAxisTwoText.getText()).toEqual('$100,000');
|
||||||
await WagesChangeLocationLink.click().then(function() {
|
expect(await WagesXAxisThreeText.getText()).toEqual('$150,000');
|
||||||
browser.sleep(1000);
|
expect(await WagesXAxisFourText.getText()).toEqual('$200,000');
|
||||||
|
await WagesFilterIcon.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
|
expect(await ZipCodeTextBoxText.getText()).toEqual('Zip Code');
|
||||||
await ZipCodeTextBox.click();
|
await ZipCodeTextBox.click();
|
||||||
await ZipCodeTextBox.clear();
|
await ZipCodeTextBox.clear();
|
||||||
await ZipCodeTextBox.sendKeys('85013').then(function() {
|
await ZipCodeTextBox.sendKeys('85013').then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
});
|
});
|
||||||
await ApplyButton.click().then(function() {
|
await ZipCodeApplyButton.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await CurrentDataNationalHeader.getText()).toEqual('U.S.');
|
expect(await CurrentDataNationalHeader.getText()).toEqual('National');
|
||||||
expect(await CurrentDataLocalHeader.getText()).toContain('Phoenix-Mesa-Scottsdale, AZ');
|
expect(await CurrentDataLocalHeader.getText()).toContain('Phoenix-Mesa-Scottsdale, AZ');
|
||||||
/*browser.actions().mouseMove(CertificatesWidgetTitle).perform().then(function() {
|
expect(await WagesHighText.getText()).toEqual('High');
|
||||||
|
expect(await WagesMedianText.getText()).toEqual('Median');
|
||||||
|
expect(await WagesLowText.getText()).toEqual('Low');
|
||||||
|
expect(await Wages0Text.getText()).toEqual('$0');
|
||||||
|
expect(await WagesXAxisOneText.getText()).toEqual('$50,000');
|
||||||
|
expect(await WagesXAxisTwoText.getText()).toEqual('$100,000');
|
||||||
|
expect(await WagesXAxisThreeText.getText()).toEqual('$150,000');
|
||||||
|
expect(await WagesXAxisFourText.getText()).toEqual('$200,000');
|
||||||
|
await WagesFilterIcon.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await StateDropDownText.getText()).toEqual('Or State');
|
||||||
|
element(by.cssContainingText('option', 'Oregon')).click().then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
});*/
|
});
|
||||||
|
await StateDropDownApplyButton.click().then(function() {
|
||||||
//Resolution 1366 x 768
|
browser.sleep(1000);
|
||||||
browser.executeScript('window.scrollTo(0, 938);').then(function() {
|
});
|
||||||
|
expect(await CurrentDataNationalHeader.getText()).toEqual('National');
|
||||||
|
expect(await CurrentDataLocalHeader.getText()).toContain('Oregon');
|
||||||
|
expect(await WagesHighTextTwo.getText()).toEqual('High');
|
||||||
|
expect(await WagesMedianTextTwo.getText()).toEqual('Median');
|
||||||
|
expect(await WagesLowTextTwo.getText()).toEqual('Low');
|
||||||
|
expect(await Wages0Text.getText()).toEqual('$0');
|
||||||
|
expect(await WagesXAxisOneText.getText()).toEqual('$50,000');
|
||||||
|
expect(await WagesXAxisTwoText.getText()).toEqual('$100,000');
|
||||||
|
expect(await WagesXAxisThreeText.getText()).toEqual('$150,000');
|
||||||
|
expect(await WagesXAxisFourText.getText()).toEqual('$200,000');
|
||||||
|
expect(await WagesXAxisFiveText.getText()).toEqual('$250,000');
|
||||||
|
await WagesFilterIcon.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
/*browser.executeScript('window.scrollTo(0, 882);').then(function() { remove
|
expect(await RateTypeText.getText()).toEqual('Rate Type');
|
||||||
|
expect(await HourlyButton.getText()).toEqual('Hourly');
|
||||||
|
expect(await AnnualButton.getText()).toEqual('Annual');
|
||||||
|
await HourlyButton.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await CurrentDataNationalHeader.getText()).toEqual('National');
|
||||||
|
expect(await CurrentDataLocalHeader.getText()).toContain('Oregon');
|
||||||
|
expect(await WagesHighTextTwo.getText()).toEqual('High');
|
||||||
|
expect(await WagesMedianTextTwo.getText()).toEqual('Median');
|
||||||
|
expect(await WagesLowTextTwo.getText()).toEqual('Low');
|
||||||
|
expect(await Wages0Text.getText()).toEqual('$0');
|
||||||
|
expect(await WagesXAxisOneText.getText()).toEqual('$20');
|
||||||
|
expect(await WagesXAxisTwoText.getText()).toEqual('$40');
|
||||||
|
expect(await WagesXAxisThreeText.getText()).toEqual('$60');
|
||||||
|
expect(await WagesXAxisFourText.getText()).toEqual('$80');
|
||||||
|
expect(await WagesXAxisFiveText.getText()).toEqual('$100');
|
||||||
|
browser.executeScript('window.scrollTo(0, 1255);').then(function() {
|
||||||
browser.sleep(2495);
|
browser.sleep(2495);
|
||||||
});*/
|
});
|
||||||
//Degrees
|
//College Pathways
|
||||||
expect(await DegreesWidgetTitle.getText()).toEqual('Degrees');
|
expect(await CollegePathwaysWidgetTitle.getText()).toEqual('College Pathways');
|
||||||
expect(await DegreesCardOneHeader.getText()).toEqual('Computer Applications Minor—College-Wide');
|
expect(await ComputerApplicationsMinorCollegeWide.getText()).toEqual('Computer Applications Minor—College-Wide');
|
||||||
expect(await DegreesCardTwoHeader.getText()).toEqual('Computer Science B.S.');
|
expect(await ComputerScienceBS.getText()).toEqual('Computer Science B.S.');
|
||||||
expect(await DegreesCardThreeHeader.getText()).toEqual('Computer Science Minor');
|
expect(await ComputerScienceMinor.getText()).toEqual('Computer Science Minor');
|
||||||
await DegreesRightScroll.click().then(function() {
|
await CollegePathwaysRightScroll.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await DegreesCardTWoHeaderOne.getText()).toEqual('Computer Science M.S.');
|
expect(await ComputerScienceMS.getText()).toEqual('Computer Science M.S.');
|
||||||
|
browser.executeScript('window.scrollTo(0, 1890);').then(function() {
|
||||||
//Resolution 1366 x 768
|
browser.sleep(2495);
|
||||||
browser.executeScript('window.scrollTo(0, 1277);').then(function() {
|
|
||||||
browser.sleep(2500);
|
|
||||||
});
|
});
|
||||||
//Certificates
|
//Certificates
|
||||||
expect(await CertificatesWidgetTitle.getText()).toEqual('Certificates');
|
expect(await CertificatesWidgetTitle.getText()).toEqual('Certificates');
|
||||||
expect(await CertificatesCardOneHeader.getText()).toEqual('Certified LabVIEW Architect');
|
expect(await CertifiedLabVIEWArchitect.getText()).toEqual('Certified LabVIEW Architect');
|
||||||
//expect(await CertificatesCardOneSubHeader.getText()).toEqual('Business Analysis'); Bug?
|
//expect(await CertificatesCardOneSubHeader.getText()).toEqual('Business Analysis'); Bug?
|
||||||
expect(await CertificatesCardTwoHeader.getText()).toEqual('Certified Associate LabVIEW Developer');
|
expect(await CertifiedAssociateLabVIEWDeveloper.getText()).toEqual('Certified Associate LabVIEW Developer');
|
||||||
//expect(await CertificatesCardTwoSubHeader.getText()).toEqual('Business Analysis'); Bug?
|
//expect(await CertificatesCardTwoSubHeader.getText()).toEqual('Business Analysis'); Bug?
|
||||||
expect(await CertificatesCardThreeHeader.getText()).toEqual('Avaya Certified Expert');
|
expect(await AvayaCertifiedExpert.getText()).toEqual('Avaya Certified Expert');
|
||||||
//expect(await CertificatesCardThreeSubHeader.getText()).toEqual('Business Financial Mgmt & Acctg'); Bug?
|
//expect(await CertificatesCardThreeSubHeader.getText()).toEqual('Business Financial Mgmt & Acctg'); Bug?
|
||||||
await CertificatesRightScroll.click().then(function() {
|
await CertificatesRightScroll.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await CertificatesCardTwoHeaderOne.getText()).toEqual('Certified Biometrics Professional');
|
expect(await CertifiedBiometricsProfessional.getText()).toEqual('Certified Biometrics Professional');
|
||||||
expect(await CertificatesCardTwoHeaderTwo.getText()).toEqual('Certified Software Development Professional');
|
expect(await CertifiedSoftwareDevelopmentProfessional.getText()).toEqual('Certified Software Development Professional');
|
||||||
expect(await CertificatesCardTwoHeaderThree.getText()).toEqual('Microsoft Server Virtualization with Windows Server Hyper-V and System Center');
|
expect(await MicrosoftServerVirtualizationWithWindowsServerHyperVAndSystemCenter.getText()).toEqual('Microsoft Server Virtualization with Windows Server Hyper-V and System Center');
|
||||||
|
browser.executeScript('window.scrollTo(0, 2525);').then(function() {
|
||||||
//Resolution 1366 x 768
|
|
||||||
browser.executeScript('window.scrollTo(0, 1730);').then(function() {
|
|
||||||
browser.sleep(5000);
|
|
||||||
});
|
|
||||||
/*browser.executeScript('window.scrollTo(0, 1995);').then(function() { remove
|
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});*/
|
});
|
||||||
//Institutions
|
//Institutions
|
||||||
expect(await InstitutionsWidgetTitle.getText()).toEqual('Institutions View All');
|
expect(await InstitutionsWidgetTitle.getText()).toEqual('Institutions View All');
|
||||||
expect(await InstitutionsCardOneHeader.getText()).toEqual('University of San Diego');
|
expect(await UniversityOfSanDiego.getText()).toEqual('University of San Diego');
|
||||||
/*await InstitutionsCardOneAtAGlance.click().then(function() {
|
await UniversityOfSanDiegoAtAGlanceIcon.click().then(function() {
|
||||||
browser.sleep(2500)
|
browser.sleep(2500)
|
||||||
});
|
});
|
||||||
expect(await InstitutionsBackOfCardOneHeader.getText()).toEqual('University of San Diego');
|
expect(await UniversityOfSanDiegoBackOfCardTitle.getText()).toEqual('University of San Diego');
|
||||||
expect(await InstitutionsBackOfCard4YearHeader.getText()).toEqual('4 Year');
|
expect(await UniversityOfSanDiegoBackOfCard4YearHeader.getText()).toEqual('4 Year');
|
||||||
expect(await InstitutionsBackOfCard4YearData.getText()).toEqual('Private nonprofit');
|
expect(await UniversityOfSanDiegoBackOfCard4YearData.getText()).toEqual('Private nonprofit');
|
||||||
expect(await InstitutionsBackOfCardUndergradHeader.getText()).toEqual('Undergraduate Students');
|
expect(await UniversityOfSanDiegoBackOfCardUndergradHeader.getText()).toEqual('Undergraduate Students');
|
||||||
expect(await InstitutionsBackOfCardUndergradData.getText()).toEqual('5,677');
|
expect(await UniversityOfSanDiegoBackOfCardUndergradData.getText()).toEqual('5,760');
|
||||||
expect(await InstitutionsBackOfCardLocationHeader.getText()).toContain('Location');
|
expect(await UniversityOfSanDiegoBackOfCardLocationHeader.getText()).toContain('Location');
|
||||||
expect(await InstitutionsBackOfCardLocationData.getText()).toEqual('City');
|
expect(await UniversityOfSanDiegoBackOfCardLocationData.getText()).toEqual('City');
|
||||||
expect(await InstitutionsBackOfCardClassroomHeader.getText()).toContain('Classrooms');
|
expect(await UniversityOfSanDiegoBackOfCardClassroomHeader.getText()).toContain('Classrooms');
|
||||||
expect(await InstitutionsBackOfCardClassroomData.getText()).toEqual('Medium');*/
|
expect(await UniversityOfSanDiegoBackOfCardClassroomData.getText()).toEqual('Medium');
|
||||||
expect(await InstitutionsCardTwoHeader.getText()).toEqual('National University');
|
await UniversityOfSanDiegoBackOfCardXCloseIcon.click().then(function() {
|
||||||
expect(await InstitutionsCardThreeHeader.getText()).toEqual('Point Loma Nazarene University');
|
browser.sleep(1000);
|
||||||
|
});
|
||||||
|
browser.executeScript('window.scrollTo(0, 2525);').then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
await UniversityOfSanDiegoEllipsisIcon.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await UniversityOfSanDiegoBackOfCardTitleTwo.getText()).toEqual('University of San Diego');
|
||||||
|
expect(await UniversityOfSanDiegoBackOfCardFollowIcon.getText()).toEqual('Follow');
|
||||||
|
expect(await UniversityOfSanDiegoBackOfCardLearnMoreIcon.getText()).toEqual('Learn More');
|
||||||
|
expect(await UniversityOfSanDiegoBackOfCardAtAGlanceIcon.getText()).toEqual('At A Glance');
|
||||||
|
expect(await NationalUniversity.getText()).toEqual('National University');
|
||||||
|
expect(await PointLomaNazareneUniversity.getText()).toEqual('Point Loma Nazarene University');
|
||||||
await InstitutionsRightScroll.click().then(function() {
|
await InstitutionsRightScroll.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await InstitutionsCardTwoHeaderOne.getText()).toEqual('University of California-San Diego');
|
expect(await UniversityOfCaliforniaSanDiego.getText()).toEqual('University of California-San Diego');
|
||||||
expect(await InstitutionsCardTwoHeaderTwo.getText()).toEqual('San Diego State University');
|
expect(await SanDiegoStateUniversity.getText()).toEqual('San Diego State University');
|
||||||
expect(await InstitutionsCardTwoHeaderThree.getText()).toEqual('California State University-San Marcos');
|
expect(await CaliforniaStateUniversitySanMarcos.getText()).toEqual('California State University-San Marcos');
|
||||||
/*browser.actions().mouseMove(FindOpportunitiesWidgetTitle).perform().then(function() {
|
browser.executeScript('window.scrollTo(0, 3160);').then(function() {
|
||||||
browser.sleep(1000);
|
|
||||||
});*/
|
|
||||||
|
|
||||||
//Resolution 1366 x 768
|
|
||||||
browser.executeScript('window.scrollTo(0, 2182);').then(function() {
|
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
/*browser.executeScript('window.scrollTo(0, 2470);').then(function() { remove
|
|
||||||
browser.sleep(2500);
|
|
||||||
});*/
|
|
||||||
//Top Resources
|
//Top Resources
|
||||||
expect(await TopResourcesWidgetTitle.getText()).toEqual('Top Resources View All');
|
expect(await TopResourcesWidgetTitle.getText()).toEqual('Top Resources View All');
|
||||||
expect(await TopResourcesCardOneHeader.getText()).toEqual('Computer and Information Research Scientists (Information Technology)');
|
expect(await TopResourcesCardOneHeader.getText()).toEqual('Computer and Information Research Scientists (Information Technology)');
|
||||||
@@ -499,9 +567,9 @@ function TopCareerWidget() {
|
|||||||
await TopResourcesRightScroll.click().then(function() {
|
await TopResourcesRightScroll.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await TopResourcesCardTwoHeaderOne.getText()).toEqual('Computer and Information Research Scientists');
|
expect(await TopResourcesCardFourHeader.getText()).toEqual('Computer and Information Research Scientists');
|
||||||
expect(await TopResourcesCardTwoHeaderTwo.getText()).toEqual('Computer and Information Research Scientists');
|
expect(await TopResourcesCardFiveHeader.getText()).toEqual('Computer and Information Research Scientists');
|
||||||
expect(await TopResourcesCardTwoHeaderThree.getText()).toEqual('Arduino download link for Thinkabitlab');
|
expect(await TopResourcesCardSixHeader.getText()).toEqual('Arduino download link for Thinkabitlab');
|
||||||
await TopResourcesLeftScroll.click().then(function() {
|
await TopResourcesLeftScroll.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
@@ -509,31 +577,29 @@ function TopCareerWidget() {
|
|||||||
await TopResourcesCardThreeSaveIcon.click().then(function() {
|
await TopResourcesCardThreeSaveIcon.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
/*browser.actions().mouseMove(TasksWidgetTitle).perform().then(function() {
|
browser.executeScript('window.scrollTo(0, 3640);').then(function() {
|
||||||
browser.sleep(1000);
|
|
||||||
});*/
|
|
||||||
|
|
||||||
//Resolution 1366 x 768
|
|
||||||
browser.executeScript('window.scrollTo(0, 2522);').then(function() {
|
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
/*browser.executeScript('window.scrollTo(0, 2947);').then(function() { remove
|
|
||||||
browser.sleep(2500);
|
|
||||||
});*/
|
|
||||||
//Find Opportunities
|
//Find Opportunities
|
||||||
expect(await FindOpportunitiesWidgetTitle.getText()).toEqual('Find Opportunities');
|
expect(await FindOpportunitiesWidgetTitle.getText()).toEqual('Find Opportunities');
|
||||||
expect(await FindOpportunitiesSubText.getText()).toEqual('Great News! We found lots of opportunities within a 50 mile radius of 92123.');
|
expect(await FindOpportunitiesSubText.getText()).toEqual('Great News! We found lots of opportunities within a 50 mile radius of 92123.');
|
||||||
expect(await JobsTotalsLink.getText()).toContain('Jobs');
|
//expect(await JobsTotalsLink.getText()).toEqual('85');//stored value needed
|
||||||
//expect(await JobsTotalsLink.getText()).toContain('85');//stored value needed
|
await JobsTotalsLink.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
//expect(await JobListingsDIVHeader.getText()).toEqual('Job Listings: 85');
|
||||||
|
await XCloseLink.click().then(function() {
|
||||||
|
browser.sleep(1000);
|
||||||
|
});
|
||||||
expect(await InternshipsTotalsLink.getText()).toContain('Internships');
|
expect(await InternshipsTotalsLink.getText()).toContain('Internships');
|
||||||
//expect(await InternshipsTotalsLink.getText()).toContain('0');//stored value needed
|
//expect(await InternshipsTotalsLink.getText()).toEqual('0');//stored value needed
|
||||||
expect(await ApprenticeshipsTotalsLink.getText()).toContain('Apprenticeships');//value sometimes is disabled
|
expect(await ApprenticeshipsTotalsLink.getText()).toContain('Apprenticeships');//value sometimes is disabled
|
||||||
//expect(await ApprenticeshipsTotalsLink.getText()).toContain('0');//stored value needed
|
//expect(await ApprenticeshipsTotalsLink.getText()).toEqual('0');//stored value needed
|
||||||
await FindOpportunitiesChangeLocationLink.click().then(function() {
|
await FindOpportunitiesChangeLocationLink.click().then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
});
|
});
|
||||||
expect(await ChangeLocationDivTitle.getText()).toEqual('Change Location');
|
expect(await ChangeLocationDIVTitle.getText()).toEqual('Change Location');
|
||||||
expect(await ChangeLocationDivSubTitle.getText()).toEqual("Let's search the location you're most interested in.");
|
expect(await ChangeLocationDIVSubTitle.getText()).toEqual("Let's search the location you're most interested in.");
|
||||||
await ChnageLocationEnterZipCodeTextBox.sendKeys('85013');
|
await ChnageLocationEnterZipCodeTextBox.sendKeys('85013');
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
element(by.cssContainingText('option', '1000')).click().then(function() {
|
element(by.cssContainingText('option', '1000')).click().then(function() {
|
||||||
@@ -546,23 +612,23 @@ function TopCareerWidget() {
|
|||||||
await JobsTotalsLink.click().then(function() {
|
await JobsTotalsLink.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await JobListingsDivHeader.getText()).toContain('Job Listings:');//stored value needed
|
//expect(await JobListingsDIVHeader.getText()).toEqual('Job Listings: 85');//stored value needed
|
||||||
await XCloseLink.click().then(function() {
|
await XCloseLink.click().then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
});
|
});
|
||||||
/*await InternshipsTotalsLink.click().then(function() {
|
/*await InternshipsTotalsLink.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await InternshipsListingsDivHeader.getText()).toContain('Internships: ');//stored value needed
|
expect(await InternshipsListingsDIVHeader.getText()).toEqual('Internships: ');//stored value needed
|
||||||
await XCloseLink.click().then(function() {
|
await XCloseLink.click().then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
});*/
|
});*/
|
||||||
expect(await JobsTotalsLink.getText()).toEqual('Jobs'); //remove
|
//expect(await JobsTotalsLink.getText()).toEqual('85');//stored value needed
|
||||||
//expect(await JobsTotalsLink.getText()).toContain('68');//stored value needed
|
//expect(await JobsTotalsLink.getText()).toEqual('68');//stored value needed
|
||||||
expect(await InternshipsTotalsLink.getText()).toEqual('Internships');
|
expect(await InternshipsTotalsLink.getText()).toContain('Internships');
|
||||||
//expect(await InternshipsTotalsLink.getText()).toContain('0');//stored value needed
|
//expect(await InternshipsTotalsLink.getText()).toEqual('0');//stored value needed
|
||||||
expect(await ApprenticeshipsTotalsLink.getText()).toContain('Apprenticeships');
|
expect(await ApprenticeshipsTotalsLink.getText()).toContain('Apprenticeships');
|
||||||
//expect(await Totals.getText()).toContain('3');//stored value needed
|
//expect(await Totals.getText()).toEqual('3');//stored value needed
|
||||||
//Submit A Resource
|
//Submit A Resource
|
||||||
expect(await SubmitResourceWidgetTitle.getText()).toEqual('Submit a Resource');
|
expect(await SubmitResourceWidgetTitle.getText()).toEqual('Submit a Resource');
|
||||||
expect(await SubmitResourceWidgetSubTextOne.getText()).toEqual("Here's a summary of your submitted Resources");
|
expect(await SubmitResourceWidgetSubTextOne.getText()).toEqual("Here's a summary of your submitted Resources");
|
||||||
@@ -571,7 +637,7 @@ function TopCareerWidget() {
|
|||||||
await MySubmittedResourcesLink.click().then(function() {
|
await MySubmittedResourcesLink.click().then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
});
|
});
|
||||||
expect(await MySubmittedResourcesWidgetTitle.getText()).toContain('My Submitted Resources');
|
expect(await MySubmittedResourcesWidgetTitle.getText()).toEqual('My Submitted Resources');
|
||||||
expect(await MyResourceTitle.getText()).toEqual('Test Doc');
|
expect(await MyResourceTitle.getText()).toEqual('Test Doc');
|
||||||
await EllipsisResource.click().then(function() {
|
await EllipsisResource.click().then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
@@ -587,73 +653,65 @@ function TopCareerWidget() {
|
|||||||
await SubmitAResourceWidgetButton.click().then(function() {
|
await SubmitAResourceWidgetButton.click().then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
});
|
});
|
||||||
expect(await SubmitAResourceDivTitle.getText()).toEqual('Submit a Resource');
|
expect(await SubmitAResourceDIVTitle.getText()).toEqual('Submit a Resource');
|
||||||
await SubmitAResourceDivCancelButton.click().then(function() {
|
await SubmitAResourceDIVCancelButton.click().then(function() {
|
||||||
browser.sleep(1000);
|
browser.sleep(1000);
|
||||||
});
|
});
|
||||||
/*browser.actions().mouseMove(KnowledgeWidgetTitle).perform().then(function() {
|
browser.executeScript('window.scrollTo(0, 4118);').then(function() {
|
||||||
browser.sleep(1000);
|
|
||||||
});*/
|
|
||||||
|
|
||||||
//Resolution 1366 x 768
|
|
||||||
browser.executeScript('window.scrollTo(0, 2860);').then(function() {
|
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
/*browser.executeScript('window.scrollTo(0, 3225);').then(function() {
|
|
||||||
browser.sleep(25000);
|
|
||||||
});*/
|
|
||||||
//Knowledge
|
//Knowledge
|
||||||
expect(await KnowledgeWidgetTitle.getText()).toEqual('Knowledge View All');
|
expect(await KnowledgeWidgetTitle.getText()).toEqual('Knowledge View All');
|
||||||
expect(await KnowledgeImportanceHeader.getText()).toEqual('Importance');
|
expect(await KnowledgeImportanceHeader.getText()).toEqual('Importance');
|
||||||
expect(await KnowledgeDescriptionOne.getText()).toEqual('Computers and Electronics');
|
expect(await KnowledgeDescriptionOne.getText()).toEqual('Computers and Electronics');
|
||||||
expect(await KnowledgeImportanceStatOne.getText()).toEqual('90%');
|
expect(await KnowledgeImportanceStatOne.getText()).toEqual('89%');
|
||||||
expect(await KnowledgeDescriptionTwo.getText()).toEqual('Mathematics');
|
expect(await KnowledgeDescriptionTwo.getText()).toEqual('Mathematics');
|
||||||
expect(await KnowledgeImportanceStatTwo.getText()).toEqual('82%');
|
expect(await KnowledgeImportanceStatTwo.getText()).toEqual('77%');
|
||||||
expect(await KnowledgeDescriptionThree.getText()).toEqual('English Language');
|
expect(await KnowledgeDescriptionThree.getText()).toEqual('Engineering and Technology');
|
||||||
expect(await KnowledgeImportanceStatThree.getText()).toEqual('79%');
|
expect(await KnowledgeImportanceStatThree.getText()).toEqual('74%');
|
||||||
//Skills
|
//Skills
|
||||||
expect(await SkillsWidgetTitle.getText()).toEqual('Skills View All');
|
expect(await SkillsWidgetTitle.getText()).toEqual('Skills View All');
|
||||||
expect(await SkillsImportanceHeader.getText()).toEqual('Importance');
|
expect(await SkillsImportanceHeader.getText()).toEqual('Importance');
|
||||||
expect(await SkillsDescriptionOne.getText()).toEqual('Complex Problem Solving');
|
expect(await SkillsDescriptionOne.getText()).toEqual('Complex Problem Solving');
|
||||||
expect(await SkillsImportanceStatOne.getText()).toEqual('72%');
|
expect(await SkillsImportanceStatOne.getText()).toEqual('75%');
|
||||||
expect(await SkillsDescriptionTwo.getText()).toEqual('Critical Thinking');
|
expect(await SkillsDescriptionTwo.getText()).toEqual('Critical Thinking');
|
||||||
expect(await SkillsImportanceStatTwo.getText()).toEqual('69%');
|
expect(await SkillsImportanceStatTwo.getText()).toEqual('75%');
|
||||||
expect(await SkillsDescriptionThree.getText()).toEqual('Systems Analysis');
|
expect(await SkillsDescriptionThree.getText()).toEqual('Judgment and Decision Making');
|
||||||
expect(await SkillsImportanceStatThree.getText()).toEqual('69%');
|
expect(await SkillsImportanceStatThree.getText()).toEqual('75%');
|
||||||
//Ability
|
//Ability
|
||||||
expect(await AbilityWidgetTitle.getText()).toEqual('Ability View All');
|
expect(await AbilityWidgetTitle.getText()).toEqual('Ability View All');
|
||||||
expect(await AbilityImportanceHeader.getText()).toEqual('Importance');
|
expect(await AbilityImportanceHeader.getText()).toEqual('Importance');
|
||||||
expect(await AbilityDescriptionOne.getText()).toEqual('Deductive Reasoning');
|
expect(await AbilityDescriptionOne.getText()).toEqual('Deductive Reasoning');
|
||||||
expect(await AbilityImportanceStatOne.getText()).toEqual('72%');
|
expect(await AbilityImportanceStatOne.getText()).toEqual('78%');
|
||||||
expect(await AbilityDescriptionTwo.getText()).toEqual('Inductive Reasoning');
|
expect(await AbilityDescriptionTwo.getText()).toEqual('Inductive Reasoning');
|
||||||
expect(await AbilityImportanceStatTwo.getText()).toEqual('72%');
|
expect(await AbilityImportanceStatTwo.getText()).toEqual('78%');
|
||||||
expect(await AbilityDescriptionThree.getText()).toEqual('Problem Sensitivity');
|
expect(await AbilityDescriptionThree.getText()).toEqual('Oral Comprehension');
|
||||||
expect(await AbilityImportanceStatThree.getText()).toEqual('69%');
|
expect(await AbilityImportanceStatThree.getText()).toEqual('75%');
|
||||||
//Tasks
|
//Tasks
|
||||||
expect(await TasksWidgetTitle.getText()).toEqual('Tasks View All');
|
expect(await TasksWidgetTitle.getText()).toEqual('Tasks View All');
|
||||||
expect(await TasksCategoryHeader.getText()).toEqual('Category');
|
expect(await TasksCategoryHeader.getText()).toEqual('Category');
|
||||||
expect(await TasksImportanceHeader.getText()).toEqual('Importance');
|
expect(await TasksImportanceHeader.getText()).toEqual('Importance');
|
||||||
browser.actions().mouseMove(TasksDescriptionOne).perform().then(function() {
|
browser.executeScript('window.scrollTo(0, 4220);').then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await TasksDescriptionOne.getText()).toEqual('Analyze problems to develop solutions involving computer hardware and software.');
|
expect(await TasksDescriptionOne.getText()).toEqual('Analyze problems to develop solutions involving computer hardware and software.');
|
||||||
expect(await TasksCategoryStatOne.getText()).toEqual('Core');
|
expect(await TasksCategoryStatOne.getText()).toEqual('Core');
|
||||||
expect(await TasksImportanceStatOne.getText()).toEqual('82%');
|
expect(await TasksImportanceStatOne.getText()).toEqual('81%');
|
||||||
expect(await TasksDescriptionTwo.getText()).toEqual('Assign or schedule tasks to meet work priorities and goals.');
|
expect(await TasksDescriptionTwo.getText()).toEqual('Apply theoretical expertise and innovation to create or apply new technology, such as adapting principles for applying computers to new uses.');
|
||||||
expect(await TasksCategoryStatTwo.getText()).toEqual('Core');
|
expect(await TasksCategoryStatTwo.getText()).toEqual('Core');
|
||||||
expect(await TasksImportanceStatTwo.getText()).toEqual('71%');
|
expect(await TasksImportanceStatTwo.getText()).toEqual('72%');
|
||||||
expect(await TasksDescriptionThree.getText()).toEqual('Evaluate project plans and proposals to assess feasibility issues.');
|
expect(await TasksDescriptionThree.getText()).toEqual('Assign or schedule tasks to meet work priorities and goals.');
|
||||||
expect(await TasksCategoryStatThree.getText()).toEqual('Core');
|
expect(await TasksCategoryStatThree.getText()).toEqual('Core');
|
||||||
expect(await TasksImportanceStatThree.getText()).toEqual('70%');
|
expect(await TasksImportanceStatThree.getText()).toEqual('69%');
|
||||||
//Work Activities
|
//Work Activities
|
||||||
expect(await WorkActivitiesWidgetTitle.getText()).toEqual('Work Activities View All');
|
expect(await WorkActivitiesWidgetTitle.getText()).toEqual('Work Activities View All');
|
||||||
expect(await WorkActivitiesImportanceHeader.getText()).toEqual('Importance');
|
expect(await WorkActivitiesImportanceHeader.getText()).toEqual('Importance');
|
||||||
expect(await WorkActivitiesDescriptionOne.getText()).toEqual('Interacting With Computers');
|
expect(await WorkActivitiesDescriptionOne.getText()).toEqual('Interacting With Computers');
|
||||||
expect(await WorkActivitiesImportanceStatOne.getText()).toEqual('92%');
|
expect(await WorkActivitiesImportanceStatOne.getText()).toEqual('99%');
|
||||||
expect(await WorkActivitiesDescriptionTwo.getText()).toEqual('Getting Information');
|
expect(await WorkActivitiesDescriptionTwo.getText()).toEqual('Getting Information');
|
||||||
expect(await WorkActivitiesImportanceStatTwo.getText()).toEqual('90%');
|
expect(await WorkActivitiesImportanceStatTwo.getText()).toEqual('91%');
|
||||||
expect(await WorkActivitiesDescriptionThree.getText()).toEqual('Processing Information');
|
expect(await WorkActivitiesDescriptionThree.getText()).toEqual('Making Decisions and Solving Problems');
|
||||||
expect(await WorkActivitiesImportanceStatThree.getText()).toEqual('87%');
|
expect(await WorkActivitiesImportanceStatThree.getText()).toEqual('91%');
|
||||||
//Technology
|
//Technology
|
||||||
expect(await TechnologyWidgetTitle.getText()).toEqual('Technology View All');
|
expect(await TechnologyWidgetTitle.getText()).toEqual('Technology View All');
|
||||||
expect(await TechnologyDescriptionOne.getText()).toEqual('Development environment software');
|
expect(await TechnologyDescriptionOne.getText()).toEqual('Development environment software');
|
||||||
@@ -664,32 +722,46 @@ function TopCareerWidget() {
|
|||||||
expect(await TechnologyStatThree.getText()).toEqual('Apache Cassandra ');
|
expect(await TechnologyStatThree.getText()).toEqual('Apache Cassandra ');
|
||||||
expect(await TechnologyDescriptionFour.getText()).toEqual('Operating system software');
|
expect(await TechnologyDescriptionFour.getText()).toEqual('Operating system software');
|
||||||
expect(await TechnologyStatFour.getText()).toEqual('Bash ');
|
expect(await TechnologyStatFour.getText()).toEqual('Bash ');
|
||||||
//Resolution 1366 x 768
|
|
||||||
browser.executeScript('window.scrollTo(0, 3311);').then(function() {
|
|
||||||
browser.sleep(5000);
|
|
||||||
});
|
|
||||||
//Nearby Places
|
//Nearby Places
|
||||||
browser.executeScript('window.scrollTo(0, document.body.scrollHeight);').then(function() {
|
browser.executeScript('window.scrollTo(0, document.body.scrollHeight);').then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await NearbyPlacesWidgetTitle.getText()).toEqual('Nearby Places');
|
expect(await NearbyPlacesWidgetTitle.getText()).toEqual('Nearby Places');
|
||||||
expect(await NearbyPlacesCardOneHeader.getText()).toEqual('Computer and Information Research Scientists');
|
expect(await ComputerAndInformationResearchScientists.getText()).toEqual('Computer and Information Research Scientists');
|
||||||
await NearbyPlacesCardOneEllipsisIcon.click().then(function() {
|
await ComputerAndInformationResearchScientistsEllipsisIcon.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await NearbyPlacesBackOfCardOneHeader.getText()).toEqual('Computer and Information Research Scientists');
|
expect(await ComputerAndInformationResearchScientistsBackOfCardTitle.getText()).toEqual('Computer and Information Research Scientists');
|
||||||
await NearbyPlacesBackOfCardOneXIcon.click().then(function() {
|
await ComputerAndInformationResearchScientistsBackOfCardXIcon.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await NearbyPlacesCardTwoHeader.getText()).toEqual('Computer and Information Systems Managers');
|
expect(await ComputerAndInformationSystemsManagers.getText()).toEqual('Computer and Information Systems Managers');
|
||||||
expect(await NearbyPlacesCardThreeHeader.getText()).toEqual('Computer Network Architects');
|
expect(await ComputerNetworkArchitects.getText()).toEqual('Computer Network Architects');
|
||||||
await NearbyPlacesRightScroll.click().then(function() {
|
await NearbyPlacesRightScroll.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
expect(await NearbyPlacesCardTwoHeaderOne.getText()).toEqual('Computer Network Support Specialists');
|
expect(await ComputerNetworkSupportSpecialists.getText()).toEqual('Computer Network Support Specialists');
|
||||||
expect(await NearbyPlacesCardTwoHeaderTwo.getText()).toEqual('Computer Occupations, All Other');
|
expect(await ComputerOccupationsAllOther.getText()).toEqual('Computer Occupations, All Other');
|
||||||
expect(await NearbyPlacesCardTwoHeaderThree.getText()).toEqual('Computer Programmers');
|
expect(await ComputerProgrammers.getText()).toEqual('Computer Programmers');
|
||||||
await NearbyPlacesLeftScroll.click().then(function() {
|
await NearbyPlacesRightScroll.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await ComputerScienceTeachersPostsecondary.getText()).toEqual('Computer Science Teachers, Postsecondary');
|
||||||
|
expect(await DataWarehousingSpecialist.getText()).toEqual('Data Warehousing Specialists');
|
||||||
|
expect(await DatabaseAdministrator.getText()).toEqual('Database Administrators');
|
||||||
|
await NearbyPlacesRightScroll.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await DatabaseArchitects.getText()).toEqual('Database Architects');
|
||||||
|
expect(await GraphicDesigners.getText()).toEqual('Graphic Designers');
|
||||||
|
expect(await InformationSecurityAnalysts.getText()).toEqual('Information Security Analysts');
|
||||||
|
await NearbyPlacesRightScroll.click().then(function() {
|
||||||
|
browser.sleep(2500);
|
||||||
|
});
|
||||||
|
expect(await MultimediaArtistsAndAnimators.getText()).toEqual('4');//EDM-1890 Nearby Places widget ">" doesn't take action on 4th attempt
|
||||||
|
expect(await NetworkAndComputerSystemsAdministrators.getText()).toEqual('5');
|
||||||
|
expect(await SoftwareDevelopersApplications.getText()).toEqual('6');
|
||||||
|
await NearbyPlacesRightScroll.click().then(function() {
|
||||||
browser.sleep(2500);
|
browser.sleep(2500);
|
||||||
});
|
});
|
||||||
browser.waitForAngular();
|
browser.waitForAngular();
|
||||||
|
|||||||
Reference in New Issue
Block a user