itemengine-cypress-automation 1.0.563-IEI-6998-Add-coverage-for-image-hightlight-question-type-238d7b4.0 → 1.0.563
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/ImageHighlight/additionalSettings.js +1 -2
- package/cypress/e2e/ILC/ImageHighlight/backgroundImageAndCanvasProperties.js +2 -2
- package/cypress/e2e/ILC/ImageHighlight/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
- package/cypress/e2e/ILC/ImageHighlight/studentViewSettings.js +1 -1
- package/cypress/pages/imageHighlightPage.js +1 -1
- package/cypress/support/helpers/utilities.js +1 -1
- package/package.json +1 -1
|
@@ -199,7 +199,7 @@ describe('Create Item page - Image highlight : Additional settings', () => {
|
|
|
199
199
|
});
|
|
200
200
|
});
|
|
201
201
|
|
|
202
|
-
describe
|
|
202
|
+
describe('Additional settings: Enumeration placement and details section', () => {
|
|
203
203
|
abortEarlySetup();
|
|
204
204
|
before(() => {
|
|
205
205
|
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
|
@@ -219,7 +219,6 @@ describe('Create Item page - Image highlight : Additional settings', () => {
|
|
|
219
219
|
|
|
220
220
|
it('The enumeration placement label should be displayed in the additional settings accordion of edit tab and should contain text "Enumeration placement"', () => {
|
|
221
221
|
imageHighlightPage.steps.switchToEditTab();
|
|
222
|
-
//imageHighlightPage.steps.expandAdditionalSettings();
|
|
223
222
|
utilities.verifyInnerText(imageHighlightPage.enumerationPlacementLabel(), 'Enumeration placement');
|
|
224
223
|
utilities.verifyElementVisibilityState(imageHighlightPage.enumerationPlacementLabel(), 'visible');
|
|
225
224
|
});
|
|
@@ -95,7 +95,7 @@ describe('Create item page - Image highlight: Background image section', () => {
|
|
|
95
95
|
});
|
|
96
96
|
});
|
|
97
97
|
|
|
98
|
-
describe
|
|
98
|
+
describe('Image properties section - Edit tab', () => {
|
|
99
99
|
abortEarlySetup();
|
|
100
100
|
before(() => {
|
|
101
101
|
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
|
@@ -290,7 +290,7 @@ describe('Create item page - Image highlight: Background image section', () => {
|
|
|
290
290
|
});
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
describe.
|
|
293
|
+
describe.skip('Image properties, Image alignment, Opacity section - Preview tab functionality', () => {
|
|
294
294
|
abortEarlySetup();
|
|
295
295
|
before(() => {
|
|
296
296
|
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
|
@@ -191,7 +191,7 @@ describe('Create item page - Image highlight: Minimum scoring, Penalty scoring,
|
|
|
191
191
|
});
|
|
192
192
|
});
|
|
193
193
|
|
|
194
|
-
describe
|
|
194
|
+
describe('Scoring section: Rounding - Edit tab', () => {
|
|
195
195
|
abortEarlySetup();
|
|
196
196
|
before(() => {
|
|
197
197
|
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
|
@@ -154,7 +154,7 @@ describe('Image highlight - Student view settings', () => {
|
|
|
154
154
|
imageHighlightPage.tests.verifyShowAvailableOptionsToStudentsEditTab();
|
|
155
155
|
});
|
|
156
156
|
|
|
157
|
-
describe
|
|
157
|
+
describe('Show the available options to students: Preview tab', () => {
|
|
158
158
|
abortEarlySetup();
|
|
159
159
|
before(() => {
|
|
160
160
|
imageHighlightPage.steps.navigateToCreateQuestion('image highlight');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import utilities from "../support/helpers/utilities";
|
|
2
2
|
import { additionalSettingsAccessibilitySectionComponent, additionalSettingsPanel, autoScoredScoringPreviewTab, autoScoredScoringSectionMultiResponseType, autoScoredSpecifyCorrectAnswerSection, autoScoredStudentViewSettings, backgroundImageUploadComponent, commonComponents, createQuestionBasePage, enableOuterBorderComponent, gradingViewEnumerationComponent, imageActionsComponent, imageCanvasComponent, questionInstructionsComponent, scoringSectionBaseEditTab, showAvailableOptionsToStudents, showStudentMaximumNumberOfPossibleSelections, singleMultipleSelectionModeComponent, colorPopupComponent } from "./components";
|
|
3
3
|
import { createItemPage } from "./createItemPage";
|
|
4
|
-
import { itemPreviewPage } from "./itemPreviewPage";
|
|
4
|
+
import { itemPreviewPage } from "./itemPreviewPage";
|
|
5
5
|
const css = Cypress.env('css');
|
|
6
6
|
let imageWidth = 768;
|
|
7
7
|
let imageHeight = 432;
|
|
@@ -298,7 +298,7 @@ const utilities = {
|
|
|
298
298
|
|
|
299
299
|
/**
|
|
300
300
|
* Verifies the selected/not selected state of an element.
|
|
301
|
-
* @param {Cypress.Chainable}
|
|
301
|
+
* @param {Cypress.Chainable} selector - The element containing the image
|
|
302
302
|
* @param {string} state - 'selected' | 'notSelected'
|
|
303
303
|
*/
|
|
304
304
|
verifiedElementSelectedNotSelectedState: (selector, state) => {
|