aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/controlgroup
Commit message (Collapse)AuthorAgeFilesLines
* Build: Fork vendors to remove QUnit deprecated API usageMichał Gołębiowski-Owczarek2023-05-101-2/+2
| | | | | | | | | | | | 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
* Demos:Tests: Avoid self-closing HTML tagsMichał Gołębiowski-Owczarek2023-05-101-1/+1
| | | | | | | | | Self-closing tags are reported by newer versions of the htmllint Grunt plugin. They also don't make sense in our HTML files since they are not XHTML-compliant and they run in HTML mode anyway. Ref gh-2157
* Build: Migrate from JSHint & JSCS to ESLintMichał Gołębiowski-Owczarek2021-06-073-0/+3
| | | | | Fixes #15393 Closes gh-1958
* Tests: Ensure no timers are running at the end of each test (#1920)Michał Gołębiowski-Owczarek2020-05-163-8/+11
| | | | | | | | | | | | | 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
* Controlgroup: Correctly handle non-empty child class keyGabriel Schulhof2016-07-062-0/+53
| | | | | Fixes #14984 Closes gh-1713
* Controlgroup: Add "only" position to class generator functionsAlexander Schmitz2016-06-092-0/+70
| | | | | Fixes #14972 Closes gh-1711
* Controlgroup: Fix rendering of labelsAlexander Schmitz2016-05-263-6/+15
| | | | | Fixes #14967 Closes gh-1703
* Controlgroup: Fix issues with compatibility with spinnerAlexander Schmitz2016-05-264-15/+24
| | | | Fixes #14966
* Controlgroup: Don't remove existing classes classesAlexander Schmitz2016-05-263-0/+69
| | | | | | unless its a corner class Fixes #14960
* Controlgroup: Shift to use no globalsAmanpreet Singh2016-04-143-43/+46
|
* Controlgroup: Add compound test suite for all jQuery versionsScott González2015-10-281-0/+26
|
* Controlgroup: Test cleanupScott González2015-10-273-3/+4
|
* Controlgroup: Fix create and destroy for controlgroupLabelJörn Zaefferer2015-10-262-4/+13
| | | | | | Creating the label broke while doing a refactoring, the lack of tests allowed that to go unnoticed. Shouldn't happen again with the extra tests, covering both controlgroupLabel and spinner.
* Controlgroup: Fix refresh method tests by adding text content to buttonJörn Zaefferer2015-10-081-2/+2
| | | | | In IE8, the empty elements cause issues. Adding text content makes sense, since empty elements are useless.
* Controlgroup: Fix css reference in unit testsJörn Zaefferer2015-10-081-1/+1
|
* Controlgroup: Rename excludeInvisible to onlyVisibleJörn Zaefferer2015-10-083-9/+9
| | | | Gets rid of the double negative.
* Controlgroup: Style updatesAlexander Schmitz2015-10-084-28/+28
|
* Controlgroup: fixup for spinner and labelAlexander Schmitz2015-10-081-1/+3
|
* Controlgroup: Add missing entry to demos bootstrapAlexander Schmitz2015-10-085-93/+16
|
* Controlgroup: Inital commit of new widgetAlexander Schmitz2015-10-076-0/+469
| | | | This widget replaces the buttonset widget
* Checkboxradio: Initial commit of new widgetAlexander Schmitz2015-10-071-0/+0