You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
varinput=element(by.input('limit'));vargeneratedNum=generateNum(4);input.sendKeys(generateString()).then(function(){expect(input.getAttribute('class')).toMatch(/ng-invalid/gi);});input.clear();// this doesn't clear inputinput.sendKeys(generatedNum).then(function(){refreshModel().then(function(){expect(model.limit).toBe(generatedNum);});});
Changing type to text fixes everything. I don't know, maybe it's a webdriver bug.
The text was updated successfully, but these errors were encountered:
but this solution only seems to work sometimes. often what happens is the input gets cleared but then fills in the previous value before sending the new value. i'm not sure what to do. i just updated to 3.0.0
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Changing type to
text
fixes everything. I don't know, maybe it's a webdriver bug.The text was updated successfully, but these errors were encountered: