- add tests casper JS on coupon
This commit is contained in:
gmorel
2013-09-11 17:10:36 +02:00
parent 8d71bfecc5
commit 33d6c85052
2 changed files with 17 additions and 10 deletions

View File

@@ -22,10 +22,17 @@ casper.start(thelia2_login_coupon_update_url, function() {
$('#category-rule').val('thelia.constraint.rule.available_for_x_articles').change();
return true;
});
this.capture('screenshot-category-rule.png');
this.capture('tests/functionnal/casperjs/pictures/screenshot-category-rule.png');
// this.click('constraint-list > tr:last-child > td > a.constraint-update-btn');
});
casper.wait(1000, function() {
this.echo("\nWaiting....");
});
casper.then(function(){
});
////EDIT CHECK
// @todo implement