CanJS + Custom Elements

Browser: HeadlessChrome 0.0.0 (Mac OS X 10.12.6)
Timestamp: 9/7/2017, 2:26:04 PM

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

no children

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

with children

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

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

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

attributes and properties

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

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

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

will pass array data as a property
Failed

Error: Expected undefined to equal [ 'C', 'a', 'n', 'j', 's' ]
at assert (webpack:///~/expect/lib/assert.js:29:0 <- tests.webpack.js:10828:9)
at Expectation.toEqual (webpack:///~/expect/lib/Expectation.js:81:0 <- tests.webpack.js:14949:30)
at Context.<anonymous> (webpack:///src/component-tests.js:125:17 <- tests.webpack.js:16252:58)

will pass object data as a property
Failed

Error: Expected undefined to equal { org: 'canjs', repo: 'CanJS' }
at assert (webpack:///~/expect/lib/assert.js:29:0 <- tests.webpack.js:10828:9)
at Expectation.toEqual (webpack:///~/expect/lib/Expectation.js:81:0 <- tests.webpack.js:14949:30)
at Context.<anonymous> (webpack:///src/component-tests.js:132:17 <- tests.webpack.js:16259:58)

events

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

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

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

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

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

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

System output:
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-without-children'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-children'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-children'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-children'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-children'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-properties'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-properties'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-properties'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-properties'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-properties'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
Browser: Firefox 55.0.0 (Mac OS X 10.12.0)
Timestamp: 9/7/2017, 2:26:11 PM

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

no children

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

with children

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

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

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

attributes and properties

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

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

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

will pass array data as a property
Failed

Expected undefined to equal [ 'C', 'a', 'n', 'j', 's' ]
[email protected]:///~/expect/lib/assert.js:29:0 <- tests.webpack.js:10828:9
[email protected]:///~/expect/lib/Expectation.js:81:0 <- tests.webpack.js:14949:10
@webpack:///src/component-tests.js:125:4 <- tests.webpack.js:16252:5

will pass object data as a property
Failed

Expected undefined to equal { org: 'canjs', repo: 'CanJS' }
[email protected]:///~/expect/lib/assert.js:29:0 <- tests.webpack.js:10828:9
[email protected]:///~/expect/lib/Expectation.js:81:0 <- tests.webpack.js:14949:10
@webpack:///src/component-tests.js:132:4 <- tests.webpack.js:16259:5

events

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

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

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

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

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

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

System output:
Firefox 55.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-without-children'
Firefox 55.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-children'
Firefox 55.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-children'
Firefox 55.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-children'
Firefox 55.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-children'
Firefox 55.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-properties'
Firefox 55.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-properties'
Firefox 55.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-properties'
Firefox 55.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-properties'
Firefox 55.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-properties'
Firefox 55.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
Firefox 55.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
Firefox 55.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
Firefox 55.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
Firefox 55.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
Firefox 55.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'