From 6c98cc11735d9a6d92b6fc28337bd1a7bfb8d942 Mon Sep 17 00:00:00 2001 From: Jonathan Garbee Date: Tue, 15 Dec 2015 08:54:12 -0500 Subject: [PATCH] Remove buggy focus test. --- test/unit/textfield.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/unit/textfield.js b/test/unit/textfield.js index 389c1186..c42d4fad 100644 --- a/test/unit/textfield.js +++ b/test/unit/textfield.js @@ -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); - }); });