test: refs #7075 update VnInput tests to include label and data-cy attribute

This commit is contained in:
Jose Antonio Tubau 2025-01-14 08:45:21 +01:00
parent 10767615de
commit d0e2093a1c
1 changed files with 2 additions and 1 deletions

View File

@ -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', () => {