Commit Graph

1851 Commits

Author SHA1 Message Date
Felix Nagel
890510c0a0 Calendar tests: Use assert.expect instead of global expect 2016-10-12 01:23:24 +02:00
Felix Nagel
96b5a760c4 Calendar tests: Simplify timeout steps 2016-10-12 01:09:03 +02:00
Felix Nagel
9fc83a085c Calendar: Add change event 2016-10-12 01:04:26 +02:00
Felix Nagel
9428256ad3 Datepicker: Add min / max option tests 2016-10-12 01:04:26 +02:00
Felix Nagel
877937e5c6 Calendar tests: Add basic value option tests 2016-10-12 01:04:25 +02:00
Felix Nagel
18ad526cfd Calendar tests: Use setup and teardown methods 2016-10-12 01:04:24 +02:00
Felix Nagel
2963622420 Datepicker tests: Use setup and teardown methods, remove helper file 2016-10-11 19:18:15 +02:00
Felix Nagel
85fe55335c Calendar tests: Add dateEqual assertion, clean up helper methods 2016-10-05 18:32:11 +02:00
Felix Nagel
d1152a39e6 Calendar tests: Add select event unit tests 2016-09-29 15:19:05 +02:00
Felix Nagel
ea6c475da4 Datepicker: Make use of Calendar widget icons option
Fix missing classes options defaults in tests.
2016-09-29 15:10:47 +02:00
Felix Nagel
d7939faae2 Calendar: Add icons option support 2016-09-29 15:10:46 +02:00
Felix Nagel
bd7a6f1468 Calendar: Use classes option for non performance critical rendering 2016-09-29 15:10:46 +02:00
Felix Nagel
280cda31d0 Datepicker: Always focus calendar grid when opening
Remove arrow down key requirement.
2016-09-28 18:28:33 +02:00
Felix Nagel
b92f1b0f2f Merge branch 'master' into datepicker 2016-04-12 22:46:36 +02:00
Konstantin Dinev
623b64eefc Resizable: Implement setOption for handles
Fixes #3423
Closes gh-1666
2016-03-30 14:08:41 -04:00
Mukul Hase
a1905e2c5e Slider: Fixed max value miscalculation
Fixes #12852
Closes gh-1664
2016-03-30 13:28:04 -04:00
Alexander Schmitz
bff8277fbc Selectmenu: Prepend icon and move overflow to text span
Fixes #14938
Closes gh-1685
2016-03-30 11:53:28 -04:00
Jörn Zaefferer
4866e14922 Menu: Remove active class from top-level item when menu is blurred
This issue was introduced by 0bbd156918,
which reduced the use of ui-state-focus and ui-state-active to using
only ui-state-focus. This introduced the issue addressed here.

The fix is more of a workaround. With test test in place, we can
investigate a better solution in the future.

Fixes #14919
2016-03-11 18:27:58 +01:00
Felix Nagel
6baa74ba45 Date tests: Fix months method tests
Make sure tests are not depending on current month. Fixes tests run in December.
Removed duplicate test. Improve test descriptions.
2016-02-26 16:48:16 +01:00
Alexander Schmitz
20466d5027 Selectmenu: Fixed selectmenu icon float right
Also removes the icon space as its not needed with a floated icon

Fixes #14914
Closes gh-1671
2016-02-24 11:29:44 -05:00
Alyosha Pushak
c87653bc24 Accordion: Correct height calculated when closed
Fixes #11938
Closes gh-1536
Closes gh-1616
2016-02-09 14:40:29 -05:00
Scott González
63c103dd54 Draggable: Improve detection for when to blur the active element
Fixes #12472
Fixes #14905
Closes gh-1548
2016-02-09 13:37:26 -05:00
Scott González
8fc3ba22ba Datepicker: Fix flaky test 2016-02-09 11:28:31 -05:00
Felix Nagel
1f92856d29 Calendar tests: Adjust structure tests to latest changes 2015-12-10 12:07:50 +01:00
Felix Nagel
e63835cb5c Calendar tests: Fix and update button advances unit tests
Related to 3570cc5a2b
2015-12-02 18:46:34 +01:00
Felix Nagel
c10ef0a170 Merge branch 'master' into datepicker 2015-12-02 18:30:05 +01:00
Felix Nagel
7ed4554109 Calendar: Fix jshint issues 2015-12-02 17:15:23 +01:00
Felix Nagel
f646ba97a9 Date tests: Fix first day of week calculation for non latin locales 2015-12-02 17:15:22 +01:00
Felix Nagel
1566cf1b39 Calendar: Remove Globalize.cldr.supplemental.weekData dependency 2015-11-16 22:54:44 +01:00
Michał Gołębiowski
15586ea752 Build: Use jquery-git in place of jquery-compat-git
jQuery Compat is not going to get released after all; jQuery UI should be tested
against jquery-git instead of jquery-compat-git.

