Remove buggy focus test.

master
Jonathan Garbee 2015-12-15 08:54:12 -05:00
parent 5b491f6f98
commit 6c98cc1173
1 changed files with 0 additions and 9 deletions

View File

@ -75,13 +75,4 @@ describe('MaterialTextfield', function () {
componentHandler.upgradeElement(el);
expect(el.classList.contains('is-invalid')).to.equal(true);
});
it('should focus with an autofocus attribute', function () {
var el = createSingleLineTextfield();
el.querySelector('input').setAttribute('autofocus', '');
document.body.appendChild(el);
componentHandler.upgradeElement(el);
expect(el.classList.contains('is-focused')).to.equal(true);
document.body.removeChild(el);
});
});