mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
test
This commit is contained in:
parent
88afff89c9
commit
3b6d5aeea1
@ -7,7 +7,7 @@ module.exports = function(grunt) {
|
||||
files: [
|
||||
'Gruntfile.js',
|
||||
'package.json',
|
||||
'source/**/*.js'/*,
|
||||
'js/**/*.js'/*,
|
||||
'<%= nodeunit.tests %>'*/
|
||||
]
|
||||
},
|
||||
@ -33,7 +33,7 @@ module.exports = function(grunt) {
|
||||
options: {
|
||||
args: {
|
||||
baseUrl: 'http://localhost:' +
|
||||
'<%= connect.www.options.port %>/index.html'
|
||||
'<%= connect.www.options.port %>/'
|
||||
},
|
||||
direct: false,
|
||||
logLevel: 'error',
|
||||
|
@ -1,16 +1,8 @@
|
||||
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();
|
||||
});
|
Loading…
Reference in New Issue
Block a user