itemengine-cypress-automation 1.0.195-15thMayUpdates-cc82cc7.0 → 1.0.195
Sign up to get free protection for your applications and to get access to all the features.
@@ -346,6 +346,9 @@ export const extractLrnQuestionData = {
|
|
346
346
|
.each(($button) => {
|
347
347
|
let ariaLabel = $button[0].attributes["aria-label"].nodeValue;
|
348
348
|
toolbarButtons.push(ariaLabel);
|
349
|
+
})
|
350
|
+
.then(() => {
|
351
|
+
toolbarButtons.push('select');
|
349
352
|
});
|
350
353
|
});
|
351
354
|
obj.toolbarButtons = toolbarButtons;
|
@@ -63,6 +63,7 @@ const extractLrnGradingData = (currQuestionType, lrnGradingDataArr, index) => {
|
|
63
63
|
case lrnQuestionTypesENUM.essayResponse: return cy.log('Manually Graded Question Type');
|
64
64
|
case lrnQuestionTypesENUM.essayResponseBasic: return cy.log('Manually Graded Question Type');
|
65
65
|
case lrnQuestionTypesENUM.contentBlocks: return cy.log('Resource and tool');
|
66
|
+
case lrnQuestionTypesENUM.drawingResponse: return cy.log('Manually Graded Question Type');
|
66
67
|
default: throw new Error('Invalid lrn question type');
|
67
68
|
}
|
68
69
|
}
|
@@ -326,7 +326,7 @@ export const verifyIeQuestionData = {
|
|
326
326
|
},
|
327
327
|
|
328
328
|
drawingResponse: (expectedQuestionData, index) => {
|
329
|
-
cy.get('[class*="DrawingResponsePreviewstyles__Question"]')
|
329
|
+
cy.get('[class*="DrawingResponsePreviewstyles__Question-"]')
|
330
330
|
.eq(index)
|
331
331
|
.within(() => {
|
332
332
|
iePage.steps.verifyQuestionInstructions(expectedQuestionData);
|