itemengine-cypress-automation 1.0.215 → 1.0.216
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/manuallyAndNonScoredScoring.js +1 -0
- package/cypress/e2e/ILC/FeedbackScaleNew/previewContentsForAllViews.smoke.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/manuallyAndNonScored.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +2 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +2 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +2 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/manuallyAndNonScored.js +1 -0
- package/cypress/pages/components/createQuestionBasePage.js +1 -0
- package/cypress/pages/feedbackScalePage.js +3 -0
- package/package.json +1 -1
- /package/cypress/e2e/ILC/ChartsBar/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/{chartsDotsPlot/checkAnswerFunctionalityForAllViews.smoke.js → ChartsDotsPlot/checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/ChartsLine/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/FillInTheGapsDropdownNew/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/FillInTheGapsTextNew/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/Graphing/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/GridFill/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/ImageHighlight/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/ListOrderingDropdown/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/ListOrderingNew/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/Matching/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/MultipleSelection/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/MultipleSelectionGridNew/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/NumberLine/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/NumberLineLabel/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/ShortTextResponseNew/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/SingleSelection/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/SingleSelectionGridNew/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/TextEntryMath/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/TextEntryMathWithImage/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
- /package/cypress/e2e/ILC/TextSelection/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
@@ -28,6 +28,7 @@ describe('Create item page - Drag and drop into categories: All or nothing with
|
|
28
28
|
it('When the user selects \'Grading\' view without attempting the question, cell numeration should be displayed, correct answers section should be displayed with correct answers from the alternative accordion and respective cell numeration', () => {
|
29
29
|
dragAndDropIntoCategoriesPage.steps.switchToGradingView();
|
30
30
|
dragAndDropIntoCategoriesPage.steps.verifyDropzoneCellNumeration(['1', '2', '3', '4', '5', '6']);
|
31
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
31
32
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus']], ['1', '2', '4', '5']);
|
32
33
|
});
|
33
34
|
|
@@ -29,6 +29,7 @@ describe('Create item page - Drag and drop into categories: All or nothing with
|
|
29
29
|
it('When the user selects \'Grading\' view without attempting the question, cell numeration should be displayed, correct answers section should be displayed with correct answers from the correct accordion and respective cell numeration', () => {
|
30
30
|
dragAndDropIntoCategoriesPage.steps.switchToGradingView();
|
31
31
|
dragAndDropIntoCategoriesPage.steps.verifyDropzoneCellNumeration(['1', '2', '3', '4', '5', '6']);
|
32
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
32
33
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale']], ['1', '2', '3', '4', '5']);
|
33
34
|
});
|
34
35
|
|
@@ -31,6 +31,7 @@ describe('Create item page - Drag and drop into categories: All or nothing with
|
|
31
31
|
it('When the user selects \'Grading\' view without attempting the question, cell numeration should be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers from the correct accordion and respective cell numeration', () => {
|
32
32
|
dragAndDropIntoCategoriesPage.steps.switchToGradingView();
|
33
33
|
dragAndDropIntoCategoriesPage.steps.verifyDropzoneCellNumeration(['1', '2', '3', '4', '5', '6']);
|
34
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
34
35
|
utilities.verifyInnerText(dragAndDropIntoCategoriesPage.correctAnswersLabel(), 'Correct answers');
|
35
36
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale']], ['1', '2', '3', '4', '5']);
|
36
37
|
});
|
@@ -74,6 +74,7 @@ describe('Create Item Page: drag and drop into categories: Preview tab', () => {
|
|
74
74
|
it('When the user selects \'Grading\' view without attempting the question, cell numeration should be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers', () => {
|
75
75
|
dragAndDropIntoCategoriesPage.steps.switchToGradingView();
|
76
76
|
dragAndDropIntoCategoriesPage.steps.verifyDropzoneCellNumeration(['1', '2', '3', '4', '5', '6']);
|
77
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
77
78
|
utilities.verifyInnerText(dragAndDropIntoCategoriesPage.correctAnswersLabel(), 'Correct answers');
|
78
79
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale']], ['1', '2', '3', '4', '5']);
|
79
80
|
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -144,6 +144,7 @@ describe('Create item page: Feedback scale - Preview tab contents in all views f
|
|
144
144
|
it('The user should be able to add comment in the comments input field', () => {
|
145
145
|
feedbackScalePage.steps.enterTextInCommentInputField('Excellent worksheet');
|
146
146
|
feedbackScalePage.steps.verifyTextInCommentInputField('Excellent worksheet');
|
147
|
+
cy.wait(500);
|
147
148
|
});
|
148
149
|
} else {
|
149
150
|
it('The submitted feedback button should be in selected state', () => {
|
@@ -30,6 +30,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
|
|
30
30
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
31
31
|
fillInTheGapsDragAndDropPage.steps.verifyDropzoneNumeration();
|
32
32
|
utilities.verifyInnerText(fillInTheGapsDragAndDropPage.correctAnswersLabel(), 'Correct answers');
|
33
|
+
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
33
34
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
|
34
35
|
});
|
35
36
|
|
@@ -28,6 +28,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
|
|
28
28
|
it('When the user selects \'Grading\' view without attempting the question, cell numeration should be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers from the correct accordion and respective cell numeration', () => {
|
29
29
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
30
30
|
fillInTheGapsDragAndDropPage.steps.verifyDropzoneNumeration();
|
31
|
+
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
31
32
|
utilities.verifyInnerText(fillInTheGapsDragAndDropPage.correctAnswersLabel(), 'Correct answers');
|
32
33
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
33
34
|
});
|
@@ -29,6 +29,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
|
|
29
29
|
it('When the user selects \'Grading\' view without attempting the question, cell numeration should be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers from the correct accordion and respective cell numeration', () => {
|
30
30
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
31
31
|
fillInTheGapsDragAndDropPage.steps.verifyDropzoneNumeration();
|
32
|
+
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
32
33
|
utilities.verifyInnerText(fillInTheGapsDragAndDropPage.correctAnswersLabel(), 'Correct answers');
|
33
34
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
34
35
|
});
|
@@ -59,6 +59,7 @@ describe('Create Item page - Fill in the gaps with drag and drop: Manually and n
|
|
59
59
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
60
60
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
61
61
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
62
|
+
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
62
63
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
|
63
64
|
fillInTheGapsDragAndDropPage.steps.switchToStudentView();
|
64
65
|
});
|
@@ -39,6 +39,7 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
39
39
|
it('When the user selects \'Grading\' view without attempting the question, dropdown numeration should be displayed, correct answers section should be displayed with correct answers from the alternative accordion and respective dropdown numeration', () => {
|
40
40
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
41
41
|
fillInTheGapsDropdownPage.steps.verifyDropdownNumerationPreviewTab();
|
42
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
42
43
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
43
44
|
});
|
44
45
|
|
@@ -38,6 +38,7 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
38
38
|
it('When the user selects \'Grading\' view without attempting the question, dropdown numeration should be displayed, correct answers section should be displayed with correct answers from the correct accordion and respective dropdown numeration', () => {
|
39
39
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
40
40
|
fillInTheGapsDropdownPage.steps.verifyDropdownNumerationPreviewTab();
|
41
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
41
42
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
42
43
|
});
|
43
44
|
|
@@ -41,6 +41,7 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
41
41
|
it('When the user selects \'Grading\' view without attempting the question, dropdown numeration should be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers from the correct accordion and respective dropdown numeration', () => {
|
42
42
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
43
43
|
fillInTheGapsDropdownPage.steps.verifyDropdownNumerationPreviewTab();
|
44
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
44
45
|
utilities.verifyInnerText(fillInTheGapsDropdownPage.correctAnswersLabel(), 'Correct answers');
|
45
46
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
46
47
|
});
|
@@ -54,6 +54,7 @@ describe('Create Item page - Fill in the gaps with dropdown: Manually and non sc
|
|
54
54
|
fillInTheGapsDropdownPage.steps.switchToGradingView();
|
55
55
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
56
56
|
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
57
|
+
fillInTheGapsDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
57
58
|
fillInTheGapsDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
58
59
|
fillInTheGapsDropdownPage.steps.switchToStudentView();
|
59
60
|
});
|
@@ -26,13 +26,14 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
26
26
|
fillInTheGapsOverImageDragAndDropPage.steps.addAlternativeAnswerAccordion(1);
|
27
27
|
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(20);
|
28
28
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
29
|
-
|
29
|
+
//fillInTheGapsOverImageDragAndDropPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
30
30
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
|
31
31
|
});
|
32
32
|
|
33
33
|
it('When the user selects \'Grading\' view without attempting the question, cell numeration should be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers from the correct accordion and respective cell numeration', () => {
|
34
34
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
35
35
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyDropzoneNumeration();
|
36
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
36
37
|
utilities.verifyInnerText(fillInTheGapsOverImageDragAndDropPage.correctAnswersLabel(), 'Correct answers');
|
37
38
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
|
38
39
|
});
|
@@ -32,6 +32,7 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
32
32
|
it('When the user selects \'Grading\' view without attempting the question, cell numeration should be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers from the correct accordion and respective cell numeration', () => {
|
33
33
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
34
34
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyDropzoneNumeration();
|
35
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
35
36
|
utilities.verifyInnerText(fillInTheGapsOverImageDragAndDropPage.correctAnswersLabel(), 'Correct answers');
|
36
37
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
37
38
|
});
|
@@ -26,13 +26,14 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
26
26
|
fillInTheGapsOverImageDragAndDropPage.steps.addAlternativeAnswerAccordion(1);
|
27
27
|
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(10);
|
28
28
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
29
|
-
|
29
|
+
//fillInTheGapsOverImageDragAndDropPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
30
30
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
|
31
31
|
});
|
32
32
|
|
33
33
|
it('When the user selects \'Grading\' view without attempting the question, cell numeration should be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers from the correct accordion and respective cell numeration', () => {
|
34
34
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToGradingView();
|
35
35
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyDropzoneNumeration();
|
36
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
36
37
|
utilities.verifyInnerText(fillInTheGapsOverImageDragAndDropPage.correctAnswersLabel(), 'Correct answers');
|
37
38
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
38
39
|
});
|
@@ -69,6 +69,7 @@ describe('Create Item page - Fill in the gaps over image - drag and drop: Manual
|
|
69
69
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
70
70
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
71
71
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
72
|
+
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
72
73
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
|
73
74
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToStudentView();
|
74
75
|
});
|
@@ -42,6 +42,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
42
42
|
it('When the user selects \'Grading\' view without attempting the question, dropdown numeration should be displayed, correct answers section should be displayed with correct answers from the alternative accordion and respective dropdown numeration', () => {
|
43
43
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
44
44
|
fillInTheGapsOverImageDropdownPage.steps.verifyDropdownNumerationPreviewTab();
|
45
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
45
46
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(alternateAnswerArray);
|
46
47
|
});
|
47
48
|
|
@@ -42,6 +42,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
42
42
|
it('When the user selects \'Grading\' view without attempting the question, dropdown numeration should be displayed, correct answers section should be displayed with correct answers from the correct accordion and respective dropdown numeration', () => {
|
43
43
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
44
44
|
fillInTheGapsOverImageDropdownPage.steps.verifyDropdownNumerationPreviewTab();
|
45
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
45
46
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
46
47
|
});
|
47
48
|
|
@@ -45,6 +45,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
45
45
|
it('When the user selects \'Grading\' view without attempting the question, dropdown numeration should be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers from the correct accordion and respective dropdown numeration', () => {
|
46
46
|
fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
|
47
47
|
fillInTheGapsOverImageDropdownPage.steps.verifyDropdownNumerationPreviewTab();
|
48
|
+
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
48
49
|
utilities.verifyInnerText(fillInTheGapsOverImageDropdownPage.correctAnswersLabel(), 'Correct answers');
|
49
50
|
fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
|
50
51
|
});
|
@@ -23,13 +23,14 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
|
|
23
23
|
fillInTheGapsOverImageTextPage.steps.addAlternativeAnswerAccordion(1);
|
24
24
|
fillInTheGapsOverImageTextPage.steps.allotPoints(20);
|
25
25
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Petals' }, { responseIndex: 1, responseText: 'Leaves' }, { responseIndex: 2, responseText: 'Stem' }]);
|
26
|
-
|
26
|
+
//fillInTheGapsOverImageTextPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
27
27
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
28
28
|
});
|
29
29
|
|
30
30
|
it('When the user selects \'Grading\' view without attempting the question, response area numeration should be displayed, correct answers section should be displayed with correct answers from the alternative accordion and respective response area numeration', () => {
|
31
31
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
32
32
|
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaNumeration();
|
33
|
+
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
33
34
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Petals', 'Leaves', 'Stem']);
|
34
35
|
});
|
35
36
|
|
@@ -28,6 +28,7 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
|
|
28
28
|
it('When the user selects \'Grading\' view without attempting the question, response area numeration should be displayed, correct answers section should be displayed with correct answers from the correct accordion and respective response area numeration', () => {
|
29
29
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
30
30
|
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaNumeration();
|
31
|
+
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
31
32
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
32
33
|
});
|
33
34
|
|
@@ -30,8 +30,8 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
|
|
30
30
|
it('When the user selects \'Grading\' view without attempting the question, response area numeration should be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers from the correct accordion and respective response area numeration', () => {
|
31
31
|
fillInTheGapsOverImageTextPage.steps.switchToGradingView();
|
32
32
|
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaNumeration();
|
33
|
-
|
34
|
-
|
33
|
+
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
34
|
+
utilities.verifyInnerText(fillInTheGapsOverImageTextPage.correctAnswersLabel(), 'Correct answers');
|
35
35
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
36
36
|
});
|
37
37
|
|
@@ -58,6 +58,7 @@ describe('Create Item page - Fill in the gaps over image with text: Manually and
|
|
58
58
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
59
59
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
60
60
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
61
|
+
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
61
62
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
62
63
|
fillInTheGapsOverImageTextPage.steps.switchToStudentView();
|
63
64
|
});
|
package/package.json
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|