Cleaned up script to include objectId
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
//createJourney_spec.js
|
||||
|
||||
const { EventEmitter } = require("selenium-webdriver");
|
||||
|
||||
describe('Create Journey Script', function () {
|
||||
//app-journeysmap landing page
|
||||
var UserNameTextBox = element(by.css('#txtU'));
|
||||
@@ -52,6 +54,17 @@ describe('Create Journey Script', function () {
|
||||
|
||||
function CreateJourney() {
|
||||
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 JourneyInfoIcon = element(by.css('span > .journey-info-circle'));
|
||||
var JourneyInfoDivTitle = element(by.css('.col-lg-12 > .ng-binding'));
|
||||
@@ -60,11 +73,112 @@ function CreateJourney() {
|
||||
var JourneyEntryPoint = element(by.css('.journeyInput'));
|
||||
var SelectEntryPointDropDown = element(by.css('.ng-scope:nth-child(1) > .sidebarScrollListTxt > .ng-binding'));
|
||||
var StartYourJourneyButton = element(by.css('.journeyStartBtnEnable'));
|
||||
//Journey Search Results
|
||||
var JourneysActionTitleHeader = element(by.css('div:nth-child(2) > .ng-binding'));
|
||||
var JourneyResultTitleOne = element(by.css('#journeyitem0 .side-bar-child-text'));
|
||||
var JourneyResultTitleTwo = element(by.css('#journeyitem1 .side-bar-child-text'));
|
||||
var JourneyResultTitleThree = element(by.css('#journeyitem2 .side-bar-child-text'));
|
||||
var JourneySaveIcon = element(by.css('#journeyitem0 .mapActionBarActive > .fas'));
|
||||
var JourneysResultsTabDefault = element(by.css('#tab-item-0 > .ng-binding'));
|
||||
var JourneyResultTitleOne = element(by.css('#journeyitem0 .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('#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 JourneyStopDIVCertificateCheckBox = element(by.css('#awm0 > .md-container'));
|
||||
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 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 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)'));
|
||||
//Saved Journey
|
||||
var JournyeStopDIVGotItDIVText = element(by.css('.tooltip-inner'));
|
||||
var JourneyStopDIVGotItButtonOne = element(by.css('.journeyViewToolTipWaypointAddedConfirm > .btn'));
|
||||
var JourneyStopDIVGotItButtonTwo = element(by.css('.btn-lg'));
|
||||
|
||||
var JourneyDetailsIcon = element(by.css('#journeyitem0 .journey-info-circle'));
|
||||
var ActionTitleBar = element(by.css('.ng-binding:nth-child(2)'));
|
||||
var ActionTitleBar = element(by.css('#sideBarTabJourneyItemHeader > .side-bar-child-text'));
|
||||
//Edit Journey
|
||||
var EditJourneyLink = element(by.linkText('Edit Journey'));
|
||||
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)'));
|
||||
@@ -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 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 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 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)'));
|
||||
@@ -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 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 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 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 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 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)'));
|
||||
@@ -163,10 +277,19 @@ function CreateJourney() {
|
||||
var AddedStopWayPointTopLevelThree = element(by.css('#journeyViewToolTip_10 .ng-binding:nth-child(1)'));
|
||||
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 JourneyEndWayPointTopLevel = element(by.css('#journeyViewToolTip_11 .ng-binding:nth-child(1)'));
|
||||
var JourneyEndWayPointCluster = element(by.css('#journeyViewToolTip_11 .sidebarDescriptionAncestorTxt > .sidebarDescriptionAncestorTxt'));
|
||||
var JourneyEndWayPointPathway = element(by.css('#journeyViewToolTip_11 .side-bar-journey-detail-child-txt:nth-child(5)'));
|
||||
var AddedStopWayPointTopLevelFour = element(by.css('#journeyViewToolTip_11 .ng-binding:nth-child(1)'));
|
||||
var AddedStopWayPointClusterFour = element(by.css('#journeyViewToolTip_11 .sidebarDescriptionAncestorTxt > .sidebarDescriptionAncestorTxt'));
|
||||
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 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 EditWayPointHeaderTwo = element(by.css('.itemWaypoint:nth-child(2) > .itemTextContainer > .ng-binding'));
|
||||
var EditWayPointEllipsisTwo = element(by.css('.itemWaypoint:nth-child(2) > .dropdown > .fas'));
|
||||
@@ -178,81 +301,62 @@ function CreateJourney() {
|
||||
var EditWayPointHeaderFive = element(by.css('.itemWaypoint:nth-child(5) > .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 EditWayPointHeaderEight = element(by.css('.itemWaypoint:nth-child(8) > .itemTextContainer > .ng-binding'));
|
||||
|
||||
var WayPointTwo = element(by.css('.itemWaypoint:nth-child(2) > .itemTextContainer > .ng-binding'));
|
||||
var WayPointThree = element(by.css('.itemWaypoint:nth-child(3) > .itemTextContainer > .ng-binding'));
|
||||
var WayPointFour = element(by.css('.itemWaypoint:nth-child(4) > .itemTextContainer > .ng-binding'));
|
||||
var WayPointFive = element(by.css('.itemWaypoint:nth-child(5) > .itemTextContainer > .ng-binding'));
|
||||
var WayPointSix = element(by.css('.itemWaypoint:nth-child(6) > .itemTextContainer > .ng-binding'));
|
||||
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 EditWayPointHeaderEight = element(by.css('.itemWaypoint:nth-child(8) > .itemTextContainer > .ng-binding'));
|
||||
var EditWayPointHeaderNine = element(by.css('.itemWaypoint:nth-child(9) > .itemTextContainer > .ng-binding'));
|
||||
var EditWayPointHeaderTen = element(by.css('.itemWaypoint:nth-child(10) > .itemTextContainer > .ng-binding'));
|
||||
var EditWayPointHeaderEleven = element(by.css('.itemWaypoint:nth-child(11) > .itemTextContainer > .ng-binding'));
|
||||
var EditWayPointHeaderTwelve = element(by.css('.itemWaypoint:nth-child(12) > .itemTextContainer > .ng-binding'));
|
||||
var EditWayPointHeaderThirteen = element(by.css('.itemWaypoint:nth-child(13) > .itemTextContainer > .ng-binding'));
|
||||
var EditWayPointSaveIcon = element(by.css('.mapActionBarActive:nth-child(2) > .fas'));
|
||||
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 FifteenthWayPoint = element(by.css('.itemWaypoint:nth-child(10) > .itemTextContainer > .ng-binding'));
|
||||
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 JourneyExitWayPoint = element(by.css('#journeyViewToolTip_12 .side-bar-journey-detail-child-txt:nth-child(5)'));
|
||||
var CollegeWayPointEllipsis = element(by.css('.itemWaypoint:nth-child(8) > .dropdown > .fas'));
|
||||
var ReOrderLink = element(by.linkText('Re-order'));
|
||||
var GrabCollegeWayPoint = element(by.css('.selectedWaypoint > .itemTextContainer > .ng-binding:nth-child(1)'));
|
||||
var DashboardHeaderLink = element(by.css('.ng-scope:nth-child(1) > a > .span-navbar-hover'));
|
||||
var GrabCollegeWayPoint = element(by.css('.selectedWaypoint > .itemTextContainer > .ng-binding'));
|
||||
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
|
||||
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.executeScript('window.scrollTo(0, 1250);').then(function() {
|
||||
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);
|
||||
});
|
||||
await Select.click().then(function() {
|
||||
browser.sleep(5000);
|
||||
});
|
||||
browser.actions().mouseMove(SecondAtAGlanceIcon).perform().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:');
|
||||
expect(await BusinessManagementAndAdministration.getText()).toEqual('Business Management & Administration');
|
||||
expect(await GovernmentAndPublicAdministration.getText()).toEqual('Government & Public Administration');
|
||||
expect(await HealthScience.getText()).toEqual('Health Science');
|
||||
await BusinessManagementAndAdministrationSelectButton.click().then(function() {
|
||||
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');
|
||||
await JourneyInfoIcon.click().then(function() {
|
||||
browser.sleep(1000);
|
||||
browser.sleep(2500);
|
||||
});
|
||||
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.');
|
||||
@@ -267,7 +371,13 @@ function CreateJourney() {
|
||||
await StartYourJourneyButton.click();
|
||||
browser.waitForAngular();
|
||||
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 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 JourneyResultTitleThree.getText()).toEqual('6 to Administrative Services Managers through Master of Business Administration (MBA)');
|
||||
browser.actions().mouseMove(JourneySaveIcon).perform().then(function() {
|
||||
@@ -351,10 +461,10 @@ function CreateJourney() {
|
||||
});
|
||||
expect(await JourneyStopDIVAddedStopOne.getText()).toEqual('Strategic Meeting Management Certification');
|
||||
expect(await JourneyStopDIVAddedStopTwo.getText()).toEqual('Master of Business Administration (MBA)');
|
||||
await JourneyStopDIVRemoveCardTwoButton.click().then(function() {
|
||||
await JourneyStopDIVRemoveCardOneButton.click().then(function() {
|
||||
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');
|
||||
await JourneyStopDIVAddToJourneyButton.click().then(function() {
|
||||
browser.sleep(5000);
|
||||
@@ -387,23 +497,23 @@ function CreateJourney() {
|
||||
expect(await TwelvethGradeWayPointTopLevel.getText()).toEqual('HS');
|
||||
expect(await TwelvethGradeWayPointCluster.getText()).toEqual('12');
|
||||
expect(await CollegeStopWayPointTopLevel.getText()).toEqual('College');
|
||||
browser.actions().mouseMove(JourneyEndWayPointPathway).perform().then(function() {
|
||||
browser.actions().mouseMove(AddedStopWayPointPathwayFour).perform().then(function() {
|
||||
browser.sleep(2500);
|
||||
});
|
||||
expect(await CollegeStopWayPointCluster.getText()).toEqual('Administration');
|
||||
expect(await CollegeStopWayPointPathway.getText()).toEqual('Business Administration B.A./B.S.');
|
||||
expect(await AddedStopWayPointTopLevelOne.getText()).toContain('Core');
|
||||
expect(await AddedStopWayPointClusterOne.getText()).toEqual('Other Certifications');
|
||||
expect(await AddedStopWayPointPathwayOne.getText()).toEqual('Strategic Meeting Management Certification');
|
||||
expect(await AddedStopWayPointTopLevelOne.getText()).toContain('College');
|
||||
expect(await AddedStopWayPointClusterOne.getText()).toEqual('Administration');
|
||||
expect(await AddedStopWayPointPathwayOne.getText()).toEqual('Master of Business Administration (MBA)');
|
||||
expect(await AddedStopWayPointTopLevelTwo.getText()).toEqual('Core');
|
||||
expect(await AddedStopWayPointClusterTwo.getText()).toEqual('Other Certifications');
|
||||
expect(await AddedStopWayPointPathwayTwo.getText()).toEqual('Certified Practice Manager');
|
||||
expect(await AddedStopWayPointTopLevelThree.getText()).toEqual('Advanced');
|
||||
expect(await AddedStopWayPointClusterThree.getText()).toEqual('Other Certifications');
|
||||
expect(await AddedStopWayPointPathwayThree.getText()).toEqual('Certified Legal Manager');
|
||||
expect(await JourneyEndWayPointTopLevel.getText()).toEqual('Administration');
|
||||
expect(await JourneyEndWayPointCluster.getText()).toEqual('Management');
|
||||
expect(await JourneyEndWayPointPathway.getText()).toEqual('Administrative Services Managers');
|
||||
expect(await AddedStopWayPointTopLevelFour.getText()).toEqual('Administration');
|
||||
expect(await AddedStopWayPointClusterFour.getText()).toEqual('Management');
|
||||
expect(await AddedStopWayPointPathwayFour.getText()).toEqual('Administrative Services Managers');
|
||||
await NinethGradeWayPointCluster.click().then(function() {
|
||||
browser.sleep(5000);
|
||||
});
|
||||
@@ -421,7 +531,7 @@ function CreateJourney() {
|
||||
});
|
||||
expect(await MathematicalPractices.getText()).toEqual('Mathematical Practices');
|
||||
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 Precalculus.getText()).toEqual('Precalculus');
|
||||
expect(await MathematicsIII.getText()).toEqual('Mathematics III');
|
||||
@@ -465,15 +575,15 @@ function CreateJourney() {
|
||||
await EditJourneyLink.click().then(function() {
|
||||
browser.sleep(5000)
|
||||
});
|
||||
expect(await ActionTitleBar.getText()).toEqual('Journey Edit');
|
||||
expect(await EditWayPointHeaderOne.getText()).toEqual('1');
|
||||
expect(await EditWayPointHeaderTwo.getText()).toEqual('2');
|
||||
expect(await EditWayPointHeaderThree.getText()).toEqual('3');
|
||||
expect(await EditWayPointHeaderFour.getText()).toEqual('4');
|
||||
expect(await EditWayPointHeaderFive.getText()).toEqual('5');
|
||||
expect(await EditWayPointHeaderSix.getText()).toEqual('6');
|
||||
expect(await EditWayPointHeaderSeven.getText()).toEqual('7');
|
||||
expect(await EditWayPointHeaderEight.getText()).toEqual('8');
|
||||
expect(await JourneysEditTitleHeader.getText()).toEqual('Journey Edit');
|
||||
expect(await EditWayPointHeaderOne.getText()).toEqual('Statistics and Probability: Using Probability to Make Decisions');
|
||||
expect(await EditWayPointHeaderTwo.getText()).toEqual('Geometry: Expressing Geometric Properties with Equations');
|
||||
expect(await EditWayPointHeaderThree.getText()).toEqual('Geometry: Circles');
|
||||
expect(await EditWayPointHeaderFour.getText()).toEqual('Geometry: Modeling with Geometry');
|
||||
expect(await EditWayPointHeaderFive.getText()).toEqual('Geometry: Congruence');
|
||||
expect(await EditWayPointHeaderSix.getText()).toEqual('Statistics and Probability: Conditional Probability and the Rules of Probability');
|
||||
expect(await EditWayPointHeaderSeven.getText()).toEqual('Geometry: Similarity, Right Triangles, and Trigonometry');
|
||||
expect(await EditWayPointHeaderEight.getText()).toEqual('Geometry: Geometric Measurement and Dimension');
|
||||
await EditWayPointEllipsisTwo.click().then(function() {
|
||||
browser.sleep(5000);
|
||||
});
|
||||
@@ -483,21 +593,25 @@ function CreateJourney() {
|
||||
await DeleteLink.click().then(function() {
|
||||
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() {
|
||||
browser.sleep(5000);
|
||||
});
|
||||
|
||||
expect(await ActionTitleBar.getText()).toEqual('Journey Edit');
|
||||
expect(await WayPointOne.getText()).toEqual('Geometry');
|
||||
expect(await WayPointTwo.getText()).toEqual('Mathematical Practices');
|
||||
expect(await WayPointThree.getText()).toEqual('The Number System');
|
||||
expect(await WayPointFour.getText()).toEqual('Statistics and Probability');
|
||||
expect(await WayPointFive.getText()).toEqual('Functions');
|
||||
await ActionBarSaveIconOne.click().then(function() {
|
||||
expect(await JourneysEditTitleHeader.getText()).toEqual('Journey Edit');
|
||||
expect(await EditWayPointHeaderOne.getText()).toEqual('Statistics and Probability: Using Probability to Make Decisions');
|
||||
expect(await EditWayPointHeaderTwo.getText()).toEqual('Geometry: Circles');
|
||||
expect(await EditWayPointHeaderThree.getText()).toEqual('Geometry: Modeling with Geometry');
|
||||
expect(await EditWayPointHeaderFour.getText()).toEqual('Geometry: Congruence');
|
||||
expect(await EditWayPointHeaderFive.getText()).toEqual('Statistics and Probability: Conditional Probability and the Rules of Probability');
|
||||
expect(await EditWayPointHeaderSix.getText()).toEqual('Geometry: Similarity, Right Triangles, and Trigonometry');
|
||||
expect(await EditWayPointHeaderSeven.getText()).toEqual('Geometry: Geometric Measurement and Dimension');
|
||||
await EditWayPointSaveIcon.click().then(function() {
|
||||
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() {
|
||||
browser.sleep(5000);
|
||||
});
|
||||
@@ -505,18 +619,14 @@ function CreateJourney() {
|
||||
browser.sleep(5000);
|
||||
});
|
||||
await EditJourneyLink.click().then(function() {
|
||||
browser.sleep(2500)
|
||||
browser.sleep(2500);
|
||||
});
|
||||
expect(await ActionTitleBar.getText()).toEqual('Journey Edit');
|
||||
|
||||
browser.actions().mouseMove(FourteenthWayPoint).perform().then(function() {
|
||||
expect(await JourneysEditTitleHeader.getText()).toEqual('Journey Edit');
|
||||
browser.actions().mouseMove(EditWayPointHeaderTwelve).perform().then(function() {
|
||||
browser.sleep(1000);
|
||||
});
|
||||
expect(await TwelvethGradeWayPoint.getText()).toEqual('12');
|
||||
expect(await ThirteenthWayPoint.getText()).toEqual('Business Administration B.A./B.S.');
|
||||
expect(await FourteenthWayPoint.getText()).toEqual('Administrative Services Managers');
|
||||
await Select12thGradeWayPointEllipsis.click().then(function() {
|
||||
browser.sleep(2500)
|
||||
await CertifiedLegalManagerEllipsis.click().then(function() {
|
||||
browser.sleep(2500);
|
||||
});
|
||||
browser.actions().mouseMove(InsertAStop).perform().then(function() {
|
||||
browser.sleep(1000);
|
||||
@@ -524,7 +634,7 @@ function CreateJourney() {
|
||||
await InsertAStop.click().then(function() {
|
||||
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.');
|
||||
await MapSearchTextBox.sendKeys('Engineer').then(function() {
|
||||
browser.sleep(2500);
|
||||
@@ -532,10 +642,193 @@ function CreateJourney() {
|
||||
await MagnifyingGlassIcon.click().then(function() {
|
||||
browser.sleep(5000);
|
||||
});
|
||||
expect(await ActionTitleBarTwo.getText()).toEqual('Search Results');
|
||||
await CertificationResultsTab.click().then(function() {
|
||||
expect(await JourneysActionTitleHeader.getText()).toEqual('Search Results');
|
||||
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);
|
||||
});
|
||||
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.sleep(1000);
|
||||
});
|
||||
@@ -551,79 +844,227 @@ function CreateJourney() {
|
||||
await ThirdResultAddIcon.click().then(function() {
|
||||
browser.sleep(2500);
|
||||
});
|
||||
expect(await SixthGradeWayPoint.getText()).toEqual('6');
|
||||
expect(await SeventhGradeWayPoint.getText()).toEqual('7');
|
||||
expect(await EightGradeWayPoint.getText()).toEqual('8');
|
||||
expect(await NinethGradeWayPoint.getText()).toEqual('9');
|
||||
expect(await TenthGradeWayPoint.getText()).toEqual('10');
|
||||
expect(await EleventhGradeWayPoint.getText()).toEqual('11');
|
||||
browser.actions().mouseMove(FifteenthWayPoint).perform().then(function() {
|
||||
browser.sleep(1000);
|
||||
});
|
||||
expect(await TwelvethGradeWayPoint.getText()).toEqual('12');
|
||||
expect(await ThirteenthWayPoint.getText()).toEqual('National Chief Engineer');
|
||||
expect(await FourteenthWayPoint.getText()).toEqual('Business Administration B.A./B.S.');
|
||||
expect(await FifteenthWayPoint.getText()).toEqual('Administrative Services Managers');
|
||||
await ActionBarSaveIconTwo.click().then(function() {
|
||||
expect(await EditWayPointHeaderOne.getText()).toEqual('6');
|
||||
expect(await EditWayPointHeaderTwo.getText()).toEqual('7');
|
||||
expect(await EditWayPointHeaderThree.getText()).toEqual('8');
|
||||
expect(await EditWayPointHeaderFour.getText()).toEqual('9');
|
||||
expect(await EditWayPointHeaderFive.getText()).toEqual('10');
|
||||
expect(await EditWayPointHeaderSix.getText()).toEqual('11');
|
||||
expect(await EditWayPointHeaderSeven.getText()).toEqual('12');
|
||||
expect(await EditWayPointHeaderEight.getText()).toEqual('Business Administration B.A./B.S.');
|
||||
expect(await EditWayPointHeaderNine.getText()).toEqual('Master of Business Administration (MBA)');
|
||||
expect(await EditWayPointHeaderTen.getText()).toEqual('Certified Practice Manager');
|
||||
expect(await EditWayPointHeaderEleven.getText()).toEqual('Certified Legal Manager');
|
||||
expect(await EditWayPointHeaderTwelve.getText()).toEqual('Architectural and Engineering Managers');
|
||||
expect(await EditWayPointHeaderThirteen.getText()).toEqual('Administrative Services Managers');
|
||||
await EditWayPointSaveIcon.click().then(function() {
|
||||
browser.sleep(2500);
|
||||
});
|
||||
await MapZoomOutIcon.click().then(function() {
|
||||
browser.sleep(1000);
|
||||
browser.sleep(2500);
|
||||
});
|
||||
await MapZoomOutIcon.click().then(function() {
|
||||
browser.sleep(1000);
|
||||
browser.sleep(2500);
|
||||
});
|
||||
await MapZoomOutIcon.click().then(function() {
|
||||
browser.sleep(1000);
|
||||
browser.sleep(2500);
|
||||
});
|
||||
await MapZoomOutIcon.click().then(function() {
|
||||
browser.sleep(1000);
|
||||
browser.sleep(2500);
|
||||
});
|
||||
await MapZoomOutIcon.click().then(function() {
|
||||
browser.sleep(1000);
|
||||
browser.sleep(2500);
|
||||
});
|
||||
await MapZoomOutIcon.click().then(function() {
|
||||
browser.sleep(1000);
|
||||
browser.sleep(2500);
|
||||
});
|
||||
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);
|
||||
});
|
||||
await MapZoomOutIcon.click().then(function() {
|
||||
browser.sleep(1000)
|
||||
});
|
||||
/*browser.actions().mouseMove(FifteenthWayPoint).perform().then(function() {
|
||||
browser.sleep(1000);
|
||||
});*/
|
||||
/*await EditJourneyLink.click().then(function() {
|
||||
await EditJourneyLink.click().then(function() {
|
||||
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.actions().mouseMove(ReOrderLink).perform().then(function() {
|
||||
browser.sleep(1000);
|
||||
});
|
||||
await ReOrderLink.click().then(function() {
|
||||
browser.sleep(2500)
|
||||
});
|
||||
browser.actions().dragAndDrop(GrabCollegeWayPoint, ThirteenthWayPoint).mouseUp().perform();
|
||||
browser.sleep(2500)
|
||||
expect(await SixthGradeWayPoint.getText()).toEqual('6');
|
||||
expect(await SeventhGradeWayPoint.getText()).toEqual('7');
|
||||
expect(await EightGradeWayPoint.getText()).toEqual('8');
|
||||
expect(await NinethGradeWayPoint.getText()).toEqual('9');
|
||||
expect(await TenthGradeWayPoint.getText()).toEqual('10');
|
||||
expect(await EleventhGradeWayPoint.getText()).toEqual('11');
|
||||
browser.actions().mouseMove(FifteenthWayPoint).perform().then(function() {
|
||||
browser.sleep(1000);
|
||||
});
|
||||
expect(await TwelvethGradeWayPoint.getText()).toEqual('12');
|
||||
expect(await ThirteenthWayPoint.getText()).toEqual('Business Administration B.A./B.S.');
|
||||
expect(await FourteenthWayPoint.getText()).toEqual('National Chief Engineer');
|
||||
expect(await FifteenthWayPoint.getText()).toEqual('Administrative Services Managers');
|
||||
await ActionBarSaveIconOne.click().then(function() {
|
||||
browser.actions().mouseDown(GrabCollegeWayPoint).mouseMove(EditWayPointHeaderTwelve).mouseUp(EditWayPointHeaderTwelve).perform();
|
||||
browser.sleep(2500);
|
||||
expect(await EditWayPointHeaderOne.getText()).toEqual('6');
|
||||
expect(await EditWayPointHeaderTwo.getText()).toEqual('7');
|
||||
expect(await EditWayPointHeaderThree.getText()).toEqual('8');
|
||||
expect(await EditWayPointHeaderFour.getText()).toEqual('9');
|
||||
expect(await EditWayPointHeaderFive.getText()).toEqual('10');
|
||||
expect(await EditWayPointHeaderSix.getText()).toEqual('11');
|
||||
expect(await EditWayPointHeaderSeven.getText()).toEqual('12');
|
||||
expect(await EditWayPointHeaderEight.getText()).toEqual('Master of Business Administration (MBA)');
|
||||
expect(await EditWayPointHeaderNine.getText()).toEqual('Certified Practice Manager');
|
||||
expect(await EditWayPointHeaderTen.getText()).toEqual('Certified Legal Manager');
|
||||
expect(await EditWayPointHeaderEleven.getText()).toEqual('Architectural and Engineering Managers');
|
||||
expect(await EditWayPointHeaderTwelve.getText()).toEqual('Business Administration B.A./B.S.');
|
||||
expect(await EditWayPointHeaderThirteen.getText()).toEqual('Administrative Services Managers');
|
||||
await EditWayPointSaveIcon.click().then(function() {
|
||||
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);
|
||||
});
|
||||
//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.getCurrentUrl();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user