itemengine-cypress-automation 1.0.456-fixesForTEMandThinkSphereSmokeFile-93c3261.0 → 1.0.457-fixSmokeFilesAndRemoveSkips-0a69d1e.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/EssayResponse/createCustomCategory.smoke.js +0 -1
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +3 -3
- package/cypress/e2e/ILC/ThinkSphere/equationEditorCreateCustomCategory.smoke.js +2 -2
- package/cypress/pages/components/createCustomCategoryFlyout.js +2 -2
- package/package.json +1 -1
@@ -113,7 +113,6 @@ describe('Create question page - Essay Response: Create custom category', () =>
|
|
113
113
|
utilities.verifyInnerText(createCustomCategoryFlyout.selectSymbolsToDisplayLabel(), 'Select the symbols to display to the students.');
|
114
114
|
});
|
115
115
|
|
116
|
-
//Failing due to https://redmine.zeuslearning.com/issues/566948
|
117
116
|
it(`${allCategories} accordions except ${equationEditorCategoriesAndSymbols['numPad'].displayName} and ${equationEditorCategoriesAndSymbols['keyPad'].displayName} should be displayed with their respective labels and unchecked checkboxes.`, () => {
|
118
117
|
createCustomCategoryFlyout.steps.verifyCreateCustomCategoryAccordionLabelsAndDefaultCheckbox();
|
119
118
|
});
|
@@ -377,8 +377,7 @@ describe('Create Item page - Multiple selection: All or nothing ', () => {
|
|
377
377
|
multipleSelectionPage.steps.verifyCorrectAnswerSectionExist();
|
378
378
|
});
|
379
379
|
|
380
|
-
|
381
|
-
it.skip('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
|
380
|
+
it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
|
382
381
|
if (view === 'Grading view') {
|
383
382
|
studentViewPage.steps.clearResponses();
|
384
383
|
};
|
@@ -479,8 +478,9 @@ describe('Create Item page - Multiple selection: All or nothing ', () => {
|
|
479
478
|
});
|
480
479
|
});
|
481
480
|
};
|
481
|
+
//Remove skip once https://weldnorthed.atlassian.net/browse/ITEM-1313 is completed.
|
482
482
|
viewsForQuestionMethods.forEach((view) => {
|
483
|
-
describe(`Multiple selection: Question methods Accordion - ${view}`, { tags: 'smoke' }, () => {
|
483
|
+
describe.skip(`Multiple selection: Question methods Accordion - ${view}`, { tags: 'smoke' }, () => {
|
484
484
|
abortEarlySetup();
|
485
485
|
let responseId;
|
486
486
|
before(() => {
|
@@ -190,13 +190,13 @@ describe('Create question page - Think Sphere: Create custom category', () => {
|
|
190
190
|
'font-size': css.fontSize.default,
|
191
191
|
'font-weight': css.fontWeight.bold
|
192
192
|
});
|
193
|
-
utilities.verifyCSS(
|
193
|
+
utilities.verifyCSS(thinkSpherePage.buttonCancel(), {
|
194
194
|
'color': css.color.secondaryBtn,
|
195
195
|
'font-size': css.fontSize.default,
|
196
196
|
'font-weight': css.fontWeight.semibold,
|
197
197
|
'background-color': css.color.transparent
|
198
198
|
});
|
199
|
-
utilities.verifyCSS(
|
199
|
+
utilities.verifyCSS(thinkSpherePage.buttonSave(), {
|
200
200
|
'color': css.color.successBtn,
|
201
201
|
'font-size': css.fontSize.default,
|
202
202
|
'font-weight': css.fontWeight.semibold,
|
@@ -25,8 +25,8 @@ const selectors = {
|
|
25
25
|
categoryAccordionIcon: () => cy.get('[class*="expandIcon"]'),
|
26
26
|
categoryAccordionCheckbox: () => cy.get('.accordian-checkbox [type="checkbox"]'),
|
27
27
|
categoryAccordionLabel: () => cy.get('.accordian-label'),
|
28
|
-
buttonSave: () => cy.get('.action-btn-wrapper button').eq(
|
29
|
-
buttonCancel: () => cy.get('.action-btn-wrapper button').eq(
|
28
|
+
buttonSave: () => cy.get('.action-btn-wrapper button').eq(0),
|
29
|
+
buttonCancel: () => cy.get('.action-btn-wrapper button').eq(1),
|
30
30
|
categoryCharacters: (ariaLabel = null) => {
|
31
31
|
if (ariaLabel) {
|
32
32
|
return cy.get(`.icon-button-custom-format[aria-label="${ariaLabel}"]`)
|