Commit Graph

988 Commits

Author SHA1 Message Date
Scott González
1540f4afc8 Whitespace 2012-08-26 20:20:13 -04:00
Scott González
383d0dbfae Spinner tests: Added test for widget() method. 2012-08-26 20:19:35 -04:00
Scott González
dc7c26b8d1 Progressbar tests: Added test for widget() method. 2012-08-26 20:18:21 -04:00
Scott González
2e491e0bb7 Menu tests: Added test for widget() method. 2012-08-26 20:17:36 -04:00
Scott González
355a1a6f0a Menu tests: re-order tests. 2012-08-26 20:16:30 -04:00
Scott González
7f6ef7ffad Autocomplete tests: Added test for widget() method. 2012-08-26 20:15:03 -04:00
Scott González
103463323a Accordion tests: Added test for widget() method. 2012-08-26 20:00:36 -04:00
Scott González
42b21fd3ed Tests: Removed completed TODO. 2012-08-26 18:37:30 -04:00
Scott González
af67883226 Tabs: Set ajaxOptions in intial $.ajax() call. Fixes #8504 - Ajax in Tabs not passing data in 1.9. beta 1. 2012-08-17 09:08:07 -04:00
Scott González
1e6b2b2298 Upgrade jQuery to 1.8.0. 2012-08-13 09:19:09 -04:00
Scott González
bfec28eb0d Tabs tests: Removed workaround for Firefox <13 passing values to setTimeout(). 2012-07-26 20:35:48 -04:00
Scott González
75105f612c Slider tests: Fixed style checks for orientation test. 2012-07-17 15:05:05 -04:00
Scott González
174df61a6e Slider tests: Minor cleanup: added expect() calls, fixed left-over slider that was appended to body. 2012-07-17 15:04:16 -04:00
Scott González
f7b32d9a8f Menu tests: Removed test for key handling when the element doens't have focus (illogical test). 2012-07-17 14:08:16 -04:00
Scott González
b073cda1a5 Dialog tests: Fixed calls to $.contains() that were passing jQuery objects instead of elements. 2012-07-13 15:52:32 -04:00
Jörn Zaefferer
e054e28836 Spinner: Introduce icons option to make button icons customizable, mostly for consistency 2012-07-12 18:07:40 +02:00
Jörn Zaefferer
7759fb4dba Menu: Rename icon option to icons.submenu 2012-07-12 17:50:34 +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
Scott González
b2b54790b2 Menu tests: Added TODOs for missing method tests. 2012-07-10 15:23:04 -04:00
Scott González
70c5cce84e Menu tests: Proper detection for absence of ui-state-disabled class. 2012-07-10 14:01:23 -04:00
Scott González
51c0878c41 Menu tests: More complete role option tests. 2012-07-10 13:58:20 -04:00
Scott González
566c5f4058 Menu: Alphabetize options. 2012-07-10 12:07:00 -04:00
kborchers
db3fabedb4 Menu: Expose the submenu indicator icon as an icon option 2012-07-10 00:14:54 -05:00
Scott González
a79d09a905 Widget: Create lowercase pseudo selectors. Fixes #8433 - Widget: Create lowercase pseudo selectors. 2012-07-09 16:02:43 -04:00
Scott González
a6e6a0504f Tabs tests: Added tests for show and hide options. 2012-07-05 21:07:49 -04:00
Scott González
c6567ba880 Tabs tests: Add tests for accessibility of ajax tabs. 2012-07-05 20:49:00 -04:00
Scott González
25d5aa1fa1 Menu tests: Split out markup structure and accessibility assertions. 2012-06-28 05:38:08 -07:00
Scott González
5ae668fdb6 Tests: Enable QUnit.config.requireExpects. 2012-06-27 11:32:48 -04:00
Scott González
9b6c1c5cdb Menu tests: Cleanup. 2012-06-27 09:49:56 -04:00
Scott González
abbf6a79a9 Tests: Update support comments. 2012-06-25 14:51:51 -04:00
Scott González
0e550f16bb Core tests: Updated support comments. 2012-06-25 14:46:45 -04:00
Scott González
f612a41b18 Effects tests: Convert step callback to a no-op after first call in animateClass test. 2012-06-25 13:05:01 -04:00
Jörn Zaefferer
0fcf37fba6 Tooltip: Make title-tests pass in IE6/7 with jQuery 1.6, where undefined attribute is returned as empty string 2012-06-19 17:12:38 +02:00
Jörn Zaefferer
8f6c656c28 Core: Make uniqueId test pass in IE6/7 with jQuery 1.6, where undefined id is returned as empty string 2012-06-19 17:08:38 +02:00
Scott González
156f07b48a Menu tests: Saner output for log helper. 2012-06-18 13:38:16 -04:00
Scott González
f92f8bb56b Menu tests: Cleanup. 2012-06-18 13:26:46 -04:00
Scott González
7c74af7b22 Button tests: Use domEqual() to test destroy(). 2012-06-16 08:24:29 -04:00
Scott González
67540fd539 Effects tests: Don't use internal jQuery properties to detect support for fixed positioning. 2012-06-16 08:19:41 -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
Scott González
e79c79df4e Effects tests: Fixed JSHint references. 2012-06-15 13:37:05 -04:00
Scott González
92fb5567a2 Effects: Renamed all files. 2012-06-15 12:47:12 -04:00
Jörn Zaefferer
5c2cf39dff Tooltip: Add track option 2012-06-14 12:38:13 -04:00
Scott González
ff39bed57a Widget: Added _off() for removing event handlers. Fixes #7795 - Widget: _on and _off. 2012-06-14 12:33:16 -04:00
Scott González
00d4beb0ca Widget: Create eventNamespace property instead of constantly rebuilding it. 2012-06-14 11:17:20 -04:00
Jörn Zaefferer
28b14ec47c Generate a uuid for each widget for unique namespaces. Fixes #8385 - Widget: _bind() on elements such as document are dangerous 2012-06-14 10:39:41 -04:00
Jörn Zaefferer
386bb7214b Spinner: Fix ghost log call in events unit test, never shows up in browser for some reason 2012-06-13 23:06:34 +02:00
Scott González
9608e98149 Widget: Rename _bind() to _on(). Partial fix for #7795 - Widget: _on and _off. 2012-06-13 08:00:45 -04:00
Scott González
9ebeb0616a Tabs: Walk previous tabs (and loop) in refresh() in case the tab we're trying to activate is disabled. 2012-06-12 10:07:16 -04:00
Scott González
f1031b3f3a Accordion tests: Fixed typos. 2012-06-11 17:24:27 -04:00
Scott González
8c82edb40c Tabs tests: Don't call start directly from setTimeout because Firefox <13 is dumb. 2012-06-11 16:21:12 -04:00
Scott González
aa1e8b5e6c Tests: Check .data() and event bindings in domEqual(). 2012-06-09 20:12:03 -04:00
Scott González
db5f95fcdf Tabs: Panel keyboard support tests. 2012-06-08 22:26:06 -04:00
Scott González
e1eeed6b4f Tabs: CTRL navigation tests. 2012-06-08 22:26:06 -04:00
Scott González
4cacb4bbce Tabs: Basic keyboard support tests. 2012-06-08 22:26:06 -04:00
Scott González
47a427e5a7 Tabs: ARIA tests. 2012-06-08 22:26:06 -04:00
kborchers
2da2ae5070 Menu: Properly remove submenu carat icons and menu dividers during destroy and add a test for this functionality 2012-06-01 00:03:16 -05:00
Jörn Zaefferer
e0fe788ee0 Accordion: Update activate and beforeActivate event properties to newPanel/oldPanel (instead of content). Fixes #6840 and #6842 2012-05-30 14:41:58 +02:00
Scott González
f5954fcd74 Menu tests: Anchor the regex for aria-activedescendant check. 2012-05-30 08:08:12 -04:00
kborchers
240b22b143 Dialog: Use new uniqueId method for generating id's 2012-05-29 23:11:42 -05:00
kborchers
5c96d817be Menu tests: Fix test id's so that they are unique to pass linting 2012-05-29 21:21:35 -05:00
kborchers
112daf1333 Menu tests: Add id's to some anchors to ensure destroy is only removing id's that have been generated 2012-05-29 21:13:45 -05:00
kborchers
1f60380413 Menu tests: Modify test to check for id's generated by the new uniqueId method 2012-05-29 21:13:45 -05:00
kborchers
40e47c0b08 Core: Add the uniqueId() and removeUniqueId() methods written by @scottgonzalez to provide a generalized way of generating and removing generated element id's. Also, added a unit test. Fixed #8361 - Add uniqueId() and removeUniqueId() 2012-05-29 21:13:17 -05:00
Scott González
649a670d1c Tests: Differentiate between attributes and properties in domEqual(). 2012-05-29 15:14:35 -04:00
Danny Trunk
6e2f95f59d Tabs: Added heightStyle option. Fixed #8345 - Tabs: Add heightStyle option. 2012-05-28 15:11:20 -04:00
Scott González
2662edf739 Accordion tests: Check for a specific height in heightStyle: content tests. 2012-05-28 13:42:47 -04:00
Scott González
359d0eadd0 Accordion tests: equalHeights() -> equalHeight(); Validate against a specific height instead of a range. 2012-05-28 12:41:57 -04:00
Scott González
a738d7372e Progressbar tests: Cleanup. 2012-05-25 23:10:46 -04:00
Scott González
e986f36871 Tests: Convert children to an array in domEqual(). 2012-05-25 22:57:08 -04:00
Scott González
3b7c33fd49 Tests: Added several more property checks to domEqual(). 2012-05-25 16:51:51 -04:00
kborchers
fe7ca1f1c3 Menu: Better handling of divider elements and menu items without anchors. 2012-05-24 23:45:12 -05:00
kborchers
474912313a Menu Tests: Increase timeout on page up/down test 2012-05-23 07:24:49 -05:00
kborchers
c275ebe09b Menu Tests: Remove unused unit tests and add new unit tests to improve coverage. 2012-05-22 23:52:59 -05:00
Scott González
1339c1850f Tooltip tests: Added accessibility tests. 2012-05-22 12:54:09 -04:00
Scott González
b6cc9dd870 Tooltip: Handle multiple aria-describedby values. 2012-05-22 11:06:44 -04:00
Scott González
d7359beee6 Autocomplete: Added tests for live region. 2012-05-22 10:09:20 -04:00
Jörn Zaefferer
9dcd0e0eb8 Menu: Handle SPACE same as ENTER, select items or opening submenus 2012-05-22 16:01:40 +02:00
TJ VanToll
1f1613852c Button: Corrected default label applied to submit buttons. Fixed #8337: Submit inputs don't automatically set label option. 2012-05-22 08:43:21 -04:00
Scott González
51863d5a71 Don't use :input selector. 2012-05-21 14:49:49 -04:00
Scott González
e6f21410ff Don't use :checkbox selector. 2012-05-21 12:47:15 -04:00
Scott González
9ac52deaa2 Don't use :radio selector. 2012-05-21 12:43:35 -04:00
Jörn Zaefferer
9de4da9d10 Menu: Extend test for destroy method 2012-05-21 16:27:04 +02:00
Scott González
5c9d9f9e9d Tabs: Pass the list item instead of the anchor in events; move aria-controls from the anchor to the list item. 2012-05-18 16:11:14 -04:00
Scott González
c549864572 Tests: Use versioned jQuery files in index files. 2012-05-18 11:31:01 -04:00
Jörn Zaefferer
627d27fea2 Menu: Tests for role option 2012-05-18 16:04:54 +02:00
Jörn Zaefferer
f4b2d7a411 Autocomplete: ARIA live region as extension, adding a messages option. Fixes #7840 - Autocomplete: popup results not read by screen-readers 2012-05-16 11:55:12 +02:00
Scott González
c0f6b0ccdf Tests: Cleaned up index pages. Fixes #7374 - Broken link to Static and Visual tests (Index of Static and Visual tests do not exist). 2012-05-15 16:43:47 -04:00
Yi, EungJun
b2a51a589a Draggable tests: Fixed typo. 2012-05-15 13:15:31 -04:00
Scott González
d4318a5f4c Tabs: Replaced fx option with show and hide options. Fixes #8319 - Tabs: Deprecate fx option. 2012-05-14 14:40:06 -04:00
Scott González
d393c8b4cb Spinner: Handle async focus events in IE. Fixes incorrect detection of changes. 2012-05-10 17:59:55 -04:00
Jay Merrifield
cab4c467d9 Dialog: Handle escape for all overlays. Fixes #8300 - Dialog: Incorrect behavior for ESCAPE with multiple modal dialogs. 2012-05-07 09:44:26 -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
dec5b48898 Tabs tests: Work around IE quirks. 2012-05-04 11:21:50 -04:00
Jörn Zaefferer
96510ea6cc Core tests: Fix double focus in IE 2012-05-04 17:14:56 +02:00
Jörn Zaefferer
f9e61eb617 Fully revert breaking changes to core unit tests markup (htmllint ignores it now anyway).
Also update grunt.js: Simplify default task to finish that faster (also less console spam), remove beta from testswarm browserset, we don't need to test IE10 yet.
2012-04-30 14:58:03 +02:00
Scott González
fc3fc6ec2e Effects tests: Added TODO for disabled test. 2012-04-30 08:42:01 -04:00
Corey Frang
aacdccc394 Effects Tests: Disabling focus based test - need some help here @scottgonzalez 2012-04-30 01:05:30 -05:00
Corey Frang
fe55b6cddb Effects: Updating unit tests to use some more stable logic hopefully 2012-04-30 00:19:52 -05:00
Corey Frang
1da2bf0daf Tests: Linting 2012-04-30 00:19:26 -05:00
Scott González
27072de094 Tests: Run JSHint. 2012-04-29 20:22:52 -04:00
Scott González
24d978f833 Core tests: Coding standards. 2012-04-29 20:22:52 -04:00
Richard D. Worth
24d06bfc4d Partial revert to fix IE6 regression in 258a637 2012-04-26 14:37: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
Richard D. Worth
258a637cc6 Fix various issues in our html files, fifth batch 2012-04-26 09:47:05 -04: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
88e141801c Tests: Check for null error objects when reporting JSHint errors. 2012-04-24 07:43:26 -04:00
Shahyar G
f3b022ddb8 Use length property, instead of the deprecated size() method. 2012-04-23 20:49:57 -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
Jörn Zaefferer
d40993dcf6 Fix various issues in our html files, third batch 2012-04-23 18:55:11 +02:00
Jörn Zaefferer
22edb77559 Fix various issues in our html files, second batch 2012-04-23 18:44:17 +02:00
Scott González
15705723b2 Position tests: Removed unused elements. 2012-04-23 12:23:59 -04:00
Scott González
3cb9ab723a Tests: Add custom URL configs to QUnit.config.urlConfig for discoverability. 2012-04-23 10:47:43 -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
Scott González
3b54760b51 Tests: Run JSHint in unit tests, unless nojshint=1 is specified in the query string. 2012-04-23 08:44:55 -04:00
Jörn Zaefferer
7ec8c7fbbc Update to latest qunit-composite 2012-04-22 12:47:33 +02:00
Jörn Zaefferer
ce3c7fab93 Update to official qunit composite addon 2012-04-21 17:49:11 +02:00
Scott González
c090fe9486 Resizable tests: Remove all bad tests. 2012-04-20 11:23:37 -04:00
Scott González
31f3d0e6a3 Resizabe tests: Use equal() instead of equals(). 2012-04-20 11:20:50 -04:00
kborchers
33df9b788d Menu tests: Update tests to test mouseenter instead of mouseover 2012-04-19 23:50:52 -05:00
TJ VanToll
6150abae49 Resizable: Apply zIndex option to all handles. Partial Fix for #7960- Modal dialog does not disable resizables on the page. 2012-04-19 20:55:02 -04:00
Scott González
d62d9d4eff Spinner tests: Don't pollute the global namespace with helpers. 2012-04-19 13:12:23 -04:00
Scott González
e9d5079b04 Tests: Move commonWidgetTests() to TestHelpers. 2012-04-19 13:03:21 -04:00
Scott González
33e93ef7f0 Tabs tests: Don't pollute the global namespace with helpers. 2012-04-19 12:53:13 -04:00
kborchers
c16bd7c510 Menu tests: Don't pollute the global namespace with helpers. 2012-04-19 11:19:52 -05:00
Scott González
163555d7bf Accordion tests: Don't polloute the global namespace with helpers. 2012-04-19 11:37:39 -04:00
Scott González
0e8d9dde20 Tests: Lint. 2012-04-19 11:21:24 -04:00
Scott González
266cc84013 Tests: Lint. 2012-04-19 11:17:35 -04:00
Scott González
af1b4d859d Tests: Lint. 2012-04-19 10:50:09 -04:00
Scott González
0a5a9090f8 Tests: Lint. 2012-04-19 10:28:26 -04:00
kborchers
58a120bb4b Merge branch 'menuaria' into master 2012-04-19 09:24:08 -05:00
Scott González
aa187f57d1 Tests: Lint 2012-04-19 09:39:21 -04:00
Scott González
a0fb2c227e Tests: Lint. 2012-04-18 22:46:39 -04:00
Scott González
a28983086e Tests: Lint. 2012-04-18 22:36:15 -04:00
kborchers
890a45a22c Menu: Add unit tests for testing disabled items 2012-04-18 21:29:39 -05:00
Scott González
96f9c84b7b Autocomplete: Move race condition logic from ajax requests to general response handler. Fixes #8234 - Autocomplete: Automatic race-condition handling for custom sources. 2012-04-03 16:47:14 -04:00
Scott González
4a6692a57a Accordion: Added animation tests. 2012-03-27 18:05:51 -04:00
Scott González
6634e40053 Accordion: Fixed post-init changes to event option and added tests for keyboard support. 2012-03-27 16:49:05 -04:00
Scott González
a709943a8b Datepicker tests: Use $.ui.keyCode instead of $.simulate.VK_*. 2012-03-27 14:46:13 -04:00
Hans Hillen
0370170b2f Accordion: Fixed ARIA support and added proper keyboard support. 2012-03-27 10:19:35 -04:00
Scott González
89ff5c5232 Upgrade jQuery to 1.7.2. 2012-03-22 09:45:22 -04:00
Jörn Zaefferer
6de8030f01 Merge branch 'accordion-cleanup' 2012-03-18 15:46:11 +01:00
Jörn Zaefferer
575baa0e2c Updated to QUnit 1.4.0.
Added expect(0) to make tabs and tooltip tests pass, even though those assertions are actually missing.

Introduces dialog and slider failures when running in composite all.html suite, all green when running one by one, also all-active.html is green.
2012-03-10 15:39:37 +01:00
Scott González
edec16acbb Added composite test suite for all 'active' tests. 2012-03-08 11:11:30 -05:00