test: fix unit tests, update snapshots

This commit is contained in:
woothu
2019-10-21 16:48:13 +02:00
parent d2e7838db6
commit 0ed0b7bbce
45 changed files with 1329 additions and 2052 deletions
@@ -6,6 +6,7 @@ exports[`Login.vue renders correctly 1`] = `
>
<crow-stub
class="justify-content-center"
gutters="true"
>
<ccol-stub
md="8"
@@ -14,13 +15,8 @@ exports[`Login.vue renders correctly 1`] = `
<ccardgroup-stub>
<ccard-stub
class="p-4"
subtitletag="h6"
titletag="h4"
>
<ccardbody-stub
subtitletag="h6"
titletag="h4"
>
<ccardbody-stub>
<cform-stub>
<h1>
Login
@@ -32,20 +28,25 @@ exports[`Login.vue renders correctly 1`] = `
Sign In to your account
</p>
<cinput
<cinput-stub
autocomplete="username email"
lazy="400"
placeholder="Username"
prependhtml=<i class='cui-user'></i>
type="text"
/>
<cinput
<cinput-stub
autocomplete="curent-password"
lazy="400"
placeholder="Password"
prependhtml=<i class='cui-lock-locked'></i>
type="password"
/>
<crow-stub>
<crow-stub
gutters="true"
>
<ccol-stub
col="6"
tag="div"
@@ -90,8 +91,6 @@ exports[`Login.vue renders correctly 1`] = `
<ccard-stub
bodywrapper="true"
class="text-white text-center bg-primary py-5 d-md-down-none"
subtitletag="h6"
titletag="h4"
>
<h2>
Sign up
@@ -6,6 +6,7 @@ exports[`Page404.vue renders correctly 1`] = `
>
<crow-stub
class="w-100 justify-content-center"
gutters="true"
>
<ccol-stub
md="6"
@@ -36,10 +37,12 @@ exports[`Page404.vue renders correctly 1`] = `
</p>
</div>
<cinput
<cinput-stub
class="mb-3"
lazy="400"
placeholder="What are you looking for?"
prependhtml=<i class='cui-magnifying-glass'></i>
type="text"
/>
</div>
</ccol-stub>
@@ -6,6 +6,7 @@ exports[`Page500.vue renders correctly 1`] = `
>
<crow-stub
class="w-100 justify-content-center"
gutters="true"
>
<ccol-stub
md="6"
@@ -33,10 +34,12 @@ exports[`Page500.vue renders correctly 1`] = `
</p>
</div>
<cinput
<cinput-stub
class="mb-3"
lazy="400"
placeholder="What are you looking for?"
prependhtml=<i class='cui-magnifying-glass'></i>
type="text"
/>
</ccol-stub>
</crow-stub>
@@ -6,6 +6,7 @@ exports[`Register.vue renders correctly 1`] = `
>
<crow-stub
class="w-100 justify-content-center"
gutters="true"
>
<ccol-stub
md="6"
@@ -14,13 +15,9 @@ exports[`Register.vue renders correctly 1`] = `
>
<ccard-stub
class="mx-4 mb-0"
subtitletag="h6"
titletag="h4"
>
<ccardbody-stub
class="p-4"
subtitletag="h6"
titletag="h4"
>
<cform-stub>
<h1>
@@ -33,28 +30,34 @@ exports[`Register.vue renders correctly 1`] = `
Create your account
</p>
<cinput
<cinput-stub
autocomplete="username"
lazy="400"
placeholder="Username"
prependhtml=<i class='cui-user'></i>
type="text"
/>
<cinput
<cinput-stub
autocomplete="email"
lazy="400"
placeholder="Email"
prepend-html="@"
prependhtml="@"
type="text"
/>
<cinput
<cinput-stub
autocomplete="new-password"
lazy="400"
placeholder="Password"
prependhtml=<i class='cui-lock-locked'></i>
type="password"
/>
<cinput
<cinput-stub
autocomplete="new-password"
class="mb-4"
lazy="400"
placeholder="Repeat password"
prependhtml=<i class='cui-lock-locked'></i>
type="password"
@@ -77,10 +80,10 @@ exports[`Register.vue renders correctly 1`] = `
<ccardfooter-stub
class="p-4"
subtitletag="h6"
titletag="h4"
>
<crow-stub>
<crow-stub
gutters="true"
>
<ccol-stub
col="6"
tag="div"