Michał Gołębiowski-Owczarek
e7a10c70ae
Tests: Ensure no timers are running at the end of each test ( #1920 )
...
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
2020-05-16 09:16:24 +02:00
Michał Gołębiowski-Owczarek
f4ef03e57e
All: Resolve most jQuery Migrate warnings
...
Closes gh-1919
2020-05-16 08:36:55 +02:00
Alexander Schmitz
abc9e7ce2f
Button: Fix backcompat when called on collection of mixed elements
...
Fixes #15109
Closes gh-1808
2017-05-02 15:11:24 -04:00
Amanpreet Singh
f375fd1300
Button: Shift to no globals
2016-04-14 00:06:11 +05:30
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
81c4fdfecd
Button: Can't test for " " in IE8, just make sure the element exists
2015-10-08 14:02:59 -04:00
Jörn Zaefferer
e310d9f160
Tests: Prevent default on anchor click to avoid navigation
2015-10-08 14:02:59 -04:00
Alexander Schmitz
16abde399d
Spinner: Updates for new button widget and classes option
2015-10-08 14:02:35 -04:00
Alexander Schmitz
02033262ee
Button: Initial commit of button re-factor
...
Move to using element stats rather then js class states remove
ui-button-text spans.
Removed button set
2015-10-07 10:57:59 -04:00
Alexander Schmitz
1f7164660e
Button: Style updates
...
Ref #14246
Ref gh-1588
2015-08-21 08:06:24 -04:00
Alexander Schmitz
dd6a99f140
Button: Move button into widgets folder
...
Ref #13885
2015-08-08 00:29:37 -04:00
Alexander Schmitz
12df1b7dad
Button: Remove core event/alias and deprecated module dependencies
2015-05-20 14:27:55 -04:00
Scott González
6231b161b9
Tests: Fix AMD loading in IE8
...
It appears that we must load require.js via a standard script tag in order
for it to work properly in IE8.
2015-04-17 12:13:38 -04:00
Scott González
bde431bb44
Tests: Rename files
...
Ref gh-1528
2015-04-09 09:27:00 -04:00
Scott González
f908a7793b
Button: Convert tests to new infrastructure
...
Ref #10119
Ref gh-1528
2015-04-09 09:24:45 -04:00
Scott González
500f6b4992
Tests: Switch to the new qunit-composite module
...
This module was created from our existing implementation.
Closes gh-1532
2015-04-07 09:03:36 -04:00
Alexander Schmitz
415675eca1
Button: Use new has/lacksClasses assertions for all class checks
2015-03-11 16:05:39 -04:00
Alexander Schmitz
c192d4086d
Widget: Add classes option and _add/_remove/_toggleClass methods
...
Fixes #7053
Closes gh-1411
2015-03-11 16:00:04 -04:00
Jörn Zaefferer
2aabd427eb
Tests: Fix style issues with missing or multiple line breaks
...
As pointed out by jscs, after a esformatter run. The latter doesn't
address these, so fixing them manually.
2015-01-24 17:10:20 +01:00
Mike Sherov
aa425ab95d
Build: Pull in jquery.simulate.js from Bower
...
Fixes #10563
2014-08-22 17:01:50 -04:00
Scott González
c017628e11
Tests: Fix composite tests
2014-08-01 12:25:14 -04:00
Scott González
6df127a0b5
Build: Reorganize external directory
...
Put each external library into its own directory.
Move jquery.js to external.
Ref gh-1266
2014-06-24 22:45:32 -04:00
Scott González
5f11f55f61
Button: Whitespace
2014-04-21 09:15:23 -04:00
Daniel DeGroff
23d7d50f37
Button: Remove ui-state-active
when disabling buttons
...
Fixes #9602
Closes gh-1151
2014-04-21 09:14:54 -04:00
Scott González
0059722b6b
Button: Properly refresh button sets with new radio buttons
...
Fixes #8975
Ref gh-888
2014-04-01 14:42:38 -04:00
Jörn Zaefferer
a40647f0e5
All: Rename jquery.js to exclude version in filename
2014-03-05 10:19:11 +01:00
Jörn Zaefferer
822f3cd9d0
Tests: Update to sane QUnit markup
2014-02-20 17:05:02 +01:00
TJ VanToll
ccb13240dd
Button: Ignore non-radio elements with the same name
...
Fixes #8761
Closes gh-1185
2014-01-28 10:58:30 -05:00
Rafael Xavier de Souza
21154cfa2e
All: Rename all files, removing the "jquery.ui." prefix;
...
- By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271 ;
Fixes #9464
Closes gh-1029
2014-01-24 18:22:49 -02:00
Jörn Zaefferer
63026bd2c7
Button unit tests: Make sure the test timeout runs after the formResetHandler. Fixes unit tests in IE7.
2013-11-25 15:53:51 +01:00
Bruno M. Custódio
0d5eaab9bb
Updating jQuery to 1.10.2.
...
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.
2013-07-05 08:42:37 -04:00
Mike Sherov
7c939aadf8
Test Suite: Remove Flaky Datepicker test, and correct more old jQuery test cases for old Opera and old Safari.
2013-04-14 12:58:42 -04:00
Scott González
0d0b05ec7c
Button: Remove ui-state-focus class when becoming disabled. Fixes #9169 - Button: Disabled button maintains ui-state-focus in IE & Firefox on Windows.
2013-04-11 14:03:51 -04:00
TJ VanToll
2de31fdbf4
Button: On form reset only call refresh on current button widgets. Fixed #9213 : Button: timeout in formResetHandler causing refresh to be called on non-widgets
2013-04-09 22:45:46 -04:00
Scott González
a4fabd2bb4
Whitespace.
2013-03-26 14:43:35 -04:00
Scott González
44d07173db
Widget: Stop setting ui-state-disabled and aria by default on setting 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 23771d38ba
.
2013-03-14 19:08:21 -04:00
Scott González
23771d38ba
Revert "Widget: Stop setting ui-state-disabled and aria by default on setting disabled option." This needs to wait for a major release.
...
This reverts commit 4d67f4f349
.
2013-03-14 15:07:06 -04:00
Mike Sherov
4d67f4f349
Widget: Stop setting ui-state-disabled and aria by default on setting 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
2013-03-11 22:08:21 -04:00
Bruno M. Custódio
b440979ba6
Updating 'jQuery' to 1.9.1.
2013-02-05 13:47:59 +00:00
Kris Borchers
34409e7ddd
Updating to jQuery 1.9.0
2013-01-17 00:28:41 -06:00
Mike Sherov
48d7d53f7b
Dev: stop loading *_tickets.js in the test suite.
2012-12-22 12:56:19 -05:00
Scott González
8ec7a1b69f
All: Use .addBack() instead of .andSelf().
2012-12-14 11:13:50 -05:00
Scott González
fbc7956b9f
Button tests: Handle async focus in IE.
2012-12-10 10:35:01 -05:00
Mike Sherov
e83a89dd7d
Dev: Remove *_tickets.js test files and move the associated tests to the proper locations.
2012-12-07 20:06:29 -05:00
Scott González
948f874266
Button tests: Work around a quirk in Opera.
2012-11-29 09:19:05 -05:00
Mike Sherov
37ea734182
Button tests: simulated clicks aren't perfect in oldIE and Opera
2012-11-28 11:22:14 -05:00
Mike Sherov
22bd9fc704
Button Tests: move aria-pressed test to correct module
2012-11-26 20:24:31 -05:00
Fabrício Matté
caacf8f504
Button: Let change handler handle display and aria update. Fixed #5518 - Button: Incorrect state after double click in Firefox
2012-11-26 20:15:53 -05:00
Mike Sherov
70e013830d
Button tests: fix IE7 fail for latest focus tests
2012-11-21 19:29:22 -05:00
TJ VanToll
93abe02b60
Button: Fixing handling of the disabled options on refresh method calls. Fixed #8828 - Button: Refresh does not re-enable disabled button.
2012-11-21 19:24:24 -05:00