Skip to content

Commit

Permalink
Make test work under native Shadow DOM.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Nov 10, 2015
1 parent 3ece552 commit 4f9c2bd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/unit/dom-repeat.html
Original file line number Diff line number Diff line change
Expand Up @@ -1317,6 +1317,8 @@ <h4>x-repeat-chunked</h4>
done();
});
});
} else {
done();
}
});

Expand Down Expand Up @@ -3222,7 +3224,7 @@ <h4>x-repeat-chunked</h4>
setTimeout(function() {
var stamped1 = Polymer.dom(primitive.$.container1).querySelectorAll('*:not(template)');
for (var i=0; i<items.length; i++) {
assert.equal(stamped1[i].textContent, items[i]);
assert.equal(stamped1[i].itemaProp, items[i]);
}
var prev = items.slice();
items.sort();
Expand All @@ -3235,7 +3237,7 @@ <h4>x-repeat-chunked</h4>
setTimeout(function() {
var stamped1 = Polymer.dom(primitive.$.container1).querySelectorAll('*:not(template)');
for (var i=0; i<items.length; i++) {
assert.equal(stamped1[i].textContent, items[i]);
assert.equal(stamped1[i].itemaProp, items[i]);
}
done();
});
Expand Down

0 comments on commit 4f9c2bd

Please sign in to comment.