This commit is contained in:
Pooya Parsa 2017-10-07 12:07:21 +03:30
parent f469584262
commit 45840bf064

View File

@ -104,11 +104,12 @@ test('/validate -> should display a 404', async t => {
t.true(html.includes('This page could not be found'))
})
test.failing('fix me (#1705)', '/validate?valid=true', async t => {
const window = await nuxt.renderAndGetWindow(url('/validate?valid=true'))
const html = window.document.body.innerHTML
t.true(html.includes('I am valid</h1>'))
})
test.todo('/validate?valid=true (#1705)')
// test('/validate?valid=true', async t => {
// const window = await nuxt.renderAndGetWindow(url('/validate?valid=true'))
// const html = window.document.body.innerHTML
// t.true(html.includes('I am valid</h1>'))
// })
test('/redirect should not be server-rendered', async t => {
const html = await rp(url('/redirect'))