Commit 87cd59bc2c8a885d390d3cfe9a5f186d6b720836

Authored by Andrew Buss
1 parent f74a3662f1

add .run()

Showing 2 changed files with 1 additions and 1 deletions Inline Diff

login_test.js View file @ 87cd59b
phantom.page.injectJs( 'shim.js'); 1 1 phantom.page.injectJs( 'shim.js');
2 2
casper.test.begin('login test', 1, function(test) { 3 3 casper.test.begin('login test', 1, function(test) {
casper.start('https://flashy.cards/app/login', function() { 4 4 casper.start('https://flashy.cards/app/login', function() {
test.assertExist('.login-form'); 5 5 test.assertExist('.login-form');
}); 6 6 }).run();
}); 7 7 });

396 Bytes