aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Dialog: Honor preventDefault when managing focusJörn Zaefferer2014-06-101-2/+25
| | | | | | | | If event.isDefaultPrevented() is true, the focus management is completely skipped, assuming the user manages focus manually. Fixes #10103 Closes gh-1265
* Dialog: Fix shift-tab handling, focus the correct elementJörn Zaefferer2014-06-101-7/+9
| | | | | | | | | | | Copy-paste error introduced in df6110c0d424ff3306fdd5576011f2dcf4d242d0 Updates the tabbing test to be more specific about which element should have focus, instead of only checking if focus is within the dialog. Ref #9646 Ref #10103 Closes gh-1264
* Spinner: Don't change value when changing min/max optionsDavid Petersen2014-05-261-3/+3
| | | | | Fixes #9703 Closes gh-1252
* Tabs: Move `aria-expanded` from active panel to active tabDavid Petersen2014-05-191-63/+63
| | | | | Fixes #9622 Closes gh-1251
* Autocomplete: Search if the user retypes the same valueTJ VanToll2014-05-121-0/+21
| | | | | Fixes #7434 Closes gh-1238
* Menu: Use item.outerHeight() in _scrollIntoViewJörn Zaefferer2014-05-061-1/+1
| | | | Fixes #9991
* Selectmenu: Work around test bug in IEScott González2014-04-241-1/+1
|
* Spinner tests: Remove mousewheel pluginJörn Zaefferer2014-04-231-1/+0
| | | | | | | | The plugin isn't needed nor used in the unit tests, which just trigger the appropriate events. This works around the failure in Firefox 27/28 that we'll try to track down separately. Ref #9988
* Selectmenu: Test cleanupScott González2014-04-221-19/+33
|
* Selectmenu: Test cleanupScott González2014-04-222-49/+47
|
* Selectmenu: Test cleanupScott González2014-04-221-45/+47
|
* Selectmenu: Test cleanupScott González2014-04-211-50/+61
|
* Selectmenu: Default disabled option to nullScott González2014-04-211-2/+2
|
* Selectmenu: Fix reference to jQuery in testsScott González2014-04-211-1/+1
|
* Button: WhitespaceScott González2014-04-211-7/+7
|
* Button: Remove `ui-state-active` when disabling buttonsDaniel DeGroff2014-04-211-0/+35
| | | | | Fixes #9602 Closes gh-1151
* Selectmenu: Remove unused varScott González2014-04-181-1/+1
|
* Selectmenu: Don't use active items at allScott González2014-04-181-15/+11
| | | | | | | Menus only use active items for nested menus which selectmenu doesn't support. Selectmenu should only be working with focused items. Ref gh-1224
* Resizable: Remove bad workaround for draggable+resizableJörn Zaefferer2014-04-163-4/+58
| | | | | | | | | | | | This adds a compound test page for draggable+resizable, which had no coverage before. Using that page shows that there is no way to reproduce the behaviour described in the original ticket that caused this workaround, since its not possible to resize an element beyond the window boundaries. Therefore removing the workaround, which is 6+ years old and has no test coverage, seems like the sanest approach. Fixes #6939 Closes gh-1210
* Button: Properly refresh button sets with new radio buttonsScott González2014-04-012-0/+27
| | | | | Fixes #8975 Ref gh-888
* Spinner: Minor typo in stepUp()'s testsTJ VanToll2014-03-301-1/+1
|
* All: Rename jquery.js to exclude version in filenameJörn Zaefferer2014-03-0551-51/+51
|
* Tests: Expose jQuery version selectJörn Zaefferer2014-03-041-0/+11
| | | | Makes use of the extended urlConfig in QUnit 1.14
* Core: Deprecate .focus( n ), replace in dialog with explicit timeoutsJörn Zaefferer2014-02-212-28/+28
| | | | Fixes #9646
* Selectmenu: Fix invalid empty options in visual testJörn Zaefferer2014-02-211-3/+3
|
* Selectmenu: Fix whitespace in visual testJörn Zaefferer2014-02-211-8/+8
|
* Selectmenu: Refactor appendTo option testsJörn Zaefferer2014-02-211-16/+27
|
* Selectmenu: Fall back to .ui-front searching for empty jQuery objectsJörn Zaefferer2014-02-211-1/+6
| | | | Fixes #9757
* Autocomplete: Fix assertion message in appendTo option testJörn Zaefferer2014-02-211-1/+1
|
* Dialog: Work around subpixel issues in dialog resizable testJörn Zaefferer2014-02-201-4/+7
| | | | | | | | | Switching to checking the size of the content element. We should be checking the dimensions of the .ui-dialog element, but that currently fails in Chromium-based browsers. Once we start using box-sizing: border-box, we should try to revert this change. Ref #9845
* Tests: Update to sane QUnit markupJörn Zaefferer2014-02-2042-210/+42
|
* Draggable Tests: fix IE scroll tests affected by focus issues.Mike Sherov2014-02-181-5/+12
| | | | | Calling element.focus() causes scroll in IE. In order to correctly test scroll behavior, we must calculate scrollTop on the drag event, before .focus is called.
* Draggable Tests: fix IE offset tests affected by focus issues.Mike Sherov2014-02-181-1/+1
| | | | | | Calling element.focus() causes scroll in IE. In order to correctly test scroll behavior, we must rely on the actual calculated offset instead of the helper offset to ensure cross browser test consistency.
* Draggable: fix current JSCS violations.Mike Sherov2014-02-182-28/+38
|
* Tests: Use .bind() instead of .on()Scott González2014-02-113-5/+5
|
* Tests: Fix andenable a couple of unit tests: dialog, tooltip, draggableBrian J. Dowling2014-02-112-3/+3
| | | | | | | | Some unit tests were disabled in phantomjs. Dialog and draggable depended on a larger viewPort. Tooltip just worked, that was reenabled as well. Closes gh-1173
* Autocomplete: Do not set value on multi-line inputYermo2014-01-281-0/+26
| | | | | | | | This fixes an issue where contenteditable text was getting overwritten when wrapping past the bottom or top of the autocomplete menu. Fixes #9771 Closes gh-1184
* Button: Ignore non-radio elements with the same nameTJ VanToll2014-01-281-0/+14
| | | | | Fixes #8761 Closes gh-1185
* All: Rename all files, removing the "jquery.ui." prefix;Rafael Xavier de Souza2014-01-2453-333/+333
| | | | | | | - By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271; Fixes #9464 Closes gh-1029
* Tests: Add link to selectmenu in unit indexScott González2014-01-241-0/+1
|
* Test: WhitespaceScott González2014-01-241-1/+1
|
* Autocomplete: Normalize falsy values, not just missing valuesScott González2014-01-224-23/+50
| | | | Fixes #9762
* Autocomplete: Fall back to .ui-front searching for empty jQuery objectsScott González2014-01-201-11/+26
| | | | Fixes #9755
* Draggable: fix changing containmentBen Higgins2014-01-201-2/+7
| | | | | | | | | | | | | If containment was set such that relative_container is set by _setContainment, and then containment changes to e.g. "document", "window", or an array, relative_container would not be unset, causing incorrect containment of the draggable. Add a unittest to check that containment with an array works after previously being set to "parent". Fixes #9733 Closes gh-1176
* Tests: sortable: fix assert message.Andrei Picus2014-01-201-1/+1
| | | | | | Changed 'stop' to 'over'. Closes gh-1174
* Tests: Fix draggable_options expected test count to be dynamicBrian J. Dowling2014-01-161-1/+2
| | | | | | | | The test count was previously incremented to 8 when normally 6 tests are run. After figuring out the dynamic test code, I just made the expect depend on the same array length Also re-enabled the test in the Gruntfile since it now passes.
* Widget: Support events with dashes and colonsRuslan Yakhyaev2014-01-161-2/+17
| | | | | Fixes #9708 Closes gh-1159
* Slider & Interactions: Add Windows 8 touch supportTJ VanToll2014-01-152-0/+35
| | | | | | Fixes #9709 Fixes #9710 Closes gh-1152
* Position: Avoid reading overflow css on documentsThomas Meyer2014-01-151-1/+8
| | | | | Fixes #9533 Closes gh-1072
* Resizable: Only resize/reposition if size is greater than specified gridKris Borchers2014-01-151-0/+23
| | | | | Fixes #9611 Closes gh-1132