Make grunt-casperjs smoketest work 1

This commit is contained in:
grosbouddha
2013-05-27 00:29:40 +02:00
parent 0cccd11683
commit 88afff89c9
2 changed files with 18 additions and 3 deletions

View File

@@ -1 +1,16 @@
// pouet
casper
.start(casper.cli.get('baseUrl'))
.then(function () {
/*this.test.assertTitle('Gougel', 'Make sure the title is set');
this.test.assertExists('.balance', 'Check if the balance is set');
this.fill('form', {
q: 'foo'
}, true);*/
this.test.assertExists('#drawing-canvas-container', 'Check if the balance is set');
})
.then(function () {
//this.test.assertUrlMatch(/www.google.com/, 'Forward the query to Google');
})
.run(function () {
this.test.done();
});