itemengine-cypress-automation 1.0.155-migrationScripts-86e4c95.0 → 1.0.155
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioResponseNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/DesmosGraphing/additionalSettings.js +5 -5
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingBasicForGroupedOptionsLayout.js +2 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +4 -4
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionAlternativePointsGreaterThanCorrectPoints.js +4 -4
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionMinimumAndPenaltyScoring.js +1 -1
- package/cypress/e2e/ILC/EssayResponse/previewEditTable.js +6 -6
- package/cypress/e2e/ILC/EssayResponse/previewHyperlink.js +2 -3
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/clickAndDrop.js +34 -29
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/draggableOptions.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownOptionsSection.js +4 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/headerSection.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/editTabScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/minimumScoringPenaltyPointsAndRoundingDropdown.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/additionalSettingsForDropdowns.js +7 -7
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/checkAnswerFunctionalityForAllViews.smoke.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownOptionsSection.js +20 -8
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +4 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/specifyCorrectAnswerSection.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/backgroundImageAndCanvasProperties.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editTabScoringSection.js +5 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +4 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/setLimitSection.js +5 -2
- package/cypress/e2e/ILC/FillInTheGapsTextNew/additionalSettingsForAnswerInputFields.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabScoringSection.js +4 -3
- package/cypress/e2e/ILC/FillInTheGapsTextNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/specialCharactersSection.js +0 -8
- package/cypress/e2e/ILC/GeogebraActivity/additionalSettings.js +1 -1
- package/cypress/e2e/ILC/Graphing/addBackgroundShapesSection.js +39 -35
- package/cypress/e2e/ILC/Graphing/additionalSettingsBasic.js +1 -1
- package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +8 -6
- package/cypress/e2e/ILC/GridFill/customizeLayoutFillColor.js +475 -0
- package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +669 -0
- package/cypress/e2e/ILC/GridFill/customizeLayoutSectionShadeCellsGridBorders.js +1 -1
- package/cypress/e2e/ILC/GridFill/editTabScoringSection.js +0 -11
- package/cypress/e2e/ILC/GridFill/gridLayoutContents.js +204 -0
- package/cypress/e2e/ILC/GridFill/gridLayoutEditTabFunctionality.js +229 -0
- package/cypress/e2e/ILC/GridFill/gridLayoutPreviewTabFunctionality.js +219 -0
- package/cypress/e2e/ILC/GridFill/minimumScoringPenaltyPointsAndRoundingDropdown.js +2 -0
- package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +0 -2
- package/cypress/e2e/ILC/GridFill/studentViewSettingsSection.js +1 -1
- package/cypress/e2e/ILC/Matching/draggableOptions.js +1 -1
- package/cypress/e2e/ILC/Matching/headerSection.js +82 -0
- package/cypress/e2e/ILC/Matching/specifyCorrectAnswerSection.js +93 -0
- package/cypress/e2e/ILC/MultipleSelection/blockCreateItem.js +2 -2
- package/cypress/e2e/ILC/MultipleSelection/editTabScoringSection.js +3 -0
- package/cypress/e2e/ILC/MultipleSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
- package/cypress/e2e/ILC/MultipleSelection/multipleSelectionBasicAccessibility.js +8 -10
- package/cypress/e2e/ILC/MultipleSelection/specifyCorrectAnswerSection.js +3 -3
- package/cypress/e2e/ILC/MultipleSelection/studentViewSettings.js +16 -25
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/manuallyAndNonScored.js +140 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +403 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +363 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +393 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +377 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsBasic.js +1 -1
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +341 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +373 -0
- package/cypress/e2e/ILC/Ruler/rulerEditTabBasicsSection.js +0 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/conditionalCheckboxes.js +27 -8
- package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +15 -34
- package/cypress/e2e/ILC/ShortTextResponseNew/responseAnswersAndAcceptedStudentInput.js +13 -15
- package/cypress/e2e/ILC/ShortTextResponseNew/specifyCorrectAnswerSection.js +4 -4
- package/cypress/e2e/ILC/SimpleCalculator/editTabFunctionality.js +4 -2
- package/cypress/e2e/ILC/SingleSelection/blockCreateItem.js +2 -2
- package/cypress/e2e/ILC/SingleSelection/specifyCorrectAnswerSection.js +3 -3
- package/cypress/e2e/ILC/SingleSelection/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +183 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +185 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +263 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/manuallyAndNonScored.js +140 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +233 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +205 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +233 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +214 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialEqualWeightsBasic.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +183 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +213 -0
- package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +21 -17
- package/cypress/e2e/ILC/TextEntryMath/editTabScoringSection.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/minimumScoringPenaltyPointsAndRoundingDropdown.js +25 -25
- package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +20 -17
- package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +2 -2
- package/cypress/e2e/ILC/UploadResponse/manuallyAndNonScoredScoring.js +2 -3
- package/cypress/e2e/ILC/UploadResponse/uploadResponseAdditionalSettings.js +3 -3
- package/cypress/e2e/ILC/UploadResponse/uplodResponsePreviewUploadedFileProperties.js +2 -2
- package/cypress/fixtures/fillColorDefaultProperties.js +35 -0
- package/cypress/fixtures/theme/ilc.json +2 -1
- package/cypress/fixtures/uploads/sampleVirus.zip +0 -0
- package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +3 -3
- package/cypress/pages/components/autoScoredStudentViewSettings.js +1 -1
- package/cypress/pages/components/backgroundImageUploadComponent.js +4 -1
- package/cypress/pages/components/colorPopupComponent.js +6 -3
- package/cypress/pages/components/commonComponents.js +1 -1
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +4 -3
- package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +47 -12
- package/cypress/pages/components/gridQuestionCommonComponent.js +0 -81
- package/cypress/pages/components/imageCanvasComponent.js +10 -8
- package/cypress/pages/components/listSortingAndOrderingBase.js +1 -1
- package/cypress/pages/components/questionInputFieldComponent.js +1 -1
- package/cypress/pages/components/questionInstructionsComponent.js +1 -1
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
- package/cypress/pages/essayResponsePage.js +4 -4
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +34 -23
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +0 -1
- package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +26 -4
- package/cypress/pages/fillInTheGapsOverImageTextPage.js +0 -29
- package/cypress/pages/graphingPage.js +26 -16
- package/cypress/pages/gridFillPage.js +1610 -90
- package/cypress/pages/matchingPage.js +164 -20
- package/cypress/pages/multipleSelectionGridPage.js +82 -2
- package/cypress/pages/multipleSelectionPage.js +7 -2
- package/cypress/pages/rulerPage.js +3 -8
- package/cypress/pages/shortTextResponsePage.js +13 -0
- package/cypress/pages/simpleCalculatorPage.js +8 -0
- package/cypress/pages/singleSelectionGridPage.js +58 -2
- package/cypress/pages/textEntryMathPage.js +58 -11
- package/cypress/pages/uploadResponsePage.js +4 -2
- package/package.json +2 -2
- package/cypress/e2e/ILC/MultipleSelection/multipleSelectionAdditionalSettings.js +0 -835
- package/cypress/e2e/ILC/SingleSelection/singleSelectionAdditionalSettings.js +0 -469
@@ -28,8 +28,8 @@ const selectors = {
|
|
28
28
|
yMaxInputField: () => cy.get('[class*="GraphHeaderFooter"] input').eq(0),
|
29
29
|
yMinLabel: () => cy.get('[class*="GraphHeaderFooter"] [class*="CustomInputFieldLabel"]').eq(1),
|
30
30
|
yMinInputField: () => cy.get('[class*="GraphHeaderFooter"] input').eq(1),
|
31
|
-
titlePopupAddLabelLabel: () => cy.get('[aria-labelledby="alert-dialog-title"] .
|
32
|
-
titlePopupAddLabelInputField: () => cy.get('[aria-labelledby="alert-dialog-title"]
|
31
|
+
titlePopupAddLabelLabel: () => cy.get('[aria-labelledby="alert-dialog-title"] .inline-text-property-label'),
|
32
|
+
titlePopupAddLabelInputField: () => cy.get('[aria-labelledby="alert-dialog-title"] input'),
|
33
33
|
titlePopupCancelButton: () => cy.get('.compact-popup-action-button-wrapper button').eq(0),
|
34
34
|
titlePopupSaveButton: () => cy.get('.compact-popup-action-button-wrapper button').eq(1),
|
35
35
|
graphImageEditTab: () => cy.get('.ngie-jxgbox .JXGimage'),
|
@@ -206,7 +206,7 @@ const selectors = {
|
|
206
206
|
xGridSpacingLabel: () => cy.get('label[for="X grid spacing"]'),
|
207
207
|
xGridSpacingInputField: () => cy.get('input[id="X grid spacing"]'),
|
208
208
|
xTickIntervalLabel: () => cy.get('label[for="grid-options-x-tick-interval"]'),
|
209
|
-
xTickIntervalInputField: () => cy.get('input[id*="
|
209
|
+
xTickIntervalInputField: () => cy.get('input[id*="grid-options-x-tick-interval"]').eq(0),
|
210
210
|
xDisplayAxisLabel: () => cy.get('[data-ngie-testid="display-axis-label-checkbox"] .MuiFormControlLabel-label').eq(0),
|
211
211
|
xRemoveTicksLabel: () => cy.get('[data-ngie-testid="remove-ticks-checkbox"] .MuiFormControlLabel-label').eq(0),
|
212
212
|
xShowTicksLabelsLabel: () => cy.get('[data-ngie-testid="show-tick-labels-checkbox"] .MuiFormControlLabel-label').eq(0),
|
@@ -222,7 +222,7 @@ const selectors = {
|
|
222
222
|
yGridSpacingLabel: () => cy.get('label[for="Y grid spacing"]'),
|
223
223
|
yGridSpacingInputField: () => cy.get('input[id*="Y grid spacing"]'),
|
224
224
|
yTickIntervalLabel: () => cy.get('label[for="grid-options-y-tick-interval"]'),
|
225
|
-
yTickIntervalInputField: () => cy.get('input[id*="
|
225
|
+
yTickIntervalInputField: () => cy.get('input[id*="grid-options-y-tick-interval"]'),
|
226
226
|
yDisplayAxisLabel: () => cy.get('[data-ngie-testid="display-axis-label-checkbox"] .MuiFormControlLabel-label').eq(1),
|
227
227
|
yRemoveTicksLabel: () => cy.get('[data-ngie-testid="remove-ticks-checkbox"] .MuiFormControlLabel-label').eq(1),
|
228
228
|
yShowTicksLabelsLabel: () => cy.get('[data-ngie-testid="show-tick-labels-checkbox"] .MuiFormControlLabel-label').eq(1),
|
@@ -554,7 +554,7 @@ const steps = {
|
|
554
554
|
const originY = graphHeight / 2;
|
555
555
|
const xPixel = originX + x * (graphWidth / (xRange + 1));
|
556
556
|
const yPixel = originY - y * (graphHeight / (yRange + 1));
|
557
|
-
cy.get(`[class*="GraphingWrapper"] .ngie-jxgbox svg ellipse[display="inline"][cx
|
557
|
+
cy.get(`[class*="GraphingWrapper"] .ngie-jxgbox svg ellipse[display="inline"][cx*="${xPixel}"][cy*="${yPixel}"]`)
|
558
558
|
.should('not.exist');
|
559
559
|
});
|
560
560
|
});
|
@@ -655,12 +655,12 @@ const steps = {
|
|
655
655
|
},
|
656
656
|
|
657
657
|
clickOnXAxisLabel: () => {
|
658
|
-
graphingPage.
|
658
|
+
graphingPage.xAxisLabelGraphEditTab()
|
659
659
|
.click();
|
660
660
|
},
|
661
661
|
|
662
662
|
clickOnYAxisLabel: () => {
|
663
|
-
graphingPage.
|
663
|
+
graphingPage.yAxisLabelGraphEditTab()
|
664
664
|
.click();
|
665
665
|
},
|
666
666
|
|
@@ -668,7 +668,12 @@ const steps = {
|
|
668
668
|
graphingPage.titlePopupAddLabelInputField()
|
669
669
|
.clear()
|
670
670
|
.type(text)
|
671
|
-
.should('have.
|
671
|
+
.should('have.value', text);
|
672
|
+
},
|
673
|
+
|
674
|
+
verifyTextInTitlePopupAddLabelInputField: (text) => {
|
675
|
+
graphingPage.titlePopupAddLabelInputField()
|
676
|
+
.should('have.value', text);
|
672
677
|
},
|
673
678
|
|
674
679
|
clickOnTitlePopupCancelButton: () => {
|
@@ -785,6 +790,11 @@ const steps = {
|
|
785
790
|
.should('not.be.checked');
|
786
791
|
},
|
787
792
|
|
793
|
+
verifySnapToCheckboxIsChecked: () => {
|
794
|
+
graphingPage.snapToGridCheckbox()
|
795
|
+
.should('be.checked');
|
796
|
+
},
|
797
|
+
|
788
798
|
/**
|
789
799
|
* This function selects toggle option
|
790
800
|
* @param {string} ariaLabel of the toggle option
|
@@ -1199,7 +1209,7 @@ const steps = {
|
|
1199
1209
|
const originY = graphHeight / 2;
|
1200
1210
|
const xPixel = originX + x * (graphWidth / (xRange + 1));
|
1201
1211
|
const yPixel = originY - y * (graphHeight / (yRange + 1));
|
1202
|
-
cy.get(`.MuiAccordion-region .ngie-jxgbox svg ellipse[display="inline"][cx
|
1212
|
+
cy.get(`.MuiAccordion-region .ngie-jxgbox svg ellipse[display="inline"][cx*="${xPixel}"][cy*="${yPixel}"]`)
|
1203
1213
|
.should('exist');
|
1204
1214
|
});
|
1205
1215
|
});
|
@@ -1223,7 +1233,7 @@ const steps = {
|
|
1223
1233
|
const originY = graphHeight / 2;
|
1224
1234
|
const xPixel = originX + x * (graphWidth / (xRange + 1));
|
1225
1235
|
const yPixel = originY - y * (graphHeight / (yRange + 1));
|
1226
|
-
cy.get(`.MuiAccordion-region .ngie-jxgbox svg ellipse[display="inline"][cx
|
1236
|
+
cy.get(`.MuiAccordion-region .ngie-jxgbox svg ellipse[display="inline"][cx*="${xPixel}"][cy*="${yPixel}"]`)
|
1227
1237
|
.should('not.exist');
|
1228
1238
|
});
|
1229
1239
|
});
|
@@ -1426,7 +1436,7 @@ const steps = {
|
|
1426
1436
|
const originY = graphHeight / 2;
|
1427
1437
|
const xPixel = originX + x * (graphWidth / (xRange + 1));
|
1428
1438
|
const yPixel = originY - y * (graphHeight / (yRange + 1));
|
1429
|
-
cy.get(`[class*="GraphingQuestion"] .ngie-jxgbox svg ellipse[display="inline"][cx
|
1439
|
+
cy.get(`[class*="GraphingQuestion"] .ngie-jxgbox svg ellipse[display="inline"][cx*="${xPixel}"][cy*="${yPixel}"]`)
|
1430
1440
|
.should('exist');
|
1431
1441
|
});
|
1432
1442
|
});
|
@@ -1450,7 +1460,7 @@ const steps = {
|
|
1450
1460
|
const originY = graphHeight / 2;
|
1451
1461
|
const xPixel = originX + x * (graphWidth / (xRange + 1));
|
1452
1462
|
const yPixel = originY - y * (graphHeight / (yRange + 1));
|
1453
|
-
cy.get(`[class*="GraphingQuestion"] .ngie-jxgbox svg ellipse[display="inline"][cx
|
1463
|
+
cy.get(`[class*="GraphingQuestion"] .ngie-jxgbox svg ellipse[display="inline"][cx*="${xPixel}"][cy*="${yPixel}"]`)
|
1454
1464
|
.should('not.exist');
|
1455
1465
|
});
|
1456
1466
|
});
|
@@ -1474,7 +1484,7 @@ const steps = {
|
|
1474
1484
|
const originY = graphHeight / 2;
|
1475
1485
|
const xPixel = originX + x * (graphWidth / (xRange + 1));
|
1476
1486
|
const yPixel = originY - y * (graphHeight / (yRange + 1));
|
1477
|
-
cy.get(`[class*="GraphingQuestion"] .ngie-jxgbox svg ellipse[display="inline"][cx
|
1487
|
+
cy.get(`[class*="GraphingQuestion"] .ngie-jxgbox svg ellipse[display="inline"][cx*="${xPixel}"][cy*="${yPixel}"]`)
|
1478
1488
|
.should('have.css', 'fill', css.color.incorrectAnswer);
|
1479
1489
|
});
|
1480
1490
|
});
|
@@ -1498,7 +1508,7 @@ const steps = {
|
|
1498
1508
|
const originY = graphHeight / 2;
|
1499
1509
|
const xPixel = originX + x * (graphWidth / (xRange + 1));
|
1500
1510
|
const yPixel = originY - y * (graphHeight / (yRange + 1));
|
1501
|
-
cy.get(`[class*="GraphingQuestion"] .ngie-jxgbox svg ellipse[display="inline"][cx
|
1511
|
+
cy.get(`[class*="GraphingQuestion"] .ngie-jxgbox svg ellipse[display="inline"][cx*="${xPixel}"][cy*="${yPixel}"]`)
|
1502
1512
|
.should('have.css', 'fill', css.color.correctAnswer);
|
1503
1513
|
});
|
1504
1514
|
});
|
@@ -1696,7 +1706,7 @@ const steps = {
|
|
1696
1706
|
const originY = graphHeight / 2;
|
1697
1707
|
const xPixel = originX + x * (graphWidth / (xRange + 1));
|
1698
1708
|
const yPixel = originY - y * (graphHeight / (yRange + 1));
|
1699
|
-
cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg').eq(1).find(`ellipse[display="inline"][cx
|
1709
|
+
cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg').eq(1).find(`ellipse[display="inline"][cx*="${xPixel}"][cy*="${yPixel}"]`)
|
1700
1710
|
.should('be.visible');
|
1701
1711
|
});
|
1702
1712
|
});
|
@@ -1720,7 +1730,7 @@ const steps = {
|
|
1720
1730
|
const originY = graphHeight / 2;
|
1721
1731
|
const xPixel = originX + x * (graphWidth / (xRange + 1));
|
1722
1732
|
const yPixel = originY - y * (graphHeight / (yRange + 1));
|
1723
|
-
cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg').eq(1).find(`ellipse[display="inline"][cx
|
1733
|
+
cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg').eq(1).find(`ellipse[display="inline"][cx*="${xPixel}"][cy*="${yPixel}"]`)
|
1724
1734
|
.should('have.css', 'fill', css.color.correctAnswer);
|
1725
1735
|
});
|
1726
1736
|
});
|