I am writing acceptance tests for my ember app and one of the component take user input and validates credentials after which user can click continue and proceed ahead. The problem I am facing is as soon as tests fill in the input fields, then it clicks on the next button and andThen helper is not inducing sufficient wait or pause because of which test fails as I am setting some property once validation is completed.
Is there a way to induce delay while writing acceptance tests apart from andThen.
Aucun commentaire:
Enregistrer un commentaire