Michał Gołębiowski-Owczarek
ac8b1e4eee
Core: Make back compat disabled by default
...
Closes gh-2250
2024-05-13 18:11:57 +02:00
Michał Gołębiowski-Owczarek
8e34aa6155
Docs: Update leftover HTTP Trac URLs to HTTPS
2024-04-26 17:28:11 +02:00
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
8470b6a965
Droppable: Shift to use no globals
2016-04-14 00:06:12 +05:30
Alexander Schmitz
0cab9f0a2f
Droppable: Style updates
...
Ref #14246
2015-09-11 08:29:08 -04:00
Alexander Schmitz
f43311da93
Droppable: Style updates
...
Ref #14246
Ref gh-1588
2015-08-21 08:06:23 -04:00
Alexander Schmitz
8b3005fd58
Droppable: Move droppable into widgets folder
...
Ref #13885
2015-08-08 00:29:38 -04:00
Alexander Schmitz
35ef105430
Droppable: Remove core event/alias and deprecated module dependencies
2015-05-20 14:27:56 -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
dc4b015a8b
Tests: Widget test helpers extend the main helper
...
Ref #10119
Ref gh-1528
2015-04-09 09:26:58 -04:00
Scott González
669e62d61b
Droppable: Convert tests to new infrastructure
...
Ref #10119
Ref gh-1528
2015-04-09 09:26:28 -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
15a9ed7708
Droppable: Use new has/lacksClasses assertions for all class checks
2015-03-11 16:05:39 -04:00
Alexander Schmitz
f58277a521
Droppable: Add classes option
...
Ref #7053
Ref gh-1411
2015-03-11 16:04:34 -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
Mike Sherov
4dad6bb99d
Droppable: Account for draggable margins when detecting hover
...
Fixes #6876
2014-08-13 19:36:07 -04:00
Will Holley
87081b855c
Droppable: only consider pointer location with tolerance "pointer"
...
Fixes #4977
Closes gh-991
2014-08-10 21:00:33 -04:00
Mike Sherov
d434fdbcc2
Droppable Tests: fix whitespace in droppable_options
2014-08-10 20:46:27 -04:00
Mike Sherov
454b58ee66
Droppable tests: swap $.ui.intersect test with tolerance test
...
$.ui.intersect is not a documented API, yet droppable tolerance is,
and are essentially the same.
2014-08-10 20:41:23 -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
Andrei Picus
ffab89e9be
Droppable: update ddmanager when scope changes through setOption. Fixed #9287 - droppable: Scope option cannot be changed after initialization.
2013-10-29 13:58:15 -04: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
David Hansen
433ef9d433
Interactions: Fixed an off-by-one error in isOverAxis.
2013-05-20 21:30:16 -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
Scott González
d0ad572349
Droppable tests: Cleanup.
2013-02-26 10:13:42 -05:00
Zaven Muradyan
1c80735acb
Droppable: Changed drop event to loop over a copied array instead of the droppables directly. Fixed #9116 - Droppable: Drop event can cause droppables to remain active if any droppable is created/destroyed in the event handler.
2013-02-26 09:56:18 -05: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
f667d090a7
Interactions: Update widget defaults to match documented API.
2013-01-02 18:27:22 -05:00
Mike Sherov
0d4022bceb
Tests: Convert single quotes to double quotes.
2012-12-26 08:08:48 -05:00
Scott González
fb6119e182
Upgrade jQuery to 1.8.3.
2012-11-14 15:22:01 -05:00
Mike Sherov
3df9ea29e6
Dev: remove globals from tests and moved test helpers to correct location - Fixed #8770 Dev: Remove globals and Standardize Test Suite
2012-11-03 16:17:16 -04:00
Mike Sherov
8746042ae1
Dev: Standardized the droppable test suite. Fixed #8753 - Dev: Get droppable test suite to pass
2012-10-30 22:24:41 -04:00
Scott González
d68ef5e4e1
Tests: Removed old code that kept bad test suites out of TestSwarm.
2012-10-26 13:47:34 -04:00
Mike Sherov
e1230997aa
Build: Enable "unused" option in jshint - Remove unused variables from codebase. - Closes gh-788
...
Squashed commit of the following:
commit 7f19f92c64
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Tue Oct 23 10:34:28 2012 -0400
put back in fake args for signatures that we want to keep
commit 257505a9e6
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Tue Oct 23 08:10:20 2012 -0400
changes per @scott_gonzalez
commit 12725480cb
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Mon Oct 22 22:54:05 2012 -0400
clean up unused vars in ui directory
commit 563595e7ae
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Mon Oct 22 22:37:42 2012 -0400
clean up unused vars in grunt and tests
2012-10-23 09:37:46 -05:00
Scott González
a638acb583
Upgrade jQuery to 1.8.2.
2012-09-20 21:41:47 -04:00
Scott González
1e6b2b2298
Upgrade jQuery to 1.8.0.
2012-08-13 09:19:09 -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