Created
May 15, 2014 15:11
-
-
Save ahmadshah/e8cd4f091a75ef725314 to your computer and use it in GitHub Desktop.
Casperjs
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('Test tax incentive login page', 2, function (test) { | |
casper.start('http://dev.taxincentive.flexworklife.my', function () { | |
test.assertTitle('Flexworklife - Tax Incentive', 'Page title is correct'); | |
test.assertExists('form', 'Login form exists'); | |
}); | |
casper.run(function () { | |
test.done(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment