Hybrids + Custom Elements

Version: 4.3.4
Browser: FirefoxHeadless
Timestamp: 5/8/2024, 11:12:16 PM

16 tests / 0 errors / 1 failures / 0 skipped / runtime: 0.268s

basic support

no children

can display a Custom Element with no children
Passed in 0.033s

with children

can display a Custom Element with children in a Shadow Root
Passed in 0.002s

with children

can display a Custom Element with children in a Shadow Root and pass in Light DOM children
Passed in 0.034s

with children

can display a Custom Element with children in the Shadow DOM and handle hiding and showing the element
Passed in 0.029s

attributes and properties

will pass boolean data as either an attribute or a property
Passed in 0.009s

attributes and properties

will pass numeric data as either an attribute or a property
Passed in 0.013s

attributes and properties

will pass string data as either an attribute or a property
Passed in 0.016s

events

can imperatively listen to a DOM event dispatched by a Custom Element
Passed in 0.017s

advanced support

attributes and properties

will pass array data as a property
Passed in 0.012s

attributes and properties

will pass object data as a property
Failed

uncaught exception: AssertionError: expected '[object Object],' to deeply equal { library: 'hybrids' } (webpack:///./node_modules/chai/lib/chai/assertion.js?:152)

attributes and properties

will pass object data to a camelCase-named property
Passed in 0.013s

events

can declaratively listen to a lowercase DOM event dispatched by a Custom Element
Passed in 0.014s

events

can declaratively listen to a kebab-case DOM event dispatched by a Custom Element
Passed in 0.016s

events

can declaratively listen to a camelCase DOM event dispatched by a Custom Element
Passed in 0.016s

events

can declaratively listen to a CAPScase DOM event dispatched by a Custom Element
Passed in 0.015s

events

can declaratively listen to a PascalCase DOM event dispatched by a Custom Element
Passed in 0.014s

Version: 4.3.4
Browser: Chrome Headless 124.0.6367.60 (Linux x86_64)
Timestamp: 5/8/2024, 11:12:17 PM

16 tests / 0 errors / 1 failures / 0 skipped / runtime: 0.41s

basic support

no children

can display a Custom Element with no children
Passed in 0.158s

with children

can display a Custom Element with children in a Shadow Root
Passed in 0.002s

with children

can display a Custom Element with children in a Shadow Root and pass in Light DOM children
Passed in 0.015s

with children

can display a Custom Element with children in the Shadow DOM and handle hiding and showing the element
Passed in 0.048s

attributes and properties

will pass boolean data as either an attribute or a property
Passed in 0.022s

attributes and properties

will pass numeric data as either an attribute or a property
Passed in 0.01s

attributes and properties

will pass string data as either an attribute or a property
Passed in 0.013s

events

can imperatively listen to a DOM event dispatched by a Custom Element
Passed in 0.014s

advanced support

attributes and properties

will pass array data as a property
Passed in 0.022s

attributes and properties

will pass object data as a property
Failed

Error: Uncaught AssertionError: expected '[object Object],' to deeply equal { library: 'hybrids' } (webpack:///./node_modules/chai/lib/chai/assertion.js?:152)

attributes and properties

will pass object data to a camelCase-named property
Passed in 0.009s

events

can declaratively listen to a lowercase DOM event dispatched by a Custom Element
Passed in 0.015s

events

can declaratively listen to a kebab-case DOM event dispatched by a Custom Element
Passed in 0.016s

events

can declaratively listen to a camelCase DOM event dispatched by a Custom Element
Passed in 0.014s

events

can declaratively listen to a CAPScase DOM event dispatched by a Custom Element
Passed in 0.015s

events

can declaratively listen to a PascalCase DOM event dispatched by a Custom Element
Passed in 0.028s