This repository was archived by the owner on Jul 29, 2024. It is now read-only.
Description Hi,
We noticed that protractor does not works correctly in case of debounce property is setup in ng-model-options of the control like below:
<div class="input-group">
<input id="email" type="text" inputmode="email" ng-model="user.email" name="uEmail" required class="form_control std-rounded" placeholder="email address"
ng-model-options="{ debounce: 10000 }" ng-focus="focus('email');">
</div>
<div class="input-group">
<input id="password" novalidate ng-minlength="6" type="password" inputmode="paidessword" name="uPassword" ng-model="user.password" required class="form_control std-rounded" placeholder="password"
ng-model-options="{ debounce: 10000 }" ng-focus="focus('password');">
ng-focus="focus('password');">
</div>
When you run something like this:
var txtEmail = element(by.model('user.email'));
var txtPassword = element(by.model('user.password'));
var btnSignIn = element(by.buttonText('Sign In'));
...
txtEmail.sendKeys("qqq@asd.com ");
txtPassword.sendKeys("qqqqq");
btnSignIn.click();
....click will be performed prior to txtPassword field will be populated.
Reactions are currently unavailable
Hi,
We noticed that protractor does not works correctly in case of debounce property is setup in ng-model-options of the control like below:
When you run something like this:
var txtEmail = element(by.model('user.email'));
var txtPassword = element(by.model('user.password'));
var btnSignIn = element(by.buttonText('Sign In'));
...
txtEmail.sendKeys("qqq@asd.com");
txtPassword.sendKeys("qqqqq");
btnSignIn.click();
....click will be performed prior to txtPassword field will be populated.