itemengine-cypress-automation 1.0.288 → 1.0.290-basicE2EFixes-18375e9.0
Sign up to get free protection for your applications and to get access to all the features.
package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js
CHANGED
@@ -95,6 +95,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
95
95
|
itemPreviewPage.steps.resetQuestionPreview();
|
96
96
|
break;
|
97
97
|
case 'Grading view':
|
98
|
+
cy.wait(5000);
|
98
99
|
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
99
100
|
break;
|
100
101
|
}
|
@@ -9,7 +9,7 @@ const threeOptions = ['option 1', 'option 2', 'option 3'];
|
|
9
9
|
|
10
10
|
//TODO update option container selectors when https://redmine.zeuslearning.com/issues/563159 is resolved
|
11
11
|
const selectors = {
|
12
|
-
draggableOption: () => cy.get('[class*="DraggableItemstyles__DraggableItemWrapper"] [role="menu"],[class*="DraggableItemstyles__DraggableItemWrapper"][role="button"]'),
|
12
|
+
draggableOption: () => cy.get('[class*="DraggableItemstyles__DraggableItemWrapper"] [role="menu"],[class*="DraggableItemstyles__DraggableItemWrapper"][role="button"],[class*="DraggableItems"][class*="__ItemWrapper"]'),
|
13
13
|
optionsContainerSpecifyCorrectAnswerSection: () => cy.get('.option-drag-and-drop'),
|
14
14
|
optionsContainerPreviewTab: () => cy.get('[class*="question-preview-wrapper"] .option-drag-and-drop,[class*="question-preview-wrapper"] .standard-options-dropzone'),
|
15
15
|
groupedOptionsTitleSpecifyCorrectAnswerSection: () => cy.get('[class*="GroupTitleWrapper"]'),
|