CanJS + Custom Elements

Browser: FirefoxHeadless
Timestamp: 2018-5-14 11:22:03

15 tests / 0 errors / 2 failures / 0 skipped / runtime: 0.402s

basic support

no children

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

with children

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

with children

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

with children

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

attributes and properties

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

attributes and properties

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

attributes and properties

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

events

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

advanced support

attributes and properties

will pass array data as a property
Failed

expected undefined to deeply equal [ 'C', 'a', 'n', 'j', 's' ]
[email protected]:///node_modules/assertion-error/index.js:74:0 <- tests.webpack.js:17998:13
module.exports/[email protected]:///node_modules/chai/lib/chai/assertion.js:141:0 <- tests.webpack.js:25640:13
[email protected]:///node_modules/chai/lib/chai/core/assertions.js:1080:0 <- tests.webpack.js:26750:5
[email protected]:///node_modules/chai/lib/chai/utils/addMethod.js:57:0 <- tests.webpack.js:24770:18
@webpack:///src/advanced-tests.js:57:6 <- tests.webpack.js:36330:7

attributes and properties

will pass object data as a property
Failed

expected undefined to deeply equal { org: 'canjs', repo: 'CanJS' }
[email protected]:///node_modules/assertion-error/index.js:74:0 <- tests.webpack.js:17998:13
module.exports/[email protected]:///node_modules/chai/lib/chai/assertion.js:141:0 <- tests.webpack.js:25640:13
[email protected]:///node_modules/chai/lib/chai/core/assertions.js:1080:0 <- tests.webpack.js:26750:5
[email protected]:///node_modules/chai/lib/chai/utils/addMethod.js:57:0 <- tests.webpack.js:24770:18
@webpack:///src/advanced-tests.js:65:6 <- tests.webpack.js:36338:7

events

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

events

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

events

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

events

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

events

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

Browser: HeadlessChrome 0.0.0 (Mac OS X 10.13.4)
Timestamp: 2018-5-14 11:22:05

15 tests / 0 errors / 2 failures / 0 skipped / runtime: 0.311s

basic support

no children

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

with children

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

with children

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

with children

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

attributes and properties

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

attributes and properties

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

attributes and properties

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

events

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

advanced support

attributes and properties

will pass array data as a property
Failed

AssertionError: expected undefined to deeply equal [ 'C', 'a', 'n', 'j', 's' ]
at Context.<anonymous> (webpack:///src/advanced-tests.js:57:22 <- tests.webpack.js:36330:69)

attributes and properties

will pass object data as a property
Failed

AssertionError: expected undefined to deeply equal { org: 'canjs', repo: 'CanJS' }
at Context.<anonymous> (webpack:///src/advanced-tests.js:65:22 <- tests.webpack.js:36338:69)

events

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

events

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

events

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

events

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

events

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