Skip to content

Commit

Permalink
Merge pull request #4373 from zuohaocheng/master
Browse files Browse the repository at this point in the history
Fix bug: expectRowCount will get doubled row count if there're pinned columns
  • Loading branch information
swalters committed Sep 15, 2015
2 parents f596128 + c228b97 commit 6c9350c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/gridTestUtils.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ module.exports = {
*/
expectRowCount: function( gridId, expectedNumRows ) {

var rows = this.getGrid( gridId ).all( by.repeater('(rowRenderIndex, row) in rowContainer.renderedRows track by $index') );
var rows = this.getGrid( gridId ).element( by.css('.ui-grid-render-container-body')).all( by.repeater('(rowRenderIndex, row) in rowContainer.renderedRows track by $index') );
expect(rows.count()).toEqual(expectedNumRows);
},

Expand Down

0 comments on commit 6c9350c

Please sign in to comment.