test: refs #7075 update VnInput tests to include label and data-cy attribute
This commit is contained in:
parent
10767615de
commit
d0e2093a1c
|
@ -16,6 +16,7 @@ describe('VnInput', () => {
|
|||
maxlength: 101
|
||||
},
|
||||
attrs: {
|
||||
label: 'test',
|
||||
required: true,
|
||||
maxlength: 101,
|
||||
maxLength: 10,
|
||||
|
@ -24,7 +25,7 @@ describe('VnInput', () => {
|
|||
});
|
||||
wrapper = wrapper.wrapper;
|
||||
vm = wrapper.vm;
|
||||
input = wrapper.find('input');
|
||||
input = wrapper.find('[data-cy="test_input"]');
|
||||
};
|
||||
|
||||
describe('value', () => {
|
||||
|
|
Loading…
Reference in New Issue