You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QUnit.test(`drawer should have ${expectedClass} class on initialization if panel position is set to ${panelPosition}, rtlEnabled=${rtlEnabled}`,function(assert){
196
+
assert.expect(6);
197
+
198
+
const$element=$('#contentTemplate').dxDrawer({
199
+
position: panelPosition,
200
+
opened: true,
201
+
rtlEnabled,
202
+
});
203
+
204
+
assert.strictEqual($element.hasClass(expectedClass),true,`class ${expectedClass} is added correctly`);
QUnit.test(`ddrawer should have ${expectedClassAfterChange} class after changing position from ${panelPosition} to ${newPanelPosition}, rtlEnabled=${rtlEnabled}`,function(assert){
215
+
constdrawer=$('#contentTemplate').dxDrawer({
216
+
position: panelPosition,
217
+
opened: true,
218
+
rtlEnabled,
219
+
}).dxDrawer('instance');
220
+
221
+
const$element=drawer.$element();
222
+
223
+
drawer.option('position',newPanelPosition);
224
+
225
+
assert.strictEqual($element.hasClass(expectedClassAfterChange),true,`class ${expectedClassAfterChange} is added correctly`);
0 commit comments