Michał Gołębiowski-Owczarek
32850869d3
Datepicker: Make sure altField is treated as a CSS selector
...
Closes gh-1954
2021-05-04 13:30:06 +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
jigar gala
817ce38555
Datepicker: Fixed current instance memory leak and added unit testcases
2020-03-23 21:49:23 +01:00
Michał Gołębiowski-Owczarek
0c860b0d92
All: Remove usage of jQuery positional selectors
...
jQuery positional selectors () have been deprecated in
[jQuery 3.4.0](https://blog.jquery.com/2019/04/10/jquery-3-4-0-released/ )
and they'll be removed in jQuery 4.0.0. This PR removes their usage.
Most of the changes were possible without changing public API. However,
dropping `:even` usage required a change to the
[`header` option](https://api.jqueryui.com/accordion/#option-header )
of the accordion widget. I made it an optional function; this will need
to be documented.
The polyfill for `.even()` & `.odd()` is added for jQuery <3.5.0. There was
no usage of the :odd selector in the code but the `.odd()` method is also
polyfilled for completeness.
Closes gh-1904
2020-01-22 16:44:34 +01:00
Amanpreet Singh
e8e8867707
Datepicker: Shift to use no globals
2016-04-14 00:06:12 +05:30
Scott González
8fc3ba22ba
Datepicker: Fix flaky test
2016-02-09 11:28:31 -05:00
Jörn Zaefferer
7f3bb4dc4f
Tests: Fix jshint includes for datepicker and effects
2015-10-01 12:13:35 +02:00
Jörn Zaefferer
afbcdbe47e
Datepicker: Fix tests on TestSwarm by requiring $.ui.ie in the test
...
The check that checks for IE wouldn't match since $.ui.ie was extracted
to its own file.
2015-09-17 14:21:23 +02:00
Alexander Schmitz
a380d2d09e
Datepicker: Style updates
...
Ref #14246
2015-09-11 08:36:40 -04:00
Alexander Schmitz
a6499c0dee
Datepicker: Style updates
...
Ref #14246
Ref gh-1588
2015-08-21 08:06:23 -04:00
Alexander Schmitz
f1ce6e5de5
Datepicker: Move datepicker into widgets folder
...
Ref #13885
2015-08-08 00:29:37 -04:00
Alexander Schmitz
183422bd9f
Datepicker: 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
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
7d168ce630
Datepicker: Convert tests to new infrastructure
...
Ref #10119
Ref gh-1528
2015-04-09 09:26:27 -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
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
Luke Page
0566e99457
DatePicker: increase date range so that tests still pass through 2015
2015-01-10 21:11:14 +00:00
Luke Page
c21700742b
DatePicker: Fix tests to have unique names
2015-01-10 21:09:18 +00:00
Scott González
d85016abf0
Datepicker: Fix test for French locale
...
Ref #10651
2014-10-07 11:21:04 -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
Rodrigo Menezes
5730374238
Datepicker: reject dates with two year digits when expecting 'yy'
...
Fixes #8353
Closes gh-1248
2014-07-14 09:34:33 -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
Scott González
5494bc9b2e
Datepicker test: Ignore flaky test in IE in TestSwarm.
2013-12-03 11:52:11 -05:00
Scott González
72f29a111a
Datepicker test: Attempt to work around an intermittent issue in IE when run through TestSwarm.
2013-12-03 11:38:17 -05:00
Scott González
acd2e1391f
Datepicker test: Attempt to work around an issue in IE9 in TestSwarm.
2013-12-03 11:27:41 -05:00
Jörn Zaefferer
6d7a61478f
Datepicker tests: Allow IE7 to return an absolute URL in the .attr('src') call
2013-11-25 16:25:39 +01:00
Pere Orga
441b7fc8c1
Demos/tests: Losslessly recompress PNG/GIF images.
2013-08-26 10:18: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
Steven Luscher
fcd1cafac8
Draggable: active element blurs when clicking on a draggable. Fixes #4261 - Draggable: Inputs do not blur when clicking on a draggable
2013-06-19 18:07:38 -04:00
Jörn Zaefferer
aaf75767fa
Datepicker: Replicate fr-locale changes to the demo copy. Adjust unit tests to match the new lowercase names. Fixes #9289 - Datepicker: Incorrect capitalisation for French and Spanish
2013-05-31 10:35:44 +02:00
Mike Sherov
71a332e8b8
Datepicker Tests: Fix hanging IE tests resulting from asynchronous blur
2013-04-14 18:47:29 -04:00
Mike Sherov
b75e4f7d27
Datepicker Tests: fix failing oldIE tests by creating new inputs to focus when necessary for focus tests.
2013-04-14 17:07:24 -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
Mike Sherov
530d1b7c8c
Datepicker Tests: ensure Focus tests work all the way back to jQuery 1.6 in all browsers without having to rely on timeouts.
2013-04-11 20:48:05 -04:00
Mike Sherov
ab84e037ed
Datepicker Tests: use simulated events for focus and blur.
2013-04-07 15:15:04 -04:00
Mike Sherov
2f7a4c669d
Datepicker Tests: fix IE7 test failures by ensuring the datepicker is hidden before showing it.
2013-04-07 14:40:26 -04:00
Mike Sherov
1c1b64fcf0
Datepicker Tests: Fix IE tests by accounting for async nature of focus/blur and by correctly not double focusing a programmatically focused date picker.
...
A partial fix was implemented to resolve #6694 , and this commit completes the fix so we can programmatically focus a date picker without focus being fired twice.
2013-04-07 14:16:31 -04:00
Bruno M. Custódio
b440979ba6
Updating 'jQuery' to 1.9.1.
2013-02-05 13:47:59 +00:00
Scott González
df179542cc
Datepicker: Escape single quotes in tooltips. Fixes #9049 - Datepicker beforeShowDay tooltip not displayed properly if single quote is used.
2013-02-01 16:52:04 -05:00
David Petersen
8f7c3e309c
Datepicker: Handle when yearRange is a year or a modifier. Fixed #8994 - Datepicker: next and prev buttons are disabled when using yearRange
2013-01-23 13:41:01 -06:00
Kris Borchers
34409e7ddd
Updating to jQuery 1.9.0
2013-01-17 00:28:41 -06:00
Mike Sherov
cf7dc089e0
Tests: Correct all 404 errors in the test suite
2013-01-02 18:03:03 -05:00
Mike Sherov
ff47763924
Datepicker Tests: Prepare for widget-ization tests.
2013-01-02 17:37:26 -05:00
Mike Sherov
0d4022bceb
Tests: Convert single quotes to double quotes.
2012-12-26 08:08:48 -05:00