// tell gestures to not turn off mouse events
        child.dispatchEvent(ev);
      }

      assert.equal(child.stream.length, 0, 'expected no taps on the child');
      assert.notEqual(el.stream.length, 0, 'expected some tracks on the parent');
      done();
    });
  });
});

suite('Buttons', function() {
  var el;

  setup(function(done) {
    el = document.createElement('x-buttons');
    document.body.appendChild(el);
    afterNextRender(null, done);
  });

  teardown(function() {
    el.parentNode.rem