Files
ionic-framework/demos/directive/checkbox/simple/test.scenario.js
Andrew Joslin 1254fcde01 chore(): e2e tests from demos, reorganize gulpfile
Conflicts:
	config/protractor.conf.js
	gulpfile.js
2014-05-28 11:48:40 -06:00

17 lines
418 B
JavaScript

---
name: simple
component: ionCheckbox
---
it('should uncheck 1st and check 2nd checkbox by clicking its label', function(){
var ele = element.all(by.css('label.item-checkbox'));
ele.get(0).click();
ele.get(1).click();
});
it('should check 1st and uncheck 2nd checkbox by clicking its label', function(){
var ele = element.all(by.css('label.item-checkbox'));
ele.get(0).click();
ele.get(1).click();
});