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
Amanpreet Singh
b7b53d2163
Progressbar: Shift to use no globals
2016-04-14 00:08:29 +05:30
Alexander Schmitz
12be35562a
Progressbar: Style updates
...
Ref #14246
2015-09-11 08:29:08 -04:00
Alexander Schmitz
92e267903e
Progressbar: Move progressbar into widgets folder
...
Ref #13885
2015-08-08 00:29:38 -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
df3e8c4deb
Progressbar: 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
899d90709a
Tests: Handle jQuery git returning null
for empty attributes
...
jQuery now returns `null` for empty attributes instead of `undefined`.
Closes gh-1516
2015-03-25 15:55:53 -04:00
Alexander Schmitz
3b85fd240e
Progressbar: Use new has/lacksClasses assertions for all class checks
2015-03-11 16:05:40 -04:00
Alexander Schmitz
ea35ded6ed
Progressbar: Add classes option
...
Ref #7053
Ref gh-1411
2015-03-11 16:04:48 -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
9a28197f89
Tests: Fix missing wrappers in progressbar tests
2015-03-06 16:27:46 +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
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
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
Scott González
f5aaf874e9
Progressbar: Moved .ui-progressbar-indeterminate to main element. Added tests for markup structure.
2012-12-12 11:21:49 -05:00
Scott González
f7614706ab
Progressbar: Cleanup, byte shaving.
2012-12-06 10:10:07 -05:00
Scott González
9d0df53624
Progress tests: Cleanup.
2012-12-06 09:50:33 -05:00
Scott González
f1be88e795
Progressbar: Only remove aria-valuenow for indeterminate progressbars. Added more accessibility tests.
2012-12-06 09:35:41 -05:00
Scott González
8c763cdf98
Progressbar: Define defaults for callbacks.
2012-12-06 09:21:25 -05:00
kborchers
d3bc471688
Progressbar: Add ability to set value: false for an indeterminate progressbar. Fixes #7624 - Progressbar: Support value: false for indeterminate progressbar
2012-11-21 21:48:17 -06:00
Scott González
fb6119e182
Upgrade jQuery to 1.8.3.
2012-11-14 15:22:01 -05:00
Kris Borchers
8976bc7e3d
Progressbar: Refactor to better handle option changes and sanitize values. Fixes #8785 - Progressbar: Remove _value() and always sanitize value option
2012-11-08 12:02:25 -06:00
Scott González
a638acb583
Upgrade jQuery to 1.8.2.
2012-09-20 21:41:47 -04:00
Scott González
dc7c26b8d1
Progressbar tests: Added test for widget() method.
2012-08-26 20:18:21 -04:00
Scott González
1e6b2b2298
Upgrade jQuery to 1.8.0.
2012-08-13 09:19:09 -04:00
Scott González
5ae668fdb6
Tests: Enable QUnit.config.requireExpects.
2012-06-27 11:32:48 -04:00
Scott González
a738d7372e
Progressbar tests: Cleanup.
2012-05-25 23:10:46 -04:00
Scott González
b042f8ebd6
Tests: Moved loadResources to TestHelpers.
2012-04-23 10:43:01 -04:00
Scott González
7a5a77da50
Tests: Rename {widget}_defaults.js -> {widget}_common.js
2012-04-23 10:15:17 -04:00
Jörn Zaefferer
ce3c7fab93
Update to official qunit composite addon
2012-04-21 17:49:11 +02:00
Scott González
e9d5079b04
Tests: Move commonWidgetTests() to TestHelpers.
2012-04-19 13:03:21 -04:00
Scott González
a0fb2c227e
Tests: Lint.
2012-04-18 22:46:39 -04:00
Scott González
89ff5c5232
Upgrade jQuery to 1.7.2.
2012-03-22 09:45:22 -04:00
Jörn Zaefferer
72023dd045
Update to QUnit 1.3. Replace usage of same with deepEqual and equals with equal.
2012-02-29 18:36:40 +01:00
Scott González
54fb1441fe
Upgrade jQuery to 1.7.1.
2011-11-22 08:43:09 -05:00
Scott González
50dab05784
Upgrade jQuery to 1.7.
2011-11-09 10:18:33 -05:00
Scott González
dcac8c1f29
Tests: Added ability to run tests against minified files via ?min=1
2011-10-28 15:58:33 -04:00