From f28f58441652983a9161b91be251bf9264cd489d Mon Sep 17 00:00:00 2001 From: Steve Orvell Date: Tue, 22 Oct 2013 18:12:40 -0700 Subject: [PATCH] update tests --- test/html/event-handlers.html | 45 +++++++++++++++++++++++++++-------- test/js/events.js | 22 +---------------- 2 files changed, 36 insertions(+), 31 deletions(-) diff --git a/test/html/event-handlers.html b/test/html/event-handlers.html index 710d680383..839ad28995 100644 --- a/test/html/event-handlers.html +++ b/test/html/event-handlers.html @@ -27,33 +27,37 @@ } -
Tap me! +
Tap me!
focusy -
+
- - - diff --git a/test/js/events.js b/test/js/events.js index b09f685938..a26b0fd94c 100644 --- a/test/js/events.js +++ b/test/js/events.js @@ -43,30 +43,10 @@ suite('events', function() { done(); }, 0); }); - - /*test('host events order', function() { - createTestElement('x-foo'); - createTestElement('x-bar', ''); - var bar = document.createElement('x-bar'); - work.appendChild(bar); - // click on x-foo - bar.webkitShadowRoot.childNodes[0].click(); - assert.equal(results.textContent, 'x-foox-bar'); - }); - - test('host events order more', function() { - createTestElement('x-foo'); - createTestElement('x-bar', ''); - createTestElement('x-zot', ''); - var zot = document.createElement('x-zot'); - work.appendChild(zot); - // click on x-foo - zot.webkitShadowRoot.childNodes[0].webkitShadowRoot.childNodes[0].click(); - assert.equal(results.textContent, 'x-foox-barx-zot'); - });*/ }); htmlSuite('events-declarative', function() { + htmlTest('html/event-handlers.html'); htmlTest('html/event-path.html'); htmlTest('html/event-path-declarative.html'); }); \ No newline at end of file