ed');
              done();
            });
            MockInteractions.tap(Polymer.dom(dialog).querySelector('[dialog-confirm]'));
          });
        });

        test('dialog-confirm on a custom element handled', function(done) {
          var dialog = fixture('custom-element-button');
          runAfterOpen(dialog, function() {
            dialog.addEventListener('iron-overlay-closed', function(event) {
              assert.isFalse(event.detail.canceled, 'dialog is not canceled');
              asser