Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
- dialog module: init (0, 6, 6)
- .dialog() called on element
- .dialog() called on empty collection
- .dialog() called on disconnected DOMElement
- arbitrary method called after init
- arbitrary option getter after init
- arbitrary option setter after init
- dialog module: destroy (0, 6, 6)
- .dialog("destroy") called on element
- .dialog("destroy") called on empty collection
- .dialog("destroy") called on disconnected DOMElement
- arbitrary method called after destroy
- arbitrary option getter after destroy
- arbitrary option setter after destroy
- dialog module: defaults (0, 20, 20)
- autoOpen: true
- autoResize: true
- buttons: [object Object]
- closeOnEscape: true
- closeText: close
- disabled: false
- dialogClass: undefined
- draggable: true
- height: 200
- maxHeight: undefined
- maxWidth: undefined
- minHeight: 100
- minWidth: 150
- modal: false
- overlay: [object Object]
- position: center
- resizable: true
- stack: true
- title:
- width: 300
- dialog module: title id (0, 3, 3)
- auto-numbered title id: ui-dialog-title-1
- auto-numbered title id: ui-dialog-title-2
- carried over title id: ui-dialog-title-foo
- dialog module: ARIA (0, 4, 4)
- dialog role: dialog
- has aria-labelledby attribute
- proper aria-labelledby attribute: ui-dialog-title-3
- close link role: button
- dialog: Options module: autoOpen (0, 2, 2)
- .dialog({ autoOpen: false })
- .dialog({ autoOpen: true })
- dialog: Options module: autoResize (0, 2, 2)
- .dialog({ autoResize: false }): [object Object]
- .dialog({ autoResize: true }): [object Object]
- dialog: Options module: buttons (0, 17, 17)
- number of buttons: 2
- text of button 1: Ok
- text of button 2: Cancel
- buttons in container: ui-dialog-buttonpane
- button click fires callback
- context of callback: [object HTMLDivElement]
- event target: [object HTMLButtonElement]
- button click fires callback
- context of callback: [object HTMLDivElement]
- event target: [object HTMLButtonElement]
- .data("buttons.dialog") getter: [object Object]
- .data("buttons.dialog", ...) setter: [object Object]
- number of buttons after setter: 1
- button click fires callback
- context of callback: [object HTMLDivElement]
- event target: [object HTMLButtonElement]
- text of button 1: Close
- dialog: Options module: closeOnEscape (1, 0, 1)
- missing test
- dialog: Options module: closeText (0, 3, 3)
- default close text: close
- closeText on init: foo
- closeText via option method: bar
- dialog: Options module: dialogClass (0, 4, 4)
- dialogClass not specified. foo class added: false
- dialogClass in init. foo class added: true
- dialogClass in init, two classes. foo class added: true
- dialogClass in init, two classes. bar class added: true
- dialog: Options module: draggable (2, 2, 4)
- dragged[50, 50] : [object Object]
- dragged[50, 50] , expected: {
"left": 540,
"top": 310
} result: {
"left": 532,
"top": 289
}
- dragged[50, 50] , expected: {
"left": 540,
"top": 310
} result: {
"left": 532,
"top": 289
}
- dragged[50, 50] : [object Object]
- dialog: Options module: height (0, 3, 3)
- default height: 200
- explicit height: 437
- explicit height set after init: 438
- dialog: Options module: maxHeight (0, 3, 3)
- maxHeight: 400
- maxHeight: 400
- maxHeight: 600
- dialog: Options module: maxWidth (0, 3, 3)
- maxWidth: 400
- maxWidth: 400
- maxWidth: 600
- dialog: Options module: minHeight (0, 3, 3)
- minHeight: 10
- minHeight: 10
- minHeight: 30
- dialog: Options module: minWidth (0, 3, 3)
- minWidth: 10
- minWidth: 10
- minWidth: 30
- dialog: Options module: modal (1, 0, 1)
- missing test
- dialog: Options module: overlay (1, 0, 1)
- missing test
- dialog: Options module: position (1, 0, 1)
- missing test
- dialog: Options module: resizable (0, 4, 4)
- resized[50, 50] [default].: [object Object]
- resized[50, 50] disabled after init.: [object Object]
- resized[50, 50] disabled in init options.: [object Object]
- resized[50, 50] enabled after init.: [object Object]
- dialog: Options module: stack (1, 0, 1)
- missing test
- dialog: Options module: title (0, 5, 5)
- [default]:
- title in element attribute: foo
- title in init options: foo
- title in init options should override title in element attribute: bar
- title after init: foo
- dialog: Options module: width (0, 3, 3)
- default width: 300
- explicit width: 437
- explicit width after init: 438
- dialog: Methods module: isOpen (0, 4, 4)
- dialog is open after init: true
- dialog is closed: false
- dialog is closed after init: false
- dialog is open: true
- dialog: Callbacks module: open (0, 6, 6)
- autoOpen: true fires open callback
- context of callback: [object HTMLDivElement]
- .dialog("open") fires open callback
- context of callback: [object HTMLDivElement]
- dialog("open") fires open event
- context of event: [object HTMLDivElement]
- dialog: Callbacks module: dragStart (0, 2, 2)
- dragging fires dragStart callback
- context of callback: [object HTMLDivElement]
- dialog: Callbacks module: drag (0, 4, 4)
- context of callback: [object HTMLDivElement]
- context of callback: [object HTMLDivElement]
- context of callback: [object HTMLDivElement]
- drag fired
- dialog: Callbacks module: dragStop (0, 2, 2)
- dragging fires dragStop callback
- context of callback: [object HTMLDivElement]
- dialog: Callbacks module: resizeStart (0, 2, 2)
- resizing fires resizeStart callback
- context of callback: [object HTMLDivElement]
- dialog: Callbacks module: resize (0, 4, 4)
- context of callback: [object HTMLDivElement]
- context of callback: [object HTMLDivElement]
- context of callback: [object HTMLDivElement]
- resize fired
- dialog: Callbacks module: resizeStop (0, 2, 2)
- resizing fires resizeStop callback
- context of callback: [object HTMLDivElement]
- dialog: Callbacks module: close (0, 4, 4)
- .dialog("close") fires close callback
- context of callback: [object HTMLDivElement]
- .dialog("close") firse dialogclose event
- context of event: [object HTMLDivElement]
- dialog: Callbacks module: beforeclose (0, 6, 6)
- .dialog("close") fires beforeclose callback
- context of callback: [object HTMLDivElement]
- beforeclose callback should prevent dialog from closing
- .dialog("close") triggers dialogbeforeclose event
- context of event: [object HTMLDivElement]
- dialogbeforeclose event should prevent dialog from closing
Tests completed in 1206 milliseconds.
7 tests of 139 failed.