Skip to content

Commit

Permalink
test(text-input): select data-text-input rather than bx--form-item
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Sep 6, 2018
1 parent b179020 commit 9d2fe7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/spec/text-input_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});

Expand Down

0 comments on commit 9d2fe7a

Please sign in to comment.