I want to e2e test something where the visibility of a div depends on the values of two ion-datetime inputs. How can I set the value of the date input? I tried to access .value of the native element, but the ngModel isn’t bound to that.
I found a similar question which provides a solution by using the picker popover, but that is very inconvenient.
Am trying to do the same sort of thing in Ionic 6, where the ion-datetime has had a rewrite. Has anyone managed to do an e2e test (am using Cypress, but Protractor would be helpful too)?