itemengine-cypress-automation 1.0.536-cypress-fixes-rel-13-10-25-4f3da88.0 → 1.0.536-fix-graphing-e2f8781.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -128,7 +128,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
|
128
128
|
utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 2);
|
|
129
129
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
|
130
130
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
|
|
131
|
-
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(),
|
|
131
|
+
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
|
|
132
132
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
|
133
133
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
|
134
134
|
|
|
@@ -199,9 +199,9 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
|
199
199
|
//Preview tab
|
|
200
200
|
utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 1);
|
|
201
201
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
|
202
|
-
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(),
|
|
202
|
+
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
|
|
203
203
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
|
204
|
-
utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(),
|
|
204
|
+
utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(), 2);
|
|
205
205
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
|
206
206
|
|
|
207
207
|
//Correct answer section
|
|
@@ -241,7 +241,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
|
241
241
|
//Preview tab
|
|
242
242
|
utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 1);
|
|
243
243
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
|
244
|
-
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(),
|
|
244
|
+
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
|
|
245
245
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
|
246
246
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
|
247
247
|
utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 1);
|
package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js
CHANGED
|
@@ -128,7 +128,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
|
128
128
|
utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 2);
|
|
129
129
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
|
130
130
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
|
|
131
|
-
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(),
|
|
131
|
+
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
|
|
132
132
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
|
133
133
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
|
134
134
|
|
|
@@ -200,9 +200,9 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
|
200
200
|
//Preview tab
|
|
201
201
|
utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 1);
|
|
202
202
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
|
203
|
-
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(),
|
|
203
|
+
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
|
|
204
204
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
|
205
|
-
utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(),
|
|
205
|
+
utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(), 2);
|
|
206
206
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
|
207
207
|
|
|
208
208
|
//Correct answer section
|
|
@@ -243,7 +243,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
|
243
243
|
//Preview tab
|
|
244
244
|
utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 1);
|
|
245
245
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
|
246
|
-
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(),
|
|
246
|
+
utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
|
|
247
247
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
|
248
248
|
graphingPage.steps.verifyIncorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
|
249
249
|
utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 1);
|
|
@@ -119,7 +119,7 @@ const selectors = {
|
|
|
119
119
|
xAxisLabelGraphPreviewTab: () => cy.get('[class*="GraphingQuestion"] .graph-footer .question-text-wrapper').eq(1),
|
|
120
120
|
xAxisGraphPreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg line[stroke-linecap="butt"]').eq(0),
|
|
121
121
|
yAxisGraphPreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg line[stroke-linecap="butt"]').eq(1),
|
|
122
|
-
graphLinePreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg').eq(0).find('line[tabindex="0"]'),
|
|
122
|
+
graphLinePreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg').eq(0).find('line[tabindex="0"][stroke-width="2px"]'),
|
|
123
123
|
graphLineSegmentsPreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg').eq(0).find('line[tabindex="0"]'),
|
|
124
124
|
graphCirclePreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg').eq(0).find('ellipse[fill-opacity="0"]'),
|
|
125
125
|
graphPolygonPreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg').eq(0).find('polygon'),
|
|
@@ -236,7 +236,7 @@ const selectors = {
|
|
|
236
236
|
correctAnswerLabel: () => cy.get('[class*="AnswerLabel"]'),
|
|
237
237
|
graphCorrectAnswerSection: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg'),
|
|
238
238
|
graphCircleCorrectAnswerSection: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox').eq(1).find('ellipse[fill-opacity="0"]'),
|
|
239
|
-
graphLineCorrectAnswerSection: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox').eq(1).find('line[tabindex="0"]'),
|
|
239
|
+
graphLineCorrectAnswerSection: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox').eq(1).find('line[tabindex="0"][stroke-width="2px"]'),
|
|
240
240
|
graphPolygonCorrectAnswerSection: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox').eq(1).find('polygon'),
|
|
241
241
|
graphSineWaveCorrectAnswerSection: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox').eq(1).find('[pointer-events="visiblePainted"][tabindex="0"][fill-rule="evenodd"]'),
|
|
242
242
|
correctIncorrectStatusMessageText: () => cy.get('[class*="Graphingstyles__CorrectIncorrectWrapper"]'),
|