Commit Graph

941 Commits

Author SHA1 Message Date
Jörn Zaefferer
7852583980 Restore QUnit's now dead feature of using jQuery to reset the fixture. Fixes tooltip unit tests 2012-08-30 15:20:36 +02:00
Scott González
b22e3c36f2 Tooltip tests: Added test for widget() method. 2012-08-26 20:21:24 -04:00
Scott González
072919467d Tabs tests: Added test for widget() method. 2012-08-26 20:20:43 -04:00
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