Commit Graph

35 Commits

Author SHA1 Message Date
Alexander Schmitz
b88a821070 Tabs: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:41 -04:00
Alexander Schmitz
aaddfbfa8b Tabs: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:28 -04:00
Jörn Zaefferer
666f051c3a Tests: Reduce timeouts to optimize testsuite runtime 2015-03-04 23:04:07 +01:00
Scott González
6a242ab4eb Tabs: Suppress automatic activation when navigating with COMMAND
Fixes #9621
Closes gh-1383
2014-11-04 12:07:46 -05:00
David Petersen
f5e8041ebf Tabs: Move aria-expanded from active panel to active tab
Fixes #9622
Closes gh-1251
2014-05-19 11:36:21 -04:00
Scott González
ecd4f95a50 Tabs: Use .uniqueId() for panels and moved isLocal() into the widget prototype. 2013-10-24 09:19:42 -04:00
Jörn Zaefferer
90135b27f8 Widget tests: Use instance method. Also replace a few instances of $.data in widget implementations. 2013-03-19 16:53:35 +01:00
Mike Sherov
5dee8dee30 Dev: Change incorrect references in test suite from #main to #qunit-fixture. 2012-12-08 13:19:36 -05:00
Scott González
f5870712c1 Updated all widgets to use proper data keys when getting plugin instances. 2012-11-09 13:28:13 -05:00
Mike Sherov
e1230997aa Build: Enable "unused" option in jshint - Remove unused variables from codebase. - Closes gh-788
Squashed commit of the following:

commit 7f19f92c64
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 10:34:28 2012 -0400

    put back in fake args for signatures that we want to keep

commit 257505a9e6
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 08:10:20 2012 -0400

    changes per @scott_gonzalez

commit 12725480cb
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:54:05 2012 -0400

    clean up unused vars in ui directory

commit 563595e7ae
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:37:42 2012 -0400

    clean up unused vars in grunt and tests
2012-10-23 09:37:46 -05:00
Scott González
7023ed4699 Tabs: Account for non-tab list items on init. Fixes #8568 - jQuery ui tabs: wrong default active li if ul contains extraneous elements. 2012-09-12 09:28:51 -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
c6567ba880 Tabs tests: Add tests for accessibility of ajax tabs. 2012-07-05 20:49:00 -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
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
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
33e93ef7f0 Tabs tests: Don't pollute the global namespace with helpers. 2012-04-19 12:53:13 -04: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
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
18a3b53988 Tabs: Fixed detection of local vs. remote tabs. Fixes #4941 - Mishandling of base tag. Fixes #4836 - Self refering href only partially detected. 2011-08-11 16:48:58 -04:00
Scott González
a205c2c8b8 Tabs: Moved tests out of tickets file. 2011-05-10 08:47:00 -04:00
Scott González
ae8963f054 Tabs: Rewrote some ticket tests and moved to approriate file. 2011-04-15 11:04:49 -04:00
Scott González
d573a92beb Tabs: Added tests for aria-controls attribute being assigned on init. 2011-04-07 13:53:20 -04:00
Scott González
fdedf1616d Tabs: Test cleanup. 2011-04-04 10:11:19 -04:00
David Petersen
e7971c9077 Tabs: Deprecate spinner option. Fixes #7134 Tabs: Deprecate spinner option 2011-03-26 21:00:45 -04:00
Richard D. Worth
9ba45f3b76 tabs: core ajax unit test - more refactoring, seems IE7 needs a quick setTimeout for the first async test to work on first load 2010-04-02 12:43:22 -04:00
Richard D. Worth
178c3b5b6e tabs: core ajax unit test - run two loads as two separate asyncs so IE7 will run remaining tests 2010-04-02 11:59:17 -04:00
Scott González
9a786e03a1 Tabs: fixed to work with empty nav list again.
Fixes #4997 - No longer possible to start with empty tab then add() elements dynamically.
2009-12-25 18:25:46 +00:00
Klaus Hartl
07809340c8 Tabs: solved spinner issues and ajax loading not being stopped when selecting a static page tab, fixes #4109, #3929 2009-02-18 21:44:34 +00:00
Klaus Hartl
fac375df3b just reviewed 2009-02-04 09:35:52 +00:00
Richard Worth
037f5d5ce1 tabs unit tests: split tests into individual files, added some missing tests 2009-02-03 13:37:54 +00:00
Richard Worth
43ab3a04e5 unit tests: created separate file for each module: core, common widget, events, methods, options, tickets 2009-02-02 14:36:08 +00:00