-
-
Save macikokoro/d20b7fb3c5511ce89f5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
casper.test.begin('check if url is your blog', 1, function suite(test){ | |
casper.start('http://personal-blog-site.herokuapp.com/', function(){ | |
this.echo(this.getHTML('.nav h1')); | |
}); | |
casper.then(function(){ | |
test.assertTextExists('my blog', 'it is in fact, your blog'); | |
}); | |
casper.run(function(){ | |
test.done(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment