Fix Polymer 2 tests
Bug: Issue 10930 Change-Id: I4b798f44cd2e275dd3e86824ffa106f98dfbd783
This commit is contained in:
@@ -68,7 +68,8 @@ limitations under the License.
|
||||
label = element.$$('label');
|
||||
sandbox = sinon.sandbox.create();
|
||||
flush(() => {
|
||||
input = element.$.input.inputElement;
|
||||
// In Polymer 2 inputElement isn't nativeInput anymore
|
||||
input = element.$.input.$.nativeInput || element.$.input.inputElement;
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user