itemengine-cypress-automation 1.0.455-task-IEI-6684-4a6c570.0 → 1.0.455

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.
@@ -1178,7 +1178,7 @@ describe('Create item page - Text entry math: Symbols are equivalent evaluation
1178
1178
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
1179
1179
  });
1180
1180
 
1181
- it.skip('When the user enters a fractional expression with multiple terms in the numerator with variables in \'Specify correct answer\' response field and then enters only numerator part of the expression then the answer should be treated as incorrect', () => {
1181
+ it('When the user enters a fractional expression with multiple terms in the numerator with variables in \'Specify correct answer\' response field and then enters only numerator part of the expression then the answer should be treated as incorrect', () => {
1182
1182
  textEntryMathPage.steps.resetQuestionPreview();
1183
1183
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
1184
1184
  equationEditorFlyout.steps.enterTextInPreviewInputField('20+9.75x');
@@ -1217,7 +1217,7 @@ describe('Create item page - Text entry math: Symbols are equivalent evaluation
1217
1217
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
1218
1218
  });
1219
1219
 
1220
- it.skip('When the user enters a fractional expression with multiple terms in the numerator (three) with variables in \'Specify correct answer\' response field and then enters only numerator part of the expression then the answer should be treated as incorrect', () => {
1220
+ it('When the user enters a fractional expression with multiple terms in the numerator (three) with variables in \'Specify correct answer\' response field and then enters only numerator part of the expression then the answer should be treated as incorrect', () => {
1221
1221
  textEntryMathPage.steps.resetQuestionPreview();
1222
1222
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
1223
1223
  equationEditorFlyout.steps.enterTextInPreviewInputField('20+9.75x+45y');
@@ -1240,5 +1240,32 @@ describe('Create item page - Text entry math: Symbols are equivalent evaluation
1240
1240
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
1241
1241
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
1242
1242
  });
1243
+
1244
+
1245
+ it("When the user enters a fractional expression with multiple terms in the numerator (three) with variables in \'Specify correct answer\' response field and then enters the same expression with the custom setting 'Interpret alphabets as variables' then the answer should be treated as correct", () => {
1246
+ textEntryMathPage.steps.switchToEditTab();
1247
+ textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
1248
+ textEntryMathPage.steps.clickOnCustomSettingsAccordion();
1249
+ textEntryMathPage.steps.checkCustomSettingsCheckbox('Interpret alphabets as variables');
1250
+ textEntryMathPage.steps.switchToPreviewTab();
1251
+ textEntryMathPage.steps.resetQuestionPreview();
1252
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
1253
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }]);
1254
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['x', '20+9.75x+45y']);
1255
+ equationEditorFlyout.steps.clickOnOkButton();
1256
+ textEntryMathPage.steps.switchToGradingView();
1257
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
1258
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
1259
+ });
1260
+
1261
+ it("When the user enters a fractional expression with multiple terms in the numerator (three) with variables in \'Specify correct answer\' response field and then enters only numerator part of the expression with the custom setting 'Interpret alphabets as variables' then the answer should be treated as incorrect", () => {
1262
+ textEntryMathPage.steps.resetQuestionPreview();
1263
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
1264
+ equationEditorFlyout.steps.enterTextInPreviewInputField('20+9.75x+45y');
1265
+ equationEditorFlyout.steps.clickOnOkButton();
1266
+ textEntryMathPage.steps.switchToGradingView();
1267
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
1268
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
1269
+ });
1243
1270
  });
1244
1271
  });
@@ -776,32 +776,5 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
776
776
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
777
777
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
778
778
  });
779
-
780
- it("When the user enters a fractional expression with multiple terms in the numerator (three) with variables in \'Specify correct answer\' response field and then enters the same expression with the custom setting 'Interpret alphabets as variables' then the answer should be treated as correct", () => {
781
- textEntryMathPage.steps.switchToEditTab();
782
- textEntryMathPage.steps.checkCustomSettingsCheckbox('Interpret alphabets as variables');
783
- textEntryMathPage.steps.switchToPreviewTab();
784
- textEntryMathPage.steps.resetQuestionPreview();
785
- textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
786
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }]);
787
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['x', '20']);
788
- equationEditorFlyout.steps.enterTextInPreviewInputField('+9.75+');
789
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }]);
790
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['x', '45y']);
791
- equationEditorFlyout.steps.clickOnOkButton();
792
- textEntryMathPage.steps.switchToGradingView();
793
- textEntryMathPage.steps.verifyCorrectResponseIcon(0);
794
- textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
795
- });
796
-
797
- it.skip("When the user enters a fractional expression with multiple terms in the numerator (three) with variables in \'Specify correct answer\' response field and then enters only numerator part of the expression with the custom setting 'Interpret alphabets as variables' then the answer should be treated as incorrect", () => {
798
- textEntryMathPage.steps.resetQuestionPreview();
799
- textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
800
- equationEditorFlyout.steps.enterTextInPreviewInputField('20+9.75x+45y');
801
- equationEditorFlyout.steps.clickOnOkButton();
802
- textEntryMathPage.steps.switchToGradingView();
803
- textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
804
- textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
805
- });
806
779
  });
807
780
  });
@@ -62,7 +62,7 @@ const editedFontSize = 'Normal';
62
62
 
63
63
  const uuidString = uuid();
64
64
 
65
- describe('Edit Question and edit item', () => {
65
+ describe('Edit Question and edit item', { tags: 'smoke' }, () => {
66
66
  before(() => {
67
67
  cy.loginAs('admin');
68
68
  cy.createThinkSphereItem(uuidString, true);
@@ -73,7 +73,7 @@ describe('Edit Question and edit item', () => {
73
73
  cy.deleteThinkSphereItem(uuidString);
74
74
  });
75
75
 
76
- describe('Edit question', { tags: 'smoke' }, () => {
76
+ describe('Edit question', () => {
77
77
  abortEarlySetup();
78
78
  it('When user edits the question instructions, then the changes should be saved successfully and edited question instruction should get displayed in preview side', () => {
79
79
  thinkSpherePage.steps.clickOnEditThinkSphereItem();
@@ -149,7 +149,7 @@ describe('Edit Question and edit item', () => {
149
149
  });
150
150
  });
151
151
 
152
- describe('Edit review question', { tags: 'smoke' }, () => {
152
+ describe('Edit review question', () => {
153
153
  abortEarlySetup();
154
154
  before(() => {
155
155
  browseItemsPage.steps.clickOnAddReviewItem();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.455-task-IEI-6684-4a6c570.0",
3
+ "version": "1.0.455",
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
+ }