mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: remove markup unit test
This commit is contained in:
parent
95ea303418
commit
80ba251a9b
@ -2,23 +2,6 @@
|
||||
|
||||
module( "selectmenu: core" );
|
||||
|
||||
|
||||
test("markup structure", function () {
|
||||
expect(5);
|
||||
var element = $('#speed').selectmenu();
|
||||
var widget = element.selectmenu("widget");
|
||||
var button = widget.filter(".ui-selectmenu-button");
|
||||
var menu = widget.filter(".ui-selectmenu-menu");
|
||||
|
||||
equals( button.length, 1, "button wrapper found");
|
||||
equals( button.children("a").length, 1, "button link found");
|
||||
|
||||
equals( menu.length, 1, "menu wrapper found");
|
||||
equals( menu.children("ul").length, 1, "menu found");
|
||||
|
||||
equals( menu.find("ul li.ui-menu-item").length, element.find("option").length, "menu li's found");
|
||||
});
|
||||
|
||||
test("accessibility", function () {
|
||||
var element = $('#speed').selectmenu();
|
||||
var widget = element.selectmenu("widget");
|
||||
|
Loading…
Reference in New Issue
Block a user