Skip to content

Commit

Permalink
Fix a broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
tomivirkki committed Mar 14, 2017
1 parent eabd4db commit 2f04c98
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/column-groups.html
Expand Up @@ -444,14 +444,15 @@
});
});

it('should hide self', function() {
it('should hide self', function(done) {
init('hidden-column');

flush(function() {
expect(grid.querySelector('vaadin-grid-column-group').hidden).to.be.false;
expect(grid.querySelector('vaadin-grid-column-group').hidden).not.to.be.true;
var columns = grid.querySelectorAll('vaadin-grid-column');
expect(columns[0].hidden).to.be.true;
expect(columns[1].hidden).to.be.false;
expect(columns[1].hidden).not.to.be.true;
done();
});
});

Expand Down

0 comments on commit 2f04c98

Please sign in to comment.