Bootstrap Plugin Test Suite
Hide passed tests
Check for Globals
No try-catch
Filter:
Go
Module:
< All Modules >
affix
affix plugin
alert
alert plugin
button
button plugin
carousel
carousel plugin
collapse
collapse plugin
dropdowns
dropdowns plugin
modal
modal plugin
popover
popover plugin
scrollspy
scrollspy plugin
tabs
tabs plugin
tooltip
tooltip plugin
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Running:
carousel
:
should fire slid event with relatedTarget
alert plugin
:
should be defined on jquery object
(1)
Rerun
26 ms
alert method is defined
@ 26 ms
alert
:
should provide no conflict
(1)
Rerun
1 ms
alert was set back to undefined (org value)
@ 1 ms
alert
:
should return jquery collection containing the element
(2)
Rerun
2 ms
returns jquery collection
@ 2 ms
collection contains element
@ 2 ms
alert
:
should fade element out on clicking .close
(1)
Rerun
4 ms
remove .in class on .close click
@ 4 ms
alert
:
should remove element when clicking .close
(2)
Rerun
4 ms
element added to dom
@ 1 ms
element removed from dom
@ 3 ms
alert
:
should not fire closed when close is prevented
(1)
Rerun
14 ms
close event fired
@ 1 ms
button plugin
:
should be defined on jquery object
(1)
Rerun
1 ms
button method is defined
@ 1 ms
button
:
should provide no conflict
(1)
Rerun
1 ms
button was set back to undefined (org value)
@ 1 ms
button
:
should return jquery collection containing the element
(2)
Rerun
1 ms
returns jquery collection
@ 1 ms
collection contains element
@ 1 ms
button
:
should return set state to loading
(4)
Rerun
22 ms
btn text equals mdo
@ 1 ms
btn text equals fat
@ 9 ms
btn is disabled
@ 9 ms
btn has disabled class
@ 9 ms
button
:
should return reset state
(7)
Rerun
24 ms
btn text equals mdo
@ 1 ms
btn text equals fat
@ 7 ms
btn is disabled
@ 7 ms
btn has disabled class
@ 7 ms
btn text equals mdo
@ 12 ms
btn is not disabled
@ 12 ms
btn does not have disabled class
@ 12 ms
button
:
should work with an empty string as reset state
(7)
Rerun
19 ms
btn text equals ""
@ 1 ms
btn text equals fat
@ 6 ms
btn is disabled
@ 6 ms
btn has disabled class
@ 6 ms
btn text equals ""
@ 10 ms
btn is not disabled
@ 10 ms
btn does not have disabled class
@ 10 ms
button
:
should toggle active
(2)
Rerun
2 ms
btn does not have active class
@ 1 ms
btn has class active
@ 2 ms
button
:
should toggle active when btn children are clicked
(2)
Rerun
2 ms
btn does not have active class
@ 1 ms
btn has class active
@ 2 ms
button
:
should toggle aria-pressed
(2)
Rerun
2 ms
btn aria-pressed state is false
@ 1 ms
btn aria-pressed state is true
@ 1 ms
button
:
should toggle aria-pressed when btn children are clicked
(2)
Rerun
2 ms
btn aria-pressed state is false
@ 1 ms
btn aria-pressed state is true
@ 1 ms
button
:
should check for closest matching toggle
(12)
Rerun
3 ms
btn1 has active class
@ 1 ms
btn1 is checked
@ 1 ms
btn2 does not have active class
@ 1 ms
btn2 is not checked
@ 1 ms
btn1 does not have active class
@ 2 ms
btn1 is not checked
@ 2 ms
btn2 has active class
@ 2 ms
btn2 is checked
@ 2 ms
btn1 does not have active class
@ 3 ms
btn1 is not checked
@ 3 ms
btn2 has active class
@ 3 ms
btn2 is checked
@ 3 ms
carousel plugin
:
should be defined on jQuery object
(1)
Rerun
2 ms
carousel method is defined
@ 2 ms
carousel
:
should provide no conflict
(1)
Rerun
1 ms
carousel was set back to undefined (orig value)
@ 1 ms
carousel
:
should return jquery collection containing the element
(2)
Rerun
1 ms
returns jquery collection
@ 1 ms
collection contains element
@ 1 ms
carousel
:
should not fire slid when slide is prevented
(1)
Rerun
8 ms
slide event fired
@ 2 ms
carousel
:
should reset when slide is prevented
(6)
Rerun
26 ms
first item still active
@ 7 ms
first indicator still active
@ 7 ms
first item still active
@ 12 ms
first indicator still active
@ 12 ms
second item active
@ 13 ms
second indicator active
@ 13 ms
carousel
:
should fire slide event with direction
(4)
Rerun
15 ms
direction present on next
@ 2 ms
direction is left on next
@ 2 ms
direction present on prev
@ 2 ms
direction is right on prev
@ 2 ms
carousel
:
should fire slid event with direction
(4)
Rerun
15 ms
direction present on next
@ 1 ms
direction is left on next
@ 1 ms
direction present on prev
@ 2 ms
direction is right on prev
@ 2 ms
carousel
:
should fire slide event with relatedTarget
(2)
Rerun
15 ms
relatedTarget present
@ 1 ms
relatedTarget has class "item"
@ 1 ms
carousel
:
should fire slid event with relatedTarget
Rerun
relatedTarget present
@ 2 ms
relatedTarget has class "item"
@ 2 ms
carousel
:
should set interval from data attribute
Rerun
carousel
:
should skip over non-items when using item indices
Rerun
carousel
:
should skip over non-items when using next/prev methods
Rerun
carousel
:
should go to previous item if left arrow key is pressed
Rerun
carousel
:
should go to next item if right arrow key is pressed
Rerun
carousel
:
should support disabling the keyboard navigation
Rerun
carousel
:
should ignore keyboard events within <input>s and <textarea>s
Rerun
carousel
:
should only add mouseenter and mouseleave listeners when not on mobile
Rerun
carousel
:
should wrap around from end to start when wrap option is true
Rerun
carousel
:
should wrap around from start to end when wrap option is true
Rerun
carousel
:
should stay at the end when the next method is called and wrap is false
Rerun
carousel
:
should stay at the start when the prev method is called and wrap is false
Rerun
collapse plugin
:
should be defined on jquery object
Rerun
collapse
:
should provide no conflict
Rerun
collapse
:
should return jquery collection containing the element
Rerun
collapse
:
should show a collapsed element
Rerun
collapse
:
should hide a collapsed element
Rerun
collapse
:
should not fire shown when show is prevented
Rerun
collapse
:
should reset style to auto after finishing opening collapse
Rerun
collapse
:
should remove "collapsed" class from target when collapse is shown
Rerun
collapse
:
should add "collapsed" class to target when collapse is hidden
Rerun
collapse
:
should remove "collapsed" class from all triggers targeting the collapse when the collapse is shown
Rerun
collapse
:
should add "collapsed" class to all triggers targeting the collapse when the collapse is hidden
Rerun
collapse
:
should not close a collapse when initialized with "show" option if already shown
Rerun
collapse
:
should open a collapse when initialized with "show" option if not already shown
Rerun
collapse
:
should not show a collapse when initialized with "hide" option if already hidden
Rerun
collapse
:
should hide a collapse when initialized with "hide" option if not already hidden
Rerun
collapse
:
should remove "collapsed" class from active accordion target
Rerun
collapse
:
should allow dots in data-parent
Rerun
collapse
:
should set aria-expanded="true" on target when collapse is shown
Rerun
collapse
:
should set aria-expanded="false" on target when collapse is hidden
Rerun
collapse
:
should set aria-expanded="true" on all triggers targeting the collapse when the collapse is shown
Rerun
collapse
:
should set aria-expanded="false" on all triggers targeting the collapse when the collapse is hidden
Rerun
collapse
:
should change aria-expanded from active accordion target to "false" and set the newly active one to "true"
Rerun
collapse
:
should not fire show event if show is prevented because other element is still transitioning
Rerun
collapse
:
should add "collapsed" class to target when collapse is hidden via manual invocation
Rerun
collapse
:
should remove "collapsed" class from target when collapse is shown via manual invocation
Rerun
dropdowns plugin
:
should be defined on jquery object
Rerun
dropdowns
:
should provide no conflict
Rerun
dropdowns
:
should return jquery collection containing the element
Rerun
dropdowns
:
should not open dropdown if target is disabled via attribute
Rerun
dropdowns
:
should set aria-expanded="true" on target when dropdown menu is shown
Rerun
dropdowns
:
should set aria-expanded="false" on target when dropdown menu is hidden
Rerun
dropdowns
:
should not open dropdown if target is disabled via class
Rerun
dropdowns
:
should add class open to menu if clicked
Rerun
dropdowns
:
should test if element has a # before assuming it's a selector
Rerun
dropdowns
:
should remove "open" class if body is clicked
Rerun
dropdowns
:
should remove "open" class if body is clicked, with multiple dropdowns
Rerun
dropdowns
:
should fire show and hide event
Rerun
dropdowns
:
should fire shown and hidden event
Rerun
dropdowns
:
should fire shown and hidden event with a relatedTarget
Rerun
dropdowns
:
should ignore keyboard events within <input>s and <textarea>s
Rerun
dropdowns
:
should skip disabled element when using keyboard navigation
Rerun
dropdowns
:
should not close the dropdown if the user clicks on a text field
Rerun
dropdowns
:
should not close the dropdown if the user clicks on a textarea
Rerun
modal plugin
:
should be defined on jquery object
Rerun
modal
:
should provide no conflict
Rerun
modal
:
should return jquery collection containing the element
Rerun
modal
:
should expose defaults var for settings
Rerun
modal
:
should insert into dom when show method is called
Rerun
modal
:
should fire show event
Rerun
modal
:
should not fire shown when show was prevented
Rerun
modal
:
should hide modal when hide is called
Rerun
modal
:
should toggle when toggle is called
Rerun
modal
:
should remove from dom when click [data-dismiss="modal"]
Rerun
modal
:
should allow modal close with "backdrop:false"
Rerun
modal
:
should close modal when clicking outside of modal-content
Rerun
modal
:
should close modal when escape key is pressed via keydown
Rerun
modal
:
should not close modal when escape key is pressed via keyup
Rerun
modal
:
should trigger hide event once when clicking outside of modal-content
Rerun
modal
:
should close reopened modal with [data-dismiss="modal"] click
Rerun
modal
:
should restore focus to toggling element when modal is hidden after having been opened via data-api
Rerun
modal
:
should not restore focus to toggling element if the associated show event gets prevented
Rerun
modal
:
should restore inline body padding after closing
Rerun
modal
:
should ignore values set via CSS when trying to restore body padding after closing
Rerun
modal
:
should ignore other inline styles when trying to restore body padding after closing
Rerun
modal
:
should properly restore non-pixel inline body padding after closing
Rerun
scrollspy plugin
:
should be defined on jquery object
Rerun
scrollspy
:
should provide no conflict
Rerun
scrollspy
:
should return jquery collection containing the element
Rerun
scrollspy
:
should only switch "active" class on current target
Rerun
scrollspy
:
should correctly select middle navigation option when large offset is used
Rerun
scrollspy
:
should add the active class to the correct element
Rerun
scrollspy
:
should add the active class correctly when there are nested elements at 0 scroll offset
Rerun
scrollspy
:
should clear selection if above the first section
Rerun
scrollspy
:
should correctly select navigation element on backward scrolling when each target section height is 100%
Rerun
tabs plugin
:
should be defined on jquery object
Rerun
tabs
:
should provide no conflict
Rerun
tabs
:
should return jquery collection containing the element
Rerun
tabs
:
should activate element by tab id
Rerun
tabs
:
should activate element by tab id
Rerun
tabs
:
should not fire shown when show is prevented
Rerun
tabs
:
show and shown events should reference correct relatedTarget
Rerun
tabs
:
should fire hide and hidden events
Rerun
tabs
:
should not fire hidden when hide is prevented
Rerun
tabs
:
hide and hidden events contain correct relatedTarget
Rerun
tabs
:
selected tab should have aria-expanded
Rerun
tooltip plugin
:
should be defined on jquery object
Rerun
tooltip
:
should provide no conflict
Rerun
tooltip
:
should return jquery collection containing the element
Rerun
tooltip
:
should expose default settings
Rerun
tooltip
:
should empty title attribute
Rerun
tooltip
:
should add data attribute for referencing original title
Rerun
tooltip
:
should add aria-describedby to the trigger on show
Rerun
tooltip
:
should remove aria-describedby from trigger on hide
Rerun
tooltip
:
should assign a unique id tooltip element
Rerun
tooltip
:
should place tooltips relative to placement option
Rerun
tooltip
:
should allow html entities
Rerun
tooltip
:
should respect custom classes
Rerun
tooltip
:
should fire show event
Rerun
tooltip
:
should fire inserted event
Rerun
tooltip
:
should fire shown event
Rerun
tooltip
:
should not fire shown event when show was prevented
Rerun
tooltip
:
should fire hide event
Rerun
tooltip
:
should fire hidden event
Rerun
tooltip
:
should not fire hidden event when hide was prevented
Rerun
tooltip
:
should destroy tooltip
Rerun
tooltip
:
should show tooltip with delegate selector on click
Rerun
tooltip
:
should show tooltip when toggle is called
Rerun
tooltip
:
should hide previously shown tooltip when toggle is called on tooltip
Rerun
tooltip
:
should place tooltips inside body when container is body
Rerun
tooltip
:
should add position class before positioning so that position-specific styles are taken into account
Rerun
tooltip
:
should use title attribute for tooltip text
Rerun
tooltip
:
should prefer title attribute over title option
Rerun
tooltip
:
should use title option
Rerun
tooltip
:
should be placed dynamically to viewport with the dynamic placement option
Rerun
tooltip
:
should position tip on top if viewport has enough space and placement is "auto top"
Rerun
tooltip
:
should position tip on top if viewport has enough space and is not parent
Rerun
tooltip
:
should position tip on bottom if the tip's dimension exceeds the viewport area and placement is "auto top"
Rerun
tooltip
:
should display the tip on top whenever scrollable viewport has enough room if the given placement is "auto top"
Rerun
tooltip
:
should display the tip on bottom whenever scrollable viewport doesn't have enough room if the given placement is "auto top"
Rerun
tooltip
:
should display the tip on bottom whenever scrollable viewport has enough room if the given placement is "auto bottom"
Rerun
tooltip
:
should display the tip on top whenever scrollable viewport doesn't have enough room if the given placement is "auto bottom"
Rerun
tooltip
:
should adjust the tip's top position when up against the top of the viewport
Rerun
tooltip
:
should adjust the tip's top position when up against the bottom of the viewport
Rerun
tooltip
:
should adjust the tip's left position when up against the left of the viewport
Rerun
tooltip
:
should adjust the tip's left position when up against the right of the viewport
Rerun
tooltip
:
should adjust the tip when up against the right of an arbitrary viewport
Rerun
tooltip
:
should get viewport element from function
Rerun
tooltip
:
should not misplace the tip when the right edge offset is greater or equal than the viewport width
Rerun
tooltip
:
should not error when trying to show an auto-placed tooltip that has been removed from the dom
Rerun
tooltip
:
should place tooltip on top of element
Rerun
tooltip
:
should place tooltip inside viewport
Rerun
tooltip
:
should show tooltip if leave event hasn't occurred before delay expires
Rerun
tooltip
:
should not show tooltip if leave event occurs before delay expires
Rerun
tooltip
:
should not hide tooltip if leave event occurs and enter event occurs within the hide delay
Rerun
tooltip
:
should not show tooltip if leave event occurs before delay expires
Rerun
tooltip
:
should not show tooltip if leave event occurs before delay expires, even if hide delay is 0
Rerun
tooltip
:
should wait 200ms before hiding the tooltip
Rerun
tooltip
:
should correctly position tooltips on SVG elements
Rerun
tooltip
:
should correctly determine auto placement based on container rather than parent
Rerun
tooltip
:
should not reload the tooltip on subsequent mouseenter events
Rerun
tooltip
:
should not reload the tooltip if the mouse leaves and re-enters before hiding
Rerun
tooltip
:
should position arrow correctly when tooltip is moved to not appear offscreen
Rerun
tooltip
:
should correctly position tooltips on transformed elements
Rerun
tooltip
:
should throw an error when initializing tooltip on the document object without specifying a delegation selector
Rerun
tooltip
:
should do nothing when an attempt is made to hide an uninitialized tooltip
Rerun
tooltip
:
should throw an error when template contains multiple top-level elements
Rerun
tooltip
:
should not remove tooltip if multiple triggers are set and one is still active
Rerun
popover plugin
:
should be defined on jquery object
Rerun
popover
:
should provide no conflict
Rerun
popover
:
should return jquery collection containing the element
Rerun
popover
:
should render popover element
Rerun
popover
:
should store popover instance in popover data object
Rerun
popover
:
should store popover trigger in popover instance data object
Rerun
popover
:
should get title and content from options
Rerun
popover
:
should not duplicate HTML object
Rerun
popover
:
should get title and content from attributes
Rerun
popover
:
should get title and content from attributes ignoring options passed via js
Rerun
popover
:
should respect custom template
Rerun
popover
:
should destroy popover
Rerun
popover
:
should render popover element using delegated selector
Rerun
popover
:
should detach popover content rather than removing it so that event handlers are left intact
Rerun
popover
:
should throw an error when initializing popover on the document object without specifying a delegation selector
Rerun
popover
:
should do nothing when an attempt is made to hide an uninitialized popover
Rerun
popover
:
should throw an error when template contains multiple top-level elements
Rerun
popover
:
should fire inserted event
Rerun
affix plugin
:
should be defined on jquery object
Rerun
affix
:
should provide no conflict
Rerun
affix
:
should return jquery collection containing the element
Rerun
affix
:
should exit early if element is not visible
Rerun
affix
:
should trigger affixed event after affix
Rerun
affix
:
should affix-top when scrolling up to offset when parent has padding
Rerun