aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/button
Commit message (Collapse)AuthorAgeFilesLines
* Build: Migrate from JSHint & JSCS to ESLintMichał Gołębiowski-Owczarek2021-06-075-0/+5
| | | | | Fixes #15393 Closes gh-1958
* Tests: Ensure no timers are running at the end of each test (#1920)Michał Gołębiowski-Owczarek2020-05-165-12/+17
| | | | | | | | | | | | | This helps fix issues that make tooltip tests sometimes fail when run against jQuery 3.2 or newer due to timing differences. Details: * Add the `moduleAfterEach` function ensuring no timers are running. * Attach this function via `common.testWidget`. * Attach this function to most test suites. * Add a tooltip test helper cleaning up leftover timers. * Rename legacy `setup`/`teardown` hooks to `beforeEach`/`afterEach`. Closes gh-1920
* All: Resolve most jQuery Migrate warningsMichał Gołębiowski-Owczarek2020-05-161-1/+1
| | | Closes gh-1919
* Button: Fix backcompat when called on collection of mixed elementsAlexander Schmitz2017-05-022-0/+26
| | | | | Fixes #15109 Closes gh-1808
* Button: Shift to no globalsAmanpreet Singh2016-04-145-139/+146
|
* Button: Add tests for button with html markupJörn Zaefferer2015-10-293-0/+11
| | | | | Ref gh-1632 Ref jquery/api.jqueryui.com#281
* Button: Can't test for " " in IE8, just make sure the element existsJörn Zaefferer2015-10-081-2/+2
|
* Tests: Prevent default on anchor click to avoid navigationJörn Zaefferer2015-10-081-1/+2
|
* Spinner: Updates for new button widget and classes optionAlexander Schmitz2015-10-083-2/+3
|
* Button: Initial commit of button re-factorAlexander Schmitz2015-10-079-429/+436
| | | | | | Move to using element stats rather then js class states remove ui-button-text spans. Removed button set
* Button: Style updatesAlexander Schmitz2015-08-215-174/+175
| | | | | Ref #14246 Ref gh-1588
* Button: Move button into widgets folderAlexander Schmitz2015-08-085-5/+5
| | | | Ref #13885
* Button: Remove core event/alias and deprecated module dependenciesAlexander Schmitz2015-05-203-10/+10
|
* Tests: Fix AMD loading in IE8Scott González2015-04-171-0/+1
| | | | | It appears that we must load require.js via a standard script tag in order for it to work properly in IE8.
* Tests: Rename filesScott González2015-04-095-0/+0
| | | | Ref gh-1528
* Button: Convert tests to new infrastructureScott González2015-04-096-48/+32
| | | | | Ref #10119 Ref gh-1528
* Tests: Switch to the new qunit-composite moduleScott González2015-04-071-2/+2
| | | | | | This module was created from our existing implementation. Closes gh-1532
* Button: Use new has/lacksClasses assertions for all class checksAlexander Schmitz2015-03-114-61/+66
|
* Widget: Add classes option and _add/_remove/_toggleClass methodsAlexander Schmitz2015-03-111-0/+1
| | | | | Fixes #7053 Closes gh-1411
* Tests: Fix style issues with missing or multiple line breaksJörn Zaefferer2015-01-242-2/+0
| | | | | As pointed out by jscs, after a esformatter run. The latter doesn't address these, so fixing them manually.
* Build: Pull in jquery.simulate.js from BowerMike Sherov2014-08-221-1/+1
| | | | Fixes #10563
* Tests: Fix composite testsScott González2014-08-011-1/+1
|
* Build: Reorganize external directoryScott González2014-06-242-4/+4
| | | | | | | Put each external library into its own directory. Move jquery.js to external. Ref gh-1266
* 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
* Button: Properly refresh button sets with new radio buttonsScott González2014-04-012-0/+27
| | | | | Fixes #8975 Ref gh-888
* All: Rename jquery.js to exclude version in filenameJörn Zaefferer2014-03-051-1/+1
|
* Tests: Update to sane QUnit markupJörn Zaefferer2014-02-202-10/+2
|
* 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-241-4/+4
| | | | | | | - By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271; Fixes #9464 Closes gh-1029
* Button unit tests: Make sure the test timeout runs after the ↵Jörn Zaefferer2013-11-251-1/+1
| | | | formResetHandler. Fixes unit tests in IE7.
* Updating jQuery to 1.10.2.Bruno M. Custódio2013-07-051-1/+1
| | | | | Adding jQuery 1.10.0, 1.10.1, 1.10.2, 2.0.0, 2.0.1, 2.0.2 and 2.0.3 to the tests directory.
* Test Suite: Remove Flaky Datepicker test, and correct more old jQuery test ↵Mike Sherov2013-04-141-1/+1
| | | | cases for old Opera and old Safari.
* Button: Remove ui-state-focus class when becoming disabled. Fixes #9169 - ↵Scott González2013-04-112-0/+15
| | | | Button: Disabled button maintains ui-state-focus in IE & Firefox on Windows.
* Button: On form reset only call refresh on current button widgets. Fixed ↵TJ VanToll2013-04-091-0/+24
| | | | #9213: Button: timeout in formResetHandler causing refresh to be called on non-widgets
* Whitespace.Scott González2013-03-261-1/+1
|
* Widget: Stop setting ui-state-disabled and aria by default on setting ↵Scott González2013-03-141-11/+18
| | | | | | | | | | disabled option. Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #6039 - Droppable: disabled should not have ui-state-disabled This reverts commit 23771d38ba9d2663f6db0243c8e992dc7ff6844a.
* Revert "Widget: Stop setting ui-state-disabled and aria by default on ↵Scott González2013-03-141-18/+11
| | | | | | setting disabled option." This needs to wait for a major release. This reverts commit 4d67f4f34908a50ef88f95df4103ee001b777e45.
* Widget: Stop setting ui-state-disabled and aria by default on setting ↵Mike Sherov2013-03-111-11/+18
| | | | | | | | disabled option. Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #6039 - Droppable : disabled should not have ui-state-disabled
* Updating 'jQuery' to 1.9.1.Bruno M. Custódio2013-02-051-1/+1
|
* Updating to jQuery 1.9.0Kris Borchers2013-01-171-1/+1
|
* Dev: stop loading *_tickets.js in the test suite.Mike Sherov2012-12-221-1/+0
|
* All: Use .addBack() instead of .andSelf().Scott González2012-12-141-1/+1
|
* Button tests: Handle async focus in IE.Scott González2012-12-102-7/+20
|
* Dev: Remove *_tickets.js test files and move the associated tests to the ↵Mike Sherov2012-12-073-75/+67
| | | | proper locations.
* Button tests: Work around a quirk in Opera.Scott González2012-11-291-2/+11
|
* Button tests: simulated clicks aren't perfect in oldIE and OperaMike Sherov2012-11-281-10/+15
|
* Button Tests: move aria-pressed test to correct moduleMike Sherov2012-11-262-11/+11
|
* Button: Let change handler handle display and aria update. Fixed #5518 - ↵Fabrício Matté2012-11-262-0/+12
| | | | Button: Incorrect state after double click in Firefox
* Button tests: fix IE7 fail for latest focus testsMike Sherov2012-11-211-1/+1
|