为什么这样做......
this.modelChoices = function(rowNumber) {
return element.all(by.repeater('model in vehicleCheckboxes.models')).get(0).isSelected();
}
it('all models should be deselected', function() {
expect(ppvPercentages.modelChoices()).to.eventually.be.false;
});
但不是吗?
this.modelChoices = function(rowNumber) {
return element.all(by.repeater('model in vehicleCheckboxes.models').row(0).column('model.description').isSelected();
还是这个?
this.modelChoices = function(rowNumber) {
return element.all(by.repeater('model in vehicleCheckboxes.models').row(0)).isSelected();
}