itemengine-cypress-automation 1.0.432-addQuestionNamesToBuildIdGeneationFunction-5daf356.0 → 1.0.432
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.
@@ -14,6 +14,9 @@ describe('Edit item - Text entry math', () => {
|
|
14
14
|
cy.barsPreLoaderWait();
|
15
15
|
textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Text entry math question instruction');
|
16
16
|
textEntryMathPage.steps.addResponseArea();
|
17
|
+
textEntryMathPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
|
18
|
+
textEntryMathPage.steps.enterTextInPreviewInputField('<');
|
19
|
+
equationEditorFlyout.steps.clickOnOkButton();
|
17
20
|
textEntryMathPage.steps.addResponseArea();
|
18
21
|
textEntryMathPage.steps.allotPoints(20);
|
19
22
|
textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
@@ -27,6 +30,10 @@ describe('Edit item - Text entry math', () => {
|
|
27
30
|
textEntryMathPage.steps.saveAQuestionAndVerifySnackbar();
|
28
31
|
});
|
29
32
|
|
33
|
+
it('User should be able to save question with 2 response fields separated by equation "<"', () => {
|
34
|
+
textEntryMathPage.steps.verifyNumberOfResponseFields(2);
|
35
|
+
});
|
36
|
+
|
30
37
|
it('User should be able to edit question instruction and save the question', () => {
|
31
38
|
textEntryMathPage.steps.editItem();
|
32
39
|
textEntryMathPage.steps.clearQuestionInstructionsInputField();
|
@@ -1406,7 +1406,11 @@ const steps = {
|
|
1406
1406
|
verifyCorrectAnswerSectionNotExist: () => {
|
1407
1407
|
textEntryMathPage.correctAnswersLabel()
|
1408
1408
|
.should('not.exist');
|
1409
|
-
}
|
1409
|
+
},
|
1410
|
+
|
1411
|
+
verifyNumberOfResponseFields: (expectedCount) => {
|
1412
|
+
textEntryMathPage.responseFieldWrapperPreviewTab().should('have.length', expectedCount);
|
1413
|
+
},
|
1410
1414
|
}
|
1411
1415
|
|
1412
1416
|
const tests = {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "itemengine-cypress-automation",
|
3
|
-
"version": "1.0.432
|
3
|
+
"version": "1.0.432",
|
4
4
|
"description": "",
|
5
5
|
"main": "index.js",
|
6
6
|
"scripts": {
|
@@ -52,4 +52,4 @@
|
|
52
52
|
"devDependencies": {
|
53
53
|
"@applitools/eyes-cypress": "^3.47.0"
|
54
54
|
}
|
55
|
-
}
|
55
|
+
}
|