Down to 7 test failures

This commit is contained in:
Tom MacWright
2016-09-06 11:16:47 -04:00
parent fcb2c3df58
commit 6bfe6a8640
6 changed files with 12 additions and 11 deletions
+2 -1
View File
@@ -37,8 +37,9 @@ describe('iD.ui.RawTagEditor', function() {
});
it('adds tags when clicking the add button', function (done) {
iD.util.triggerEvent(element.selectAll('button.add-tag'), 'click');
happen.click(element.selectAll('button.add-tag').node());
setTimeout(function() {
console.log(element.select('.tag-list').selectAll('input').nodes());
expect(element.select('.tag-list').selectAll('input').nodes()[2].value).to.be.empty;
expect(element.select('.tag-list').selectAll('input').nodes()[3].value).to.be.empty;
done();