itemengine-cypress-automation 1.0.533-ITEM-1360-7e2d5d0.0 → 1.0.533-list-ordering-cypress-fix-dfd7c68.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.
@@ -133,9 +133,10 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
133
133
|
case 'Item preview':
|
134
134
|
case 'Student view':
|
135
135
|
utilities.verifyCSS(listOrderingPage.optionPreviewTab(), {
|
136
|
-
'background-color': css.color.transparent,
|
136
|
+
'background-color': view === 'Student view' ? css.color.white : css.color.transparent,
|
137
137
|
});
|
138
|
-
utilities.verifyCSS(
|
138
|
+
utilities.verifyCSS(
|
139
|
+
view === 'Student view' ? listOrderingPage.optionTextPreviewTabStudentView().parents('.draggable-item') : listOrderingPage.optionTextPreviewTab().parents('.draggable-item-wrapper'), {
|
139
140
|
'border': `1px solid ${css.color.draggableOptionBorder}`
|
140
141
|
});
|
141
142
|
utilities.verifyCSS(listOrderingPage.optionPreviewTab().find('.question-text-wrapper'), {
|