We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c7ee32 commit bd835acCopy full SHA for bd835ac
test/functional/specs/routing.js
@@ -1,7 +1,8 @@
1
casper.test.begin('Routing', 10, function (test) {
2
3
casper
4
- .start('./fixtures/routing.html', function () {
+ .start('./fixtures/routing.html')
5
+ .then(function () {
6
test.assertElementCount('div', 1)
7
test.assertSelectorHasText('div', 'Hi!')
8
})
test/functional/specs/validation.js
casper.test.begin('Validation', 4, function (test) {
- .start('./fixtures/validation.html', function () {
+ .start('./fixtures/validation.html')
test.assertElementCount('.valid', 0)
this.sendKeys('input', '@hello.com')
0 commit comments