test: update snapshots and tests
This commit is contained in:
@@ -49,57 +49,57 @@ exports[`Alerts.vue renders correctly 1`] = `
|
||||
<p />
|
||||
|
||||
<calert-stub
|
||||
color="primary"
|
||||
show="true"
|
||||
variant="primary"
|
||||
>
|
||||
Primary Alert
|
||||
</calert-stub>
|
||||
|
||||
<calert-stub
|
||||
color="secondary"
|
||||
show="true"
|
||||
variant="secondary"
|
||||
>
|
||||
Secondary Alert
|
||||
</calert-stub>
|
||||
|
||||
<calert-stub
|
||||
color="success"
|
||||
show="true"
|
||||
variant="success"
|
||||
>
|
||||
Success Alert
|
||||
</calert-stub>
|
||||
|
||||
<calert-stub
|
||||
color="danger"
|
||||
show="true"
|
||||
variant="danger"
|
||||
>
|
||||
Danger Alert
|
||||
</calert-stub>
|
||||
|
||||
<calert-stub
|
||||
color="warning"
|
||||
show="true"
|
||||
variant="warning"
|
||||
>
|
||||
Warning Alert
|
||||
</calert-stub>
|
||||
|
||||
<calert-stub
|
||||
color="info"
|
||||
show="true"
|
||||
variant="info"
|
||||
>
|
||||
Info Alert
|
||||
</calert-stub>
|
||||
|
||||
<calert-stub
|
||||
color="light"
|
||||
show="true"
|
||||
variant="light"
|
||||
>
|
||||
Light Alert
|
||||
</calert-stub>
|
||||
|
||||
<calert-stub
|
||||
color="dark"
|
||||
show="true"
|
||||
variant="dark"
|
||||
>
|
||||
Dark Alert
|
||||
</calert-stub>
|
||||
@@ -141,8 +141,8 @@ exports[`Alerts.vue renders correctly 1`] = `
|
||||
>
|
||||
<div>
|
||||
<calert-stub
|
||||
color="primary"
|
||||
show="true"
|
||||
variant="primary"
|
||||
>
|
||||
|
||||
Primary Alert with
|
||||
@@ -157,8 +157,8 @@ exports[`Alerts.vue renders correctly 1`] = `
|
||||
</calert-stub>
|
||||
|
||||
<calert-stub
|
||||
color="secondary"
|
||||
show="true"
|
||||
variant="secondary"
|
||||
>
|
||||
|
||||
Secondary Alert with
|
||||
@@ -173,8 +173,8 @@ exports[`Alerts.vue renders correctly 1`] = `
|
||||
</calert-stub>
|
||||
|
||||
<calert-stub
|
||||
color="success"
|
||||
show="true"
|
||||
variant="success"
|
||||
>
|
||||
|
||||
Success Alert with
|
||||
@@ -189,8 +189,8 @@ exports[`Alerts.vue renders correctly 1`] = `
|
||||
</calert-stub>
|
||||
|
||||
<calert-stub
|
||||
color="danger"
|
||||
show="true"
|
||||
variant="danger"
|
||||
>
|
||||
|
||||
Danger Alert with
|
||||
@@ -205,8 +205,8 @@ exports[`Alerts.vue renders correctly 1`] = `
|
||||
</calert-stub>
|
||||
|
||||
<calert-stub
|
||||
color="warning"
|
||||
show="true"
|
||||
variant="warning"
|
||||
>
|
||||
|
||||
Warning Alert with
|
||||
@@ -221,8 +221,8 @@ exports[`Alerts.vue renders correctly 1`] = `
|
||||
</calert-stub>
|
||||
|
||||
<calert-stub
|
||||
color="info"
|
||||
show="true"
|
||||
variant="info"
|
||||
>
|
||||
|
||||
Info Alert with
|
||||
@@ -237,8 +237,8 @@ exports[`Alerts.vue renders correctly 1`] = `
|
||||
</calert-stub>
|
||||
|
||||
<calert-stub
|
||||
color="light"
|
||||
show="true"
|
||||
variant="light"
|
||||
>
|
||||
|
||||
Light Alert with
|
||||
@@ -253,8 +253,8 @@ exports[`Alerts.vue renders correctly 1`] = `
|
||||
</calert-stub>
|
||||
|
||||
<calert-stub
|
||||
color="dark"
|
||||
show="true"
|
||||
variant="dark"
|
||||
>
|
||||
|
||||
Dark Alert with
|
||||
@@ -307,8 +307,8 @@ exports[`Alerts.vue renders correctly 1`] = `
|
||||
titletag="h4"
|
||||
>
|
||||
<calert-stub
|
||||
color="success"
|
||||
show="true"
|
||||
variant="success"
|
||||
>
|
||||
<h4
|
||||
class="alert-heading"
|
||||
@@ -367,8 +367,8 @@ exports[`Alerts.vue renders correctly 1`] = `
|
||||
>
|
||||
<calert-stub
|
||||
closebutton="true"
|
||||
color="secondary"
|
||||
show="true"
|
||||
variant="secondary"
|
||||
>
|
||||
|
||||
Dismissible Alert!
|
||||
@@ -377,9 +377,9 @@ exports[`Alerts.vue renders correctly 1`] = `
|
||||
|
||||
<calert-stub
|
||||
closebutton="true"
|
||||
color="secondary"
|
||||
fade="true"
|
||||
show="true"
|
||||
variant="secondary"
|
||||
>
|
||||
|
||||
Dismissible Alert with fade effect!
|
||||
@@ -388,19 +388,19 @@ exports[`Alerts.vue renders correctly 1`] = `
|
||||
|
||||
<calert-stub
|
||||
class="alert-dismissible"
|
||||
color="secondary"
|
||||
show="true"
|
||||
variant="secondary"
|
||||
/>
|
||||
|
||||
<cbutton-stub
|
||||
activeclass="active"
|
||||
class="m-1"
|
||||
color="info"
|
||||
event="click"
|
||||
exactactiveclass="active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
variant="info"
|
||||
>
|
||||
|
||||
Show dismissible alerts
|
||||
@@ -434,9 +434,9 @@ exports[`Alerts.vue renders correctly 1`] = `
|
||||
<div>
|
||||
<calert-stub
|
||||
closebutton="true"
|
||||
color="warning"
|
||||
fade="true"
|
||||
show="10"
|
||||
variant="warning"
|
||||
>
|
||||
|
||||
Alert will dismiss after
|
||||
@@ -450,30 +450,30 @@ exports[`Alerts.vue renders correctly 1`] = `
|
||||
|
||||
<calert-stub
|
||||
closebutton="true"
|
||||
color="info"
|
||||
show="10"
|
||||
variant="info"
|
||||
>
|
||||
|
||||
Alert will dismiss after 10 seconds...
|
||||
|
||||
<cprogress-stub
|
||||
color="info"
|
||||
height="4px"
|
||||
max="10"
|
||||
precision="0"
|
||||
value="10"
|
||||
variant="info"
|
||||
/>
|
||||
</calert-stub>
|
||||
|
||||
<cbutton-stub
|
||||
activeclass="active"
|
||||
class="m-1"
|
||||
color="info"
|
||||
event="click"
|
||||
exactactiveclass="active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
variant="info"
|
||||
>
|
||||
|
||||
Show alert with timer
|
||||
|
||||
@@ -48,7 +48,8 @@ exports[`Badges.vue renders correctly 1`] = `
|
||||
<h2>
|
||||
Example heading
|
||||
<span
|
||||
class="badge badge-primary"
|
||||
class="badge"
|
||||
color="primary"
|
||||
>
|
||||
New
|
||||
</span>
|
||||
@@ -57,7 +58,8 @@ exports[`Badges.vue renders correctly 1`] = `
|
||||
<h3>
|
||||
Example heading
|
||||
<span
|
||||
class="badge badge-primary"
|
||||
class="badge"
|
||||
color="primary"
|
||||
>
|
||||
New
|
||||
</span>
|
||||
@@ -66,7 +68,8 @@ exports[`Badges.vue renders correctly 1`] = `
|
||||
<h4>
|
||||
Example heading
|
||||
<span
|
||||
class="badge badge-primary"
|
||||
class="badge"
|
||||
color="primary"
|
||||
>
|
||||
New
|
||||
</span>
|
||||
@@ -75,7 +78,8 @@ exports[`Badges.vue renders correctly 1`] = `
|
||||
<h5>
|
||||
Example heading
|
||||
<span
|
||||
class="badge badge-primary"
|
||||
class="badge"
|
||||
color="primary"
|
||||
>
|
||||
New
|
||||
</span>
|
||||
@@ -84,7 +88,8 @@ exports[`Badges.vue renders correctly 1`] = `
|
||||
<h6>
|
||||
Example heading
|
||||
<span
|
||||
class="badge badge-primary"
|
||||
class="badge"
|
||||
color="primary"
|
||||
>
|
||||
New
|
||||
</span>
|
||||
@@ -95,15 +100,16 @@ exports[`Badges.vue renders correctly 1`] = `
|
||||
class="card-footer"
|
||||
>
|
||||
<button
|
||||
class="btn btn-primary"
|
||||
class="btn"
|
||||
color="primary"
|
||||
type="button"
|
||||
>
|
||||
|
||||
Notifications
|
||||
|
||||
<span
|
||||
class="badge badge-light"
|
||||
style="position: static;"
|
||||
class="badge ml-2 position-static"
|
||||
color="light"
|
||||
>
|
||||
4
|
||||
</span>
|
||||
@@ -139,49 +145,57 @@ exports[`Badges.vue renders correctly 1`] = `
|
||||
<!---->
|
||||
<!---->
|
||||
<span
|
||||
class="badge badge-primary"
|
||||
class="badge"
|
||||
color="primary"
|
||||
>
|
||||
Primary
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="badge badge-secondary"
|
||||
class="badge"
|
||||
color="secondary"
|
||||
>
|
||||
Secondary
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="badge badge-success"
|
||||
class="badge"
|
||||
color="success"
|
||||
>
|
||||
Success
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="badge badge-danger"
|
||||
class="badge"
|
||||
color="danger"
|
||||
>
|
||||
Danger
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="badge badge-warning"
|
||||
class="badge"
|
||||
color="warning"
|
||||
>
|
||||
Warning
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="badge badge-info"
|
||||
class="badge"
|
||||
color="info"
|
||||
>
|
||||
Info
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="badge badge-light"
|
||||
class="badge"
|
||||
color="light"
|
||||
>
|
||||
Light
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="badge badge-dark"
|
||||
class="badge"
|
||||
color="dark"
|
||||
>
|
||||
Dark
|
||||
</span>
|
||||
@@ -212,49 +226,57 @@ exports[`Badges.vue renders correctly 1`] = `
|
||||
<!---->
|
||||
<!---->
|
||||
<span
|
||||
class="badge badge-primary badge-pill"
|
||||
class="badge badge-pill"
|
||||
color="primary"
|
||||
>
|
||||
Primary
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="badge badge-secondary badge-pill"
|
||||
class="badge badge-pill"
|
||||
color="secondary"
|
||||
>
|
||||
Secondary
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="badge badge-success badge-pill"
|
||||
class="badge badge-pill"
|
||||
color="success"
|
||||
>
|
||||
Success
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="badge badge-danger badge-pill"
|
||||
class="badge badge-pill"
|
||||
color="danger"
|
||||
>
|
||||
Danger
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="badge badge-warning badge-pill"
|
||||
class="badge badge-pill"
|
||||
color="warning"
|
||||
>
|
||||
Warning
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="badge badge-info badge-pill"
|
||||
class="badge badge-pill"
|
||||
color="info"
|
||||
>
|
||||
Info
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="badge badge-light badge-pill"
|
||||
class="badge badge-pill"
|
||||
color="light"
|
||||
>
|
||||
Light
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="badge badge-dark badge-pill"
|
||||
class="badge badge-pill"
|
||||
color="dark"
|
||||
>
|
||||
Dark
|
||||
</span>
|
||||
@@ -285,7 +307,8 @@ exports[`Badges.vue renders correctly 1`] = `
|
||||
<!---->
|
||||
<!---->
|
||||
<a
|
||||
class="badge badge-primary"
|
||||
class="badge"
|
||||
color="primary"
|
||||
href="#"
|
||||
target="_self"
|
||||
>
|
||||
@@ -293,7 +316,8 @@ exports[`Badges.vue renders correctly 1`] = `
|
||||
</a>
|
||||
|
||||
<a
|
||||
class="badge badge-secondary"
|
||||
class="badge"
|
||||
color="secondary"
|
||||
href="#"
|
||||
target="_self"
|
||||
>
|
||||
@@ -301,7 +325,8 @@ exports[`Badges.vue renders correctly 1`] = `
|
||||
</a>
|
||||
|
||||
<a
|
||||
class="badge badge-success"
|
||||
class="badge"
|
||||
color="success"
|
||||
href="#"
|
||||
target="_self"
|
||||
>
|
||||
@@ -309,7 +334,8 @@ exports[`Badges.vue renders correctly 1`] = `
|
||||
</a>
|
||||
|
||||
<a
|
||||
class="badge badge-danger"
|
||||
class="badge"
|
||||
color="danger"
|
||||
href="#"
|
||||
target="_self"
|
||||
>
|
||||
@@ -317,7 +343,8 @@ exports[`Badges.vue renders correctly 1`] = `
|
||||
</a>
|
||||
|
||||
<a
|
||||
class="badge badge-warning"
|
||||
class="badge"
|
||||
color="warning"
|
||||
href="#"
|
||||
target="_self"
|
||||
>
|
||||
@@ -325,7 +352,8 @@ exports[`Badges.vue renders correctly 1`] = `
|
||||
</a>
|
||||
|
||||
<a
|
||||
class="badge badge-info"
|
||||
class="badge"
|
||||
color="info"
|
||||
href="#"
|
||||
target="_self"
|
||||
>
|
||||
@@ -333,7 +361,8 @@ exports[`Badges.vue renders correctly 1`] = `
|
||||
</a>
|
||||
|
||||
<a
|
||||
class="badge badge-light"
|
||||
class="badge"
|
||||
color="light"
|
||||
href="#"
|
||||
target="_self"
|
||||
>
|
||||
@@ -341,7 +370,8 @@ exports[`Badges.vue renders correctly 1`] = `
|
||||
</a>
|
||||
|
||||
<a
|
||||
class="badge badge-dark"
|
||||
class="badge"
|
||||
color="dark"
|
||||
href="#"
|
||||
target="_self"
|
||||
>
|
||||
|
||||
@@ -48,12 +48,12 @@ exports[`Modals.vue renders correctly 1`] = `
|
||||
<cbutton-stub
|
||||
activeclass="active"
|
||||
class="mr-1"
|
||||
color="secondary"
|
||||
event="click"
|
||||
exactactiveclass="active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
variant="secondary"
|
||||
>
|
||||
|
||||
Launch demo modal
|
||||
@@ -63,12 +63,12 @@ exports[`Modals.vue renders correctly 1`] = `
|
||||
<cbutton-stub
|
||||
activeclass="active"
|
||||
class="mr-1"
|
||||
color="secondary"
|
||||
event="click"
|
||||
exactactiveclass="active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
variant="secondary"
|
||||
>
|
||||
|
||||
Launch large modal
|
||||
@@ -78,12 +78,12 @@ exports[`Modals.vue renders correctly 1`] = `
|
||||
<cbutton-stub
|
||||
activeclass="active"
|
||||
class="mr-1"
|
||||
color="secondary"
|
||||
event="click"
|
||||
exactactiveclass="active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
variant="secondary"
|
||||
>
|
||||
|
||||
Launch small modal
|
||||
@@ -95,12 +95,12 @@ exports[`Modals.vue renders correctly 1`] = `
|
||||
<cbutton-stub
|
||||
activeclass="active"
|
||||
class="mr-1"
|
||||
color="primary"
|
||||
event="click"
|
||||
exactactiveclass="active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
variant="primary"
|
||||
>
|
||||
|
||||
Launch primary modal
|
||||
@@ -110,12 +110,12 @@ exports[`Modals.vue renders correctly 1`] = `
|
||||
<cbutton-stub
|
||||
activeclass="active"
|
||||
class="mr-1"
|
||||
color="success"
|
||||
event="click"
|
||||
exactactiveclass="active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
variant="success"
|
||||
>
|
||||
|
||||
Launch success modal
|
||||
@@ -125,12 +125,12 @@ exports[`Modals.vue renders correctly 1`] = `
|
||||
<cbutton-stub
|
||||
activeclass="active"
|
||||
class="mr-1"
|
||||
color="warning"
|
||||
event="click"
|
||||
exactactiveclass="active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
variant="warning"
|
||||
>
|
||||
|
||||
Launch warning modal
|
||||
@@ -140,12 +140,12 @@ exports[`Modals.vue renders correctly 1`] = `
|
||||
<cbutton-stub
|
||||
activeclass="active"
|
||||
class="mr-1"
|
||||
color="danger"
|
||||
event="click"
|
||||
exactactiveclass="active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
variant="danger"
|
||||
>
|
||||
|
||||
Launch danger modal
|
||||
@@ -155,12 +155,12 @@ exports[`Modals.vue renders correctly 1`] = `
|
||||
<cbutton-stub
|
||||
activeclass="active"
|
||||
class="mr-1"
|
||||
color="info"
|
||||
event="click"
|
||||
exactactiveclass="active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
variant="info"
|
||||
>
|
||||
|
||||
Launch info modal
|
||||
@@ -170,12 +170,12 @@ exports[`Modals.vue renders correctly 1`] = `
|
||||
<cbutton-stub
|
||||
activeclass="active"
|
||||
class="mr-1"
|
||||
color="dark"
|
||||
event="click"
|
||||
exactactiveclass="active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
variant="dark"
|
||||
>
|
||||
|
||||
Launch dark modal
|
||||
@@ -242,8 +242,8 @@ exports[`Modals.vue renders correctly 1`] = `
|
||||
</cmodal-stub>
|
||||
|
||||
<cmodal-stub
|
||||
color="success"
|
||||
title="Modal title"
|
||||
variant="success"
|
||||
>
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
|
||||
@@ -256,8 +256,8 @@ exports[`Modals.vue renders correctly 1`] = `
|
||||
</cmodal-stub>
|
||||
|
||||
<cmodal-stub
|
||||
color="warning"
|
||||
title="Modal title"
|
||||
variant="warning"
|
||||
>
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
|
||||
@@ -270,8 +270,8 @@ exports[`Modals.vue renders correctly 1`] = `
|
||||
</cmodal-stub>
|
||||
|
||||
<cmodal-stub
|
||||
color="danger"
|
||||
title="Modal title"
|
||||
variant="danger"
|
||||
>
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
|
||||
@@ -284,8 +284,8 @@ exports[`Modals.vue renders correctly 1`] = `
|
||||
</cmodal-stub>
|
||||
|
||||
<cmodal-stub
|
||||
color="info"
|
||||
title="Modal title"
|
||||
variant="info"
|
||||
>
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
|
||||
@@ -299,10 +299,10 @@ exports[`Modals.vue renders correctly 1`] = `
|
||||
|
||||
<cmodal-stub
|
||||
centered="true"
|
||||
color="dark"
|
||||
nocloseonbackdrop="true"
|
||||
size="lg"
|
||||
title="Modal title 2"
|
||||
variant="dark"
|
||||
>
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
|
||||
|
||||
Reference in New Issue
Block a user