protractor bootstrap validation pop message

落花浮王杯 提交于 2020-01-05 07:05:45

问题


I want to do the validation using protractor for bootstrap pop up. I used the below code it ran successfully three times but now its getting null.

element.all(by.css("input:required")).first().getText().then(function(text) {
    console.log(text);
    expect(text.should.be.equal("Please fill out this field."));
})

The pop up is similar to this: https://github.com/angular/protractor/issues/1209

来源:https://stackoverflow.com/questions/51674254/protractor-bootstrap-validation-pop-message

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!