I am unable to set the input value of an ion-input uisng Jest:
setValue() cannot be called on ION-INPUT
I then tried to access the Input element inside the tag, as
wrapper.find('[data-testid="email-input"]').find('input');
does not return an element. But in the DOM you can clearly see the Input element:
Actual test error:
Cannot call setValue on an empty DOMWrapper.
Has anyone had any success with testing a Vue component that is using ? Documentation is still work in progress, showing ‘coming soon’.
Versions used:
"@ionic/cli": "6.19.0",
"@ionic/vue": "^6.0.0",
"jest": "^27.3.1",