itemengine-cypress-automation 1.0.370 → 1.0.372-mcq-flakiness-22ad93f.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.
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -2
- package/cypress/e2e/ILC/MultipleSelection/checkScoringLabelBannerAndCorrectAnswer.js +2 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +2 -4
- package/cypress/e2e/ILC/SingleSelectionGridNew/editTabScoringSection.js +2 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +4 -0
- package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +1 -0
- package/package.json +2 -2
@@ -112,8 +112,7 @@ describe('Create item page - Grid fill : Partial equal with alternative answers'
|
|
112
112
|
gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();*/
|
113
113
|
});
|
114
114
|
|
115
|
-
|
116
|
-
it.skip('When the user has attempts the question with equal number of correct responses from correct and alternative accordion, then the user should be awarded with points of the correctly selected response and on switching to \'Grading\' view, correct icon should be displayed in responses from correct accordion, incorrect icon should be displayed in responses from the alternative accordion, correct icon should be displayed in responses from correct accordion in correct answer section and correct/incorrect status message should not be displayed', () => {
|
115
|
+
it('When the user has attempts the question with equal number of correct responses from correct and alternative accordion, then the user should be awarded with points of the correctly selected response and on switching to \'Grading\' view, correct icon should be displayed in responses from correct accordion, incorrect icon should be displayed in responses from the alternative accordion, correct icon should be displayed in responses from correct accordion in correct answer section and correct/incorrect status message should not be displayed', () => {
|
117
116
|
gridFillPage.steps.resetQuestionPreview();
|
118
117
|
gridFillPage.steps.selectCellPreviewTab(0, 0);
|
119
118
|
gridFillPage.steps.selectCellPreviewTab(0, 4);
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { multipleSelectionPage } from "../../../pages";
|
2
2
|
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
const options = ['Pollution caused by treating chemical waste', 'Pollution caused by cement production', 'Pollution caused by methane production', 'Pollution caused by cement and methane production'];
|
3
4
|
|
4
5
|
describe('Create Item page - Multiple selection', () => {
|
5
6
|
before(() => {
|
@@ -64,6 +65,7 @@ describe('Create Item page - Multiple selection', () => {
|
|
64
65
|
before(() => {
|
65
66
|
multipleSelectionPage.steps.navigateToCreateQuestion('multiple selection');
|
66
67
|
cy.barsPreLoaderWait();
|
68
|
+
multipleSelectionPage.steps.addInputToOptionsInputField(options);
|
67
69
|
});
|
68
70
|
|
69
71
|
it('When the user selects \'Grading\' view without setting the answer, correct answers section and answer status banner should not be displayed', () => {
|
@@ -64,10 +64,8 @@ describe('Create Item page - Single selection grid', () => {
|
|
64
64
|
before(() => {
|
65
65
|
singleSelectionGridPage.steps.navigateToCreateQuestion('single selection grid');
|
66
66
|
cy.barsPreLoaderWait();
|
67
|
-
singleSelectionGridPage.steps.
|
68
|
-
singleSelectionGridPage.steps.
|
69
|
-
singleSelectionGridPage.steps.enterTextInCellPropertyInputField({ row: 4, column: 0 }, 'Tigers can jump upto 3 metres');
|
70
|
-
singleSelectionGridPage.steps.setAnswersForAllQuestionStemsInSpecifyCorrectAnswerSection([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
|
67
|
+
singleSelectionGridPage.steps.modifyTableCellProperty({ row: 1, column: 0 }, 'Heading');
|
68
|
+
singleSelectionGridPage.steps.modifyTableCellProperty({ row: 2, column: 0 }, 'Subheading');
|
71
69
|
});
|
72
70
|
|
73
71
|
it('When the user selects \'Grading\' view without setting the answer, correct answers section and answer status banner should not be displayed', () => {
|
@@ -2,6 +2,7 @@ import { singleSelectionGridPage } from "../../../pages";
|
|
2
2
|
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
3
|
import utilities from "../../../support/helpers/utilities";
|
4
4
|
const css = Cypress.env('css');
|
5
|
+
const options = ['Pollution caused by treating chemical waste', 'Pollution caused by cement production', 'Pollution caused by methane production', 'Pollution caused by cement and methane production'];
|
5
6
|
|
6
7
|
describe('Create item page - Single selection grid: Scoring section', () => {
|
7
8
|
before(() => {
|
@@ -263,6 +264,7 @@ describe('Create item page - Single selection grid: Scoring section', () => {
|
|
263
264
|
before(() => {
|
264
265
|
singleSelectionGridPage.steps.navigateToCreateQuestion('single selection grid');
|
265
266
|
cy.barsPreLoaderWait();
|
267
|
+
singleSelectionGridPage.steps.addInputToOptionsInputField(options);
|
266
268
|
});
|
267
269
|
|
268
270
|
it('User should be able to select \'Non scored\' scoring type from scoring type dropdown', () => {
|
package/cypress/e2e/ILC/SingleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js
CHANGED
@@ -38,6 +38,10 @@ describe('Multiple selection grid - Additional settings', () => {
|
|
38
38
|
before(() => {
|
39
39
|
singleSelectionGridPage.steps.navigateToCreateQuestion('single selection grid');
|
40
40
|
cy.barsPreLoaderWait();
|
41
|
+
singleSelectionGridPage.steps.addTextInQuestionInstructionsInputField('Please select following animals facts are correct or not')
|
42
|
+
singleSelectionGridPage.steps.setRowsAndColumnsForBasicQuestion();
|
43
|
+
singleSelectionGridPage.steps.enterTextInCellPropertyInputField({ row: 3, column: 0 }, 'Whale are mammals');
|
44
|
+
singleSelectionGridPage.steps.enterTextInCellPropertyInputField({ row: 4, column: 0 }, 'Tigers can jump upto 3 metres');
|
41
45
|
singleSelectionGridPage.steps.expandStyleAndLayoutCustomizationAccordion();
|
42
46
|
});
|
43
47
|
|
@@ -76,6 +76,7 @@ const steps = {
|
|
76
76
|
|
77
77
|
expandPenaltyScoringDropdown: () => {
|
78
78
|
autoScoredScoringSectionMultiResponseType.penaltyScoringDropdown()
|
79
|
+
.trigger('mouseover')
|
79
80
|
.click();
|
80
81
|
cy.wait(500);
|
81
82
|
utilities.verifyElementVisibilityState(autoScoredScoringSectionMultiResponseType.penaltyScoringDropdownListOptions(), 'visible');
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "itemengine-cypress-automation",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.372-mcq-flakiness-22ad93f.0",
|
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
|
+
}
|