Closes gh-1646
2015-11-14 06:12:55 -05:00
Scott González
e77fbe5388 Checkboxradio: Properly find radio groups from the associated form
Fixes #9973
Closes gh-1631
2015-10-29 11:19:13 -04:00
Jörn Zaefferer
f1b643ec67 Button: Add tests for button with html markup
Ref gh-1632
Ref jquery/api.jqueryui.com#281
2015-10-29 15:45:26 +01:00
Jörn Zaefferer
9644e7bae9 Dialog: Escape closeText option before passing it to button
Ref gh-1632
Fixes jquery/api.jqueryui.com#281
2015-10-28 19:48:35 +01:00
Scott González
65f4176249 Checkboxradio: Fix error tests with jQuery 1.7.0 2015-10-28 09:23:28 -04:00
Scott González
a640fae24e Controlgroup: Add compound test suite for all jQuery versions 2015-10-28 09:16:31 -04:00
Scott González
926f3c6c3a Checkboxradio: Add compound test suite for all jQuery versions 2015-10-28 09:15:11 -04:00
Scott González
6e0b2a580d Controlgroup: Test cleanup 2015-10-27 16:32:30 -04:00
Scott González
d4b0699578 Checkboxradio: Test cleanup 2015-10-27 16:05:52 -04:00
Leonardo Balter
60fa118955 Tests: Fix improper async sortable test
Caught when testing jQuery UI against the new QUnit version, where start throws
an error if called with a non-numeric error.

Closes gh-1630
2015-10-27 13:55:55 -04:00
Scott González
33398fa4f1 Draggable: Skip window bubbling test in IE 8
IE 8 implements DOM Level 2 Events which only has events propagate
up to the document, not the window.

Ref #10818
Ref gh-1621
Closes gh-1627
2015-10-27 11:12:14 -04:00
Scott González
81a002991e Tabs: Handle overly-precise values in tests in IE
Closes gh-1628
2015-10-27 11:06:48 -04:00
Jörn Zaefferer
39853fda45 Selectmenu: Handle form resets
Fixes #12236
Ref gh-1550
2015-10-27 10:28:04 -04:00
Jörn Zaefferer
09fde89a24 Controlgroup: Fix create and destroy for controlgroupLabel
Creating the label broke while doing a refactoring, the lack of tests
allowed that to go unnoticed. Shouldn't happen again with the extra
tests, covering both controlgroupLabel and spinner.
2015-10-26 10:09:20 -04:00
Jörn Zaefferer
3570cc5a2b Tests: Fix button space assertions on IE8
IE8 still doesn't keep the space in the text (or HTML) representation.
We don't really care, so adding more trims in these tests as well.
2015-10-25 11:25:00 -04:00
Jörn Zaefferer
56d6ddc2ba Draggable: Fix options tests
These failed when running through tests/unit/all.html, due to the smaller
iframe. Reducing a browser window enough triggered the same issue. Making
the top offset much smaller fixes that.

The rest is fixing bad indent and adds a missing module call.
2015-10-25 11:22:40 -04:00
Hannah Methvin
a1d69208ba Mouse: Don't stop propagation of mouseup
Fixes #10818
2015-10-18 12:36:43 -04:00
Jyoti Deka
4c5cd2018d Slider: Add missing unit test cases for values method
Closes gh-1573
2015-10-17 16:08:29 -04:00
Scott González
1007ee811c Autocomplete: Whitespace 2015-10-16 14:14:45 -04:00
Scott González
548fbf570c Autocomplete: Close the menu on any outside interactions
This ensures that the menu will close if the user interacts with a
draggable, resizable, etc. element since those interactions don't
change focus.

Ref #6642
Closes gh-1614
2015-10-16 14:09:05 -04:00
Jörn Zaefferer
52d9ec6c4d Checkboxradio: Add ui-state-highlight class to icon on create
This was already toggled in _toggleClasses, but that isn't called
on create.
2015-10-08 14:03:00 -04:00