aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/controlgroup/common.js
blob: 1a62d971bdd52017c4e4e6ec26033b8f914d4efd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
define( [
	"lib/common",
	"ui/widgets/controlgroup",
	"ui/widgets/checkboxradio",
	"ui/widgets/selectmenu",
	"ui/widgets/button"
], function( common ) {

common.testWidget( "controlgroup", {
	defaults: {
		classes: {},
		direction: "horizontal",
		disabled: null,
		items: {
			"button": "input[type=button], input[type=submit], input[type=reset], button, a",
			"checkboxradio": "input[type='checkbox'], input[type='radio']",
			"selectmenu": "select",
			"spinner": ".ui-spinner-input",
			"controlgroupLabel": ".ui-controlgroup-label"
		},
		onlyVisible: true,

		// Callbacks
		create: null
	}
} );

} );