HTML代码
<input type="text" name="fullName" class="form-control ng-pristine ng-valid-pattern ng-valid-minlength ng-valid ng-valid-required ng-touched" id="username" placeholder="Enter name" ng-model="user.fullName" ng-pattern="/^[a-zA-Z ]*$/" minlength="3" required="">
我的代码:
element(by.model('user.fullName')).getText().then(function(text){console.log(text);})
我没有收到任何错误,所有内容都只显示通过。
请帮帮我