Commit Graph

93 Commits

Author SHA1 Message Date
Timmy Willison
91df20be6b
Tests: replace grunt-contrib-qunit with jQuery test runner
- add filestash workflow

Close gh-2221
2024-03-29 09:13:46 -04:00
Michał Gołębiowski-Owczarek
1be4538817
Build: Add jQuery 3.7.0 2023-05-12 00:48:38 +02:00
Michał Gołębiowski-Owczarek
beeb410ccb
Build: Add jQuery 3.6.4, update Migrate to 3.4.1
Closes gh-2161
2023-05-10 10:54:31 +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
f68d655aff Build: Update dependencies, including QUnit 1 -> 2
Also, fix htmllint lang exclusion patterns.

Ref gh-2157
2023-05-10 10:53:57 +02:00
Michał Gołębiowski-Owczarek
3286792ec5
Build: Add jQuery 3.6.1-3.6.3, update Migrate to 3.4.0 2023-01-15 21:41:18 +01:00
Michał Gołębiowski-Owczarek
f381ec0513 Docs: Update jQuery used for demos to 3.6.0
jQuery 1.12.4 misses some Core APIs that jQuery UI depends on and that are not
polyfilled in demos.
2021-09-25 12:24:55 +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
e6592a8aff
Build: Add jQuery 3.6.0, update Migrate from 3.3.1 to 3.3.2
Closes gh-1948
2021-03-09 00:09:51 +01:00
Michał Gołębiowski-Owczarek
d2f577f13b
Tests: Update jQuery Migrate from 3.3.0 to 3.3.1
That upgrade makes UI pass the whole test suite without a single jQuery Migrate
warning. 🎉

Closes gh-1932
2020-07-27 21:03:48 +02:00
Michał Gołębiowski-Owczarek
b61b16b5a8
All: Drop support for jQuery 1.7
Closes gh-1923
2020-07-22 16:04:47 +02:00
Michał Gołębiowski-Owczarek
d37ebc624d
Build: Add jQuery 3.5.0 & 3.5.1
Closes gh-1915
2020-05-16 08:27:27 +02:00
Michał Gołębiowski-Owczarek
512cbbf4d9
Build: Update jQuery Simulate, jQuery Migrate & jQuery Color
The jQuery Simulate & jQuery Color updates are needed for compatibility
with jQuery master, a future jQuery 4.

Closes gh-1914
2020-05-16 08:26:48 +02:00
Michał Gołębiowski-Owczarek
98b539171b All: Migrate away from deprecated/removed Core APIs
Summary of the changes:

* Build: Add jQuery 3.2.0-3.4.1 to versions UI can be tested against
* Build: Load jQuery & Migrate via HTTPS
* Build: Add package-lock.json to .gitignore
* Build: Update jQuery Migrate from 3.0.0 to 3.1.0
* Build: Allow to run tests against jQuery 3.x-git
* Build: Fix formatting according to JSCS rules
* Build: Disable JSCS for the inlined jQuery Color
* All: Switch from $.isArray to Array.isArray (jQuery.isArray will be
  removed in jQuery 4.0)
* All: Switch from `$.isFunction( x )` to `typeof x === "function"`
  (jQuery.isFunction will be removed in jQuery 4.0)
* All: Inline jQuery.isWindow as it'll be removed in jQuery 4.0
* Effects: Fix a timing issue in a variable declaration. Previously,
  a jQuery object was created, chained & assigned to a variable that
  was then accessed in a callback used inside of this chained
  definition. Due to a timing difference in when the callback fired for
  the first time in latest jQuery master, it was being called before
  the variable was defined.
* Tests: Make dialog & draggable unit tests less strict (newest jQuery
  returns fractional results in some cases, making comparisons fail when
  there's a tiny difference)
* All: Migrate from $.trim to bare String.prototype.trim (jQuery.trim
  will be deprecated in jQuery 3.5)

Closes gh-1901
2019-12-08 22:23:08 +01:00
Eirik Sletteberg
4fa0267edc Qunit: Add bootstrap config for running tests with jQuery Migrate
Closes gh-1774
2017-02-06 08:23:18 -05:00
Michał Gołębiowski
4673c8808b Build: Add jQuery 3.1.1
Closes gh-1766
2016-11-02 12:52:22 -04:00
Scott González
ea44d84975 Build: Add jQuery 3.1.0 2016-07-08 13:02:10 -04:00
Alexander Schmitz
71b93ed247 Build: Add jQuery 3.0 for testing 2016-07-06 09:45:29 -04:00
Michał Gołębiowski
468f1e3abe Build: Add jQuery 1.12/2.2 to the test configuration
Ref gh-1706
2016-05-25 16:42:06 -04:00
Alexander Schmitz
6fd9fc92a3 Tests: Add custom build of core to tests
This adds a custom build which excludes the event/alias and deprecated modules

Fixes #12770
Closes gh-1556
2015-05-20 14:28:55 -04:00
Scott González
ae25cdb688 Build: Upgrade to jQuery 1.11.3 2015-05-14 08:25:16 -04:00
Alexander Schmitz
6a03b0f2ba Build: Update to qunit-assert-classes to V 1.0.2
Closes gh-1547
2015-05-01 07:11:35 -04:00
Scott González
f499569bff Build: Upgrade to qunit-composite 1.1.0
Ref #10119
Closes gh-1528
2015-04-09 09:28:25 -04:00
Scott González
4bf80d209a Tests: Use the qunit-assert-close module
Moved QUnit assertion dependencies from `lib/bootstrap` to `lib/qunit`.

Corrected bad draggable assertions.

Ref gh-1528
2015-04-09 09:28:25 -04:00
Scott González
7c896ddb85 Tests: Change test infrastructure to use AMD and reduce boilerplate
Ref #10119
Ref gh-1528

* Adds RequireJS and relies on AMD for loading dependencies.
* Updates to grunt-contrib-qunit 0.6.0.
* Convert `domEqual()` to a proper QUnit assertion.
* Introduces two bootstrap files (JS and CSS) which use `data-` attributes to
reduce the amount of boilerplate needed in each test
2015-04-09 09:21:06 -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
98d9bb9b3e Build: Upgrade to QUnit 1.18.0 2015-04-03 12:49:43 +02:00
Alexander Schmitz
4959c81d80 Build: Add qunit-assert-classes plug-in for classes tests 2015-03-11 14:55:44 -04:00
Scott González
8fdfea5fe9 Build: Upgrade to jQuery 1.11.2
Adds jQuery 1.11.0, 1.11.1, 1.11.2, 2.1.0, 2.1.1, 2.1.2, 2.1.3
2015-02-23 14:01:03 -05:00
Jörn Zaefferer
0aa4e989ef Build: Update QUnit to latest (1.17.1) 2015-01-26 16:49:03 +01:00
Jörn Zaefferer
9d0f44fd7b All: Drop support for jQuery 1.6.x
Affects core, effects, position and widget. Only position has unit tests
that fail with jQuery 1.6 without the workaround.

Drops the 1.6.x copies jQuery of jQuery and removes them from the select
in the testsuites.

Fixes #10723
Closes gh-1422
2015-01-13 15:05:54 +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
1071346aea Build: Upgrade to jquery-mousewheel 3.1.12 2014-07-22 12:13:59 -04:00
Scott González
19dfa2dc1b Test: Get all jQuery versions from Bower
Ref gh-1266
2014-06-24 22:45:44 -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
919d9185f2 External: Update mousewheel plugin, copy only main file 2014-04-14 18:08:18 +02:00
Jörn Zaefferer
385821e365 Externals: Update jshint to latest 2014-03-05 16:04:45 +01:00
Jörn Zaefferer
e7c932ee2b Tests: Update to latest QUnit 2014-02-20 17:05:02 +01:00
Scott González
8f3454ff6c Upgrade to JSHint 2.3.0 for browser version. 2013-11-22 10:07:49 -05:00
TJ VanToll
2f49702326 Updating Globalize to v0.0.1. 2013-07-11 09:58:35 -04:00
Scott González
bcae4fb9f1 Upgrade mousewheel to 3.1.0. 2013-02-22 17:28:45 -05:00
Scott González
d36d116d36 Upgrade QUnit to 1.11.0. Fixes #8969 - Global test failure in Opera 12.12. 2013-01-31 10:19:48 -05:00
Jörn Zaefferer
a335740537 Libs/externals: Fix line endings. 2013-01-08 17:28:45 +01:00
Scott González
68cab60fa7 Removed bgiframe. 2012-10-26 10:53:17 -04:00
Scott González
7678b90ae8 Widget: Removed use of metadata. Fixes #7192 - Widget: Remove use of metadata. 2012-10-25 06:52:29 -04:00
Scott González
0429532ad1 Tabs: Removed cookie option. Fixes #7162 - Tabs: Remove cookie option. 2012-10-25 05:36:24 -04:00
Mike Sherov
dcb6715392 Fixes #8714, Build: Updated internal JSHint to latest 2012-10-23 22:10:20 -04:00
Jörn Zaefferer
0164db1e0d Update QUnit to 1.10.0 2012-08-30 15:10:52 +02:00
Jörn Zaefferer
1510f7e28a Update externals to latest mousewheel plugin, drop the version from the fielname while at it 2012-07-12 17:34:55 +02:00
Jörn Zaefferer
0a4c334430 Update to QUnit 1.9.0 and use new urlConfig for custom checkboxes 2012-07-11 14:44:23 +02:00