itemengine-cypress-automation 1.0.535-fix-label-numberline-cc11ff5.0 → 1.0.536-cypress-fixes-rel-13-10-25-4f3da88.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.
@@ -270,7 +270,7 @@ describe('Create question page - Essay Response: Customize formatting options (f
|
|
270
270
|
it('The undo toolbar option should get disabled after a certain number of undo actions (18 times)', () => {
|
271
271
|
essayResponsePage.steps.resetPreviewTabResponseField();
|
272
272
|
essayResponsePage.steps.enterInputInResponseField('Lorem Ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec tristique ipsum sit amet velit laoreet, eget dapibus mi placerat.');
|
273
|
-
for (var i = 0; i <
|
273
|
+
for (var i = 0; i < 18; i++) {
|
274
274
|
essayResponsePage.steps.selectPreviewTabToolbarOption('Undo (Ctrl+Z)');
|
275
275
|
};
|
276
276
|
essayResponsePage.steps.verifyPreviewTabToolbarOptionDisabled('Undo (Ctrl+Z)');
|
@@ -344,7 +344,7 @@ const steps = {
|
|
344
344
|
* @description Select the toolbar option in preview tab.
|
345
345
|
*/
|
346
346
|
selectPreviewTabToolbarOption: (toolbarOption) => {
|
347
|
-
if (toolbarOption == 'Insert Horizontal Line' || toolbarOption == 'Code Editor' || toolbarOption == 'Increase Indent' || toolbarOption == 'Decrease Indent' || toolbarOption == 'Remove Format'
|
347
|
+
if (toolbarOption == 'Insert Horizontal Line' || toolbarOption == 'Code Editor' || toolbarOption == 'Increase Indent' || toolbarOption == 'Decrease Indent' || toolbarOption == 'Remove Format') {
|
348
348
|
essayResponseCommonComponents.previewTabToolbarOption(toolbarOption)
|
349
349
|
.click()
|
350
350
|
.should('have.attr', 'aria-pressed', 'false');
|