Michał Gołębiowski-Owczarek
546214e869
Build: Fork vendors to remove QUnit deprecated API usage
...
Changes:
* add `tests/lib/vendor/**/*` to `.eslintignore`
* move `qunit-composite` to `tests/lib` so that we can modify it
* move `qunit-assert-classes` to `tests/lib` so that we can modify it
* move `qunit-assert-close` to `tests/lib` so that we can modify it
* replace `assert.push` with `assert.pushResult`
* remove usage of `QUnit.extend`
Closes gh-2157
2023-05-10 10:53:57 +02:00
Michał Gołębiowski-Owczarek
70dae67b73
Build: Migrate from JSHint & JSCS to ESLint
...
Fixes #15393
Closes gh-1958
2021-06-07 00:58:12 +02:00
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
Scott González
51461d5238
Slider: Add demo for custom handle
...
Fixes #15023
Closes gh-1740
2016-09-13 08:41:33 -04:00
Amanpreet Singh
38d473708b
Slider: Shift to use no globals
2016-04-14 00:14:57 +05:30
Mukul Hase
a1905e2c5e
Slider: Fixed max value miscalculation
...
Fixes #12852
Closes gh-1664
2016-03-30 13:28:04 -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
Alexander Schmitz
e583a512d7
Slider: Style updates
...
Ref #14246
2015-09-11 08:29:08 -04:00
Alexander Schmitz
1d572f051a
Slider: Style updates
...
Ref #14246
Ref gh-1588
2015-08-21 08:06:22 -04:00
Alexander Schmitz
149a1a2a82
Slider: Move slider into widgets folder
...
Ref #13885
2015-08-08 00:29:39 -04:00
Alexander Schmitz
dcd3cd516c
Slider: Remove core event/alias and deprecated module dependencies
2015-05-20 14:27:56 -04:00
Ablay Keldibek
897a238332
Slider: Range fills all space after changing orientation
...
Resets width/height of range
Fixes #12205
Closes gh-1533
2015-04-22 12:55:54 -04:00
Ablay Keldibek
adcc8eff43
Slider: Pass 0 value if slider reaches it
...
Fixes #12196
Closes gh-1540
2015-04-20 19:27:26 -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
a856dd9b7e
Slider: Convert tests to new infrastructure
...
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -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
Scott González
c42a07a2e3
All: Standard spacing inside selector strings
...
Closes gh-1521
2015-03-26 07:47:17 -04:00
Ablay Keldibek
dff1c74dd4
Slider: Fix handle order when setting values of range slider to max
...
When both values are set to the maximum change them in descending order
Fixes #9046
Closes gh-1502
2015-03-18 10:49:01 -04:00
Ablay Keldibek
6111b17710
Slider: Pass handle index to events
...
Added a `handleIndex` property to the event data which indicates the index of
the handle being changed.
Fixes #7630
Closes gh-1486
2015-03-12 07:29:50 -04:00
Ablay Keldibek
21831f5036
Slider: Verify value constraint with a max that is a step mismatch
...
Ref #10078
Closes gh-1485
2015-03-12 07:21:36 -04:00
Alexander Schmitz
cba7fd5466
Slider: Use new has/lacksClasses assertions for all class checks
2015-03-11 16:05:40 -04:00
Alexander Schmitz
491bb9c7f4
Slider: Add classes option
...
Ref #7053
Ref gh-1411
2015-03-11 16:05:12 -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
Ablay Keldibek
60c00cd4ec
Slider: Modified to allow value to reach max value with float step
...
Fixes #11286
Closes gh-1465
2015-03-05 13:16:54 -05:00
Jyoti Deka
ae1d6d5f90
Slider: Fix max calculation, when step is float
...
Fixes #10721
Closes gh-1398
2015-01-12 12:20:57 -05:00
Jyoti Deka
6833a31697
Slider: Don't allow a slider's value to exceed its max
...
Fixes #9376
Closes gh-1016
2014-10-08 09:04:41 -04: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
15baf024c3
Slider: Reset positioning when orientation changes
...
Fixes #10105
Closes gh-1268
2014-07-02 17:17:05 -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
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
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
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
Scott González
e776a7fb09
Slider Tests: Remove pointless doc blocks.
2013-06-04 09:35:37 -04:00
Scott González
2ba75e2c93
Slider: Remove range div when changing range option to false. Fixes #9355 - Slider: Changing range option to false does not remove range div.
2013-06-03 15:14:46 -04:00
Jörn Zaefferer
90135b27f8
Widget tests: Use instance method. Also replace a few instances of $.data in widget implementations.
2013-03-19 16:53:35 +01: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
Scott González
6d3a1e1fe8
Slider tests: Use ui-slider not uiSlider for data key.
2013-03-02 15:31:38 -05:00
Scott González
271aa1d94e
Slider tests: Don't use .on().
2013-03-02 15:26:18 -05:00
David Petersen
ab408c9b82
Slider: Coding standards for tests
2013-02-07 09:19:15 -06:00
David Petersen
df077abfc2
Slider: allow range option to be changed. Fixed #5602 - Slider Does Not Exhibit Proper Behavior When Switching Range
2013-02-05 08:31:42 -06:00
Bruno M. Custódio
b440979ba6
Updating 'jQuery' to 1.9.1.
2013-02-05 13:47:59 +00:00
David Petersen
a129a93a4d
Slider: Add disabled tests and remove disabled prop from handles
2013-02-04 14:43:56 -06:00
Kris Borchers
34409e7ddd
Updating to jQuery 1.9.0
2013-01-17 00:28:41 -06:00
Mike Sherov
b477098da5
Slider: add options for event callbacks
2013-01-02 14:58:12 -05:00
Mike Sherov
0d4022bceb
Tests: Convert single quotes to double quotes.
2012-12-26 08:08:48 -05:00