Files
ionic-framework/demos/directive/footer/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

25 lines
483 B
JavaScript

---
name: simple
component: ionFooterBar
---
it('should show subfooter', function(){
var ele = element.all(by.css('.toggle'));
ele.get(0).click();
});
it('should hide subfooter', function(){
var ele = element.all(by.css('.toggle'));
ele.get(0).click();
});
it('should hide footer', function(){
var ele = element.all(by.css('.toggle'));
ele.get(1).click();
});
it('should show footer', function(){
var ele = element.all(by.css('.toggle'));
ele.get(1).click();
});