From 9d2fe7a9a6690be1de0d6da1a923fa1d575943d3 Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Thu, 6 Sep 2018 13:27:08 -0500 Subject: [PATCH] test(text-input): select `data-text-input` rather than `bx--form-item` --- tests/spec/text-input_spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/spec/text-input_spec.js b/tests/spec/text-input_spec.js index af08b9f350c9..0d590151a274 100644 --- a/tests/spec/text-input_spec.js +++ b/tests/spec/text-input_spec.js @@ -51,7 +51,7 @@ describe('Test text input', () => { beforeAll(() => { document.body.appendChild(container); new TextInput(document.querySelector('[data-text-input]')); - textInput = document.querySelector('.bx--form-item'); + textInput = document.querySelector('[data-text-input]'); passwordVisibilityButton = document.querySelector('.bx--text-input--password__visibility'); });