在我的页面中有2ng--重复“小部件中的小部件”,“widgetsOnPage中的小部件”。当我试图通过element.all(by.repeater('widget in widgets'));定位一个元素时,它会从这两个重复中找到元素。我还尝试在量角器示例测试("\node_modules\protractor\example\example_spec.js")中将“todo in todos”中继器更改为:
我想使用量角器从中继器中获取元素。通常,当中继器是“用户中的用户”时,我使用: element (by.repeater("user in user“).row(FriendNumber)),所以我以这种方式从这个中继器访问第一个元素。但是我已经遇到了一个更复杂的中继器-- "user (offline=(username:‘username’\ filter:{online:f
我在我的页面中使用了带有ng-options的四个ng-options,它将检索不同的信息。ng-options="lawyer.uuid as lawyer.name for lawyer in model.lawyers"></div>
我如何用量角器测试这个,以确保只有x(例如2)个律师返回?由于