I'm so new in writing scenarios for e2e
testing in Angularjs
. I want to write a scenario to test the login. I have a form which has an email field as follow:
<input type="email" placeholder="Enter your e-mail" name="email" ng-model="form.email" value="" required autofocus >
And in my scenario I'm having having the following line which tries to pass some email address to that input field:
input('form.email').enter('blabla@blabla.com');
But unfortunately I'me getting the following error after running the test:
6ms input 'form.email' enter 'blabla@blabla.com'
Selector [ng\:model="form.email"] did not match any elements.
Any suggestion?