Commit Graph

100 Commits

Author SHA1 Message Date
Michał Gołębiowski-Owczarek
effa323f15
Position: Make sure of is treated as a CSS selector
Closes gh-1955
2021-05-04 13:31:39 +02:00
Michał Gołębiowski-Owczarek
b8ec78a37a
Tests: Skip a scrollbar test in jQuery 3.2
jQuery 3.2 incorrectly handle scrollbars in WebKit/Blink-based browsers.
This is fixed in version 3.3, see https://github.com/jquery/jquery/issues/3589.
As the data here comes from jQuery directly and the changes to fix it
are non-trivial: https://github.com/jquery/jquery/pull/3656, just accept
that scrollbar data in this jQuery version is inaccurate.

Closes gh-1927
Ref jquery/jquery#3589
Ref jquery/jquery#3656
2020-07-23 15:51:15 +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
059b5b17a1 Position: Shift to use no globals 2016-04-14 00:08:29 +05:30
Alexander Schmitz
4b39e131b5 Position: Style updates
Ref #14246
2015-09-11 08:36:41 -04:00
Scott González
0fc9bd208a Position: Remove IE6 workarounds in tests
Closes gh-1543
2015-04-20 14:32:31 -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
739f9b3f63 Position: 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
Thomas Meyer
4de983c6d5 Position: Add unit tests for bug 8710
Ref #8710
Closes gh-1071
2015-01-09 15:10:06 -05: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
Thomas Meyer
1bbbcc723c Position: Avoid reading overflow css on documents
Fixes #9533
Closes gh-1072
2014-01-15 05:17:50 -05: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
e12879a441 Position Tests: Fix FF and IE10 test failures by accounting for subpixel offsets. 2013-03-31 12:28:40 -04:00
David Petersen
c958b211db Position: Handle decimal percentage offsets. Fixes #9076: percentage offset does not support decimal 2013-02-12 07:05:19 -06: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
fb6119e182 Upgrade jQuery to 1.8.3. 2012-11-14 15:22:01 -05:00
Scott González
8bdf0359bb Skip collision: fit test in IE until TestSwarm stops using iframes. 2012-11-05 11:31:33 -05:00
Scott González
2582bfab46 Position: Removed offset option. Fixes #6982 - Position: Remove offset option. 2012-10-25 06:39:14 -04: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
5ae668fdb6 Tests: Enable QUnit.config.requireExpects. 2012-06-27 11:32:48 -04:00
Scott González
8e541f1bf6 Tests: Remove the need to include the 'ui.' prefix in testJshint() now that effects use 'ui.'. 2012-06-15 13:42:00 -04:00
Jörn Zaefferer
a0c734b9e1 Position: Apply IE6 line-height workaround to deprecated tests, too 2012-05-07 12:19:19 +02:00
Scott González
cba2b6c74f Position tests: Work around IE6 bug with forced heights on small elements. 2012-05-04 20:54:27 -04:00
Scott González
27072de094 Tests: Run JSHint. 2012-04-29 20:22:52 -04:00
Jörn Zaefferer
9938e99964 Position: Fix markup for deprecated tests. Insert/remove some new lines to make comparision to position.html trivial 2012-04-26 20:16:06 +02:00
Jörn Zaefferer
db72cb7e94 Merge branch 'position-notification' 2012-04-24 17:29:16 +02:00
Jörn Zaefferer
252352e124 Position: Fix scrollbar calculcation to correctly take overflow:scroll into account, along with unit tests 2012-04-24 17:23:25 +02:00
Jörn Zaefferer
1a0f2e4659 Position: Extend unit test for using to check feedback properties 2012-04-24 16:17:02 +02:00
Scott González
cbc5207c41 Position tests: Fixed typo. 2012-04-24 09:04:58 -04:00
Scott González
9df981d268 Position: Added tests for flipfit. 2012-04-23 16:07:58 -04:00
Scott González
b093b6f6f7 Position tests: Simplify logic and reduce tests. 2012-04-23 15:52:20 -04:00
Scott González
15705723b2 Position tests: Removed unused elements. 2012-04-23 12:23:59 -04:00
Scott González
b042f8ebd6 Tests: Moved loadResources to TestHelpers. 2012-04-23 10:43:01 -04:00
Jörn Zaefferer
ce3c7fab93 Update to official qunit composite addon 2012-04-21 17:49:11 +02:00
Scott González
aa187f57d1 Tests: Lint 2012-04-19 09:39:21 -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
253b792887 Position tests: Changed DOM structure to fix dimensions of within container. 2011-11-02 08:53:42 -04: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