mirror of https://github.com/vuejs/vue.git
functional test fix for travis
This commit is contained in:
parent
8c7ee32caa
commit
bd835ac276
|
|
@ -1,7 +1,8 @@
|
|||
casper.test.begin('Routing', 10, function (test) {
|
||||
|
||||
casper
|
||||
.start('./fixtures/routing.html', function () {
|
||||
.start('./fixtures/routing.html')
|
||||
.then(function () {
|
||||
test.assertElementCount('div', 1)
|
||||
test.assertSelectorHasText('div', 'Hi!')
|
||||
})
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
casper.test.begin('Validation', 4, function (test) {
|
||||
|
||||
casper
|
||||
.start('./fixtures/validation.html', function () {
|
||||
.start('./fixtures/validation.html')
|
||||
.then(function () {
|
||||
test.assertElementCount('.valid', 0)
|
||||
this.sendKeys('input', '@hello.com')
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue