Skip to content

Commit 9f14822

Browse files
author
Carlos Lizaga
committed
Added form.test.js and removed JsTestDriver equivalent.
Modified if documentation to be more friendly with developers.
1 parent de225a9 commit 9f14822

File tree

3 files changed

+268
-244
lines changed

3 files changed

+268
-244
lines changed

dev/tests/js/JsTestDriver/testsuite/mage/form/form-test.js

Lines changed: 0 additions & 241 deletions
This file was deleted.

dev/tests/js/jasmine/tests/lib/mage/dropdown.test.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,12 @@ define([
270270
jasmine.clock().uninstall();
271271
});
272272

273-
// Backend jquery-ui version has a diferent behavior on create that will add ui-dialog-titlebar anyway.
274-
// This test is only valid with frontend's version
275-
// @TODO: Re-design Jasmine settings to match a selective architecture for testing in order to split them.
273+
/*
274+
* jQuery ui version 1.9.2 belongs to the adminhtml.
275+
*
276+
* This test will fail on backend since backend's jquery.ui will
277+
* add ui-dialog-titlebar class anyway on create.
278+
*/
276279
if ($.ui.version !== '1.9.2') {
277280
it('check if the title bar is prevented from being created', function () {
278281
var dialog = $('<div/>'),

0 commit comments

Comments
 (0)