<test-fixture id="active">
<template>
<!-- Data binding isn't avaiable yet -->
<!-- TODO: Mark as issue and wait for it to be resolved -->
<!-- <navbar-button _label="Active" _active="{{ selected == selected }}"></navbar-button> -->
<navbar-button _label="Active"></navbar-button>
</template>
</test-fixture>
JS
assert.equal(navButton.getAttribute('_label'), "Active", "_label is not Active");
Causes:
chrome 43 ✖ views/elements/navbar-button/test/test.html » basic » test fixture active
navButton.getAttribute is not a function
The comments need to be moved out of the template tags for the error to be resolved.
HTML
<!-- Data binding isn't avaiable yet -->
<!-- TODO: Mark as issue and wait for it to be resolved -->
<!-- <navbar-button _label="Active" _active="{{ selected == selected }}"></navbar-button> -->
<test-fixture id="active">
<template>
<navbar-button _label="Active"></navbar-button>
</template>
</test-fixture>
The following code:
HTML
JS
Causes:
The comments need to be moved out of the template tags for the error to be resolved.
HTML