Intermediate version not finished, implement dialogs for configurations instead of json_editor usage
This commit is contained in:
@@ -20,21 +20,21 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
<script src="../bower_components/web-component-tester/browser.js"></script>
|
||||
|
||||
<!-- Import the element to test -->
|
||||
<link rel="import" href="../src/my-view1.html">
|
||||
<link rel="import" href="../src/settings-view.html">
|
||||
</head>
|
||||
<body>
|
||||
<test-fixture id="BasicView">
|
||||
<template>
|
||||
<my-view1></my-view1>
|
||||
<settings-view></settings-view>
|
||||
</template>
|
||||
</test-fixture>
|
||||
|
||||
<script>
|
||||
suite('my-view1 tests', function() {
|
||||
test('Number in circle should be 1', function() {
|
||||
suite('settings-view tests', function() {
|
||||
test('Number in circle should be 2', function() {
|
||||
var myView = fixture('BasicView');
|
||||
var circle = myView.shadowRoot.querySelector('.circle');
|
||||
assert.equal(circle.textContent, '1');
|
||||
assert.equal(circle.textContent, '2');
|
||||
});
|
||||
});
|
||||
</script>
|
Reference in New Issue
Block a user