Skip to content

Commit bd835ac

Browse files
author
Evan You
committed
functional test fix for travis
1 parent 8c7ee32 commit bd835ac

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

test/functional/specs/routing.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
casper.test.begin('Routing', 10, function (test) {
22

33
casper
4-
.start('./fixtures/routing.html', function () {
4+
.start('./fixtures/routing.html')
5+
.then(function () {
56
test.assertElementCount('div', 1)
67
test.assertSelectorHasText('div', 'Hi!')
78
})

test/functional/specs/validation.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
casper.test.begin('Validation', 4, function (test) {
22

33
casper
4-
.start('./fixtures/validation.html', function () {
4+
.start('./fixtures/validation.html')
5+
.then(function () {
56
test.assertElementCount('.valid', 0)
67
this.sendKeys('input', '@hello.com')
78
})

0 commit comments

Comments
 (0)