Skip to content

Commit 7dbfcf2

Browse files
committed
test: e2e & snapshots update
1 parent 12c8aa7 commit 7dbfcf2

32 files changed

+6396
-7155
lines changed

tests/e2e/specs/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ module.exports = {
9999

100100
browser
101101
.pause(500)
102-
.click('/html/body/div/div/div/nav/section/ul/li[1]/div/a', function (response) {
102+
.click('/html/body/div/div/div/nav/section/ul/li[1]/a', function (response) {
103103
console.log('response', typeof response)
104104
this.assert.cssClassNotPresent('/html/body', 'sidebar-show')
105105
})

tests/unit/containers/__snapshots__/DefaultAside.spec.js.snap

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`DefaultAside.vue renders correctly 1`] = `
4-
<btabs-stub
4+
<b-tabs-stub
55
tag="div"
66
>
7-
<btab-stub
7+
<b-tab-stub
88
buttonid=""
99
href="#"
1010
tag="div"
@@ -16,11 +16,11 @@ exports[`DefaultAside.vue renders correctly 1`] = `
1616
/>
1717
</template>
1818
19-
<blistgroup-stub
19+
<b-list-group-stub
2020
class="list-group-accent"
2121
tag="div"
2222
>
23-
<blistgroupitem-stub
23+
<b-list-group-item-stub
2424
activeclass="active"
2525
class="list-group-item-accent-secondary bg-light text-center font-weight-bold text-muted text-uppercase small"
2626
event="click"
@@ -32,9 +32,9 @@ exports[`DefaultAside.vue renders correctly 1`] = `
3232
3333
Today
3434
35-
</blistgroupitem-stub>
35+
</b-list-group-item-stub>
3636
37-
<blistgroupitem-stub
37+
<b-list-group-item-stub
3838
activeclass="active"
3939
class="list-group-item-accent-warning list-group-item-divider"
4040
event="click"
@@ -81,9 +81,9 @@ exports[`DefaultAside.vue renders correctly 1`] = `
8181
  Palo Alto, CA
8282
8383
</small>
84-
</blistgroupitem-stub>
84+
</b-list-group-item-stub>
8585
86-
<blistgroupitem-stub
86+
<b-list-group-item-stub
8787
activeclass="active"
8888
class="list-group-item-accent-info"
8989
event="click"
@@ -127,13 +127,13 @@ exports[`DefaultAside.vue renders correctly 1`] = `
127127
/>
128128
  On-line
129129
</small>
130-
</blistgroupitem-stub>
130+
</b-list-group-item-stub>
131131
132132
<hr
133133
class="transparent mx-3 my-0"
134134
/>
135135
136-
<blistgroupitem-stub
136+
<b-list-group-item-stub
137137
activeclass="active"
138138
class="list-group-item-accent-secondary bg-light text-center font-weight-bold text-muted text-uppercase small"
139139
event="click"
@@ -145,9 +145,9 @@ exports[`DefaultAside.vue renders correctly 1`] = `
145145
146146
Tomorrow
147147
148-
</blistgroupitem-stub>
148+
</b-list-group-item-stub>
149149
150-
<blistgroupitem-stub
150+
<b-list-group-item-stub
151151
activeclass="active"
152152
class="list-group-item-accent-danger list-group-item-divider"
153153
event="click"
@@ -235,9 +235,9 @@ exports[`DefaultAside.vue renders correctly 1`] = `
235235
/>
236236
</div>
237237
</div>
238-
</blistgroupitem-stub>
238+
</b-list-group-item-stub>
239239
240-
<blistgroupitem-stub
240+
<b-list-group-item-stub
241241
activeclass="active"
242242
class="list-group-item-accent-success list-group-item-divider"
243243
event="click"
@@ -271,9 +271,9 @@ exports[`DefaultAside.vue renders correctly 1`] = `
271271
/>
272272
  Palo Alto, CA
273273
</small>
274-
</blistgroupitem-stub>
274+
</b-list-group-item-stub>
275275
276-
<blistgroupitem-stub
276+
<b-list-group-item-stub
277277
activeclass="active"
278278
class="list-group-item-accent-primary list-group-item-divider"
279279
event="click"
@@ -380,11 +380,11 @@ exports[`DefaultAside.vue renders correctly 1`] = `
380380
/>
381381
</div>
382382
</div>
383-
</blistgroupitem-stub>
384-
</blistgroup-stub>
385-
</btab-stub>
383+
</b-list-group-item-stub>
384+
</b-list-group-stub>
385+
</b-tab-stub>
386386
387-
<btab-stub
387+
<b-tab-stub
388388
buttonid=""
389389
href="#"
390390
tag="div"
@@ -414,7 +414,7 @@ exports[`DefaultAside.vue renders correctly 1`] = `
414414
src="img/avatars/7.jpg"
415415
/>
416416
417-
<bbadge-stub
417+
<b-badge-stub
418418
activeclass="active"
419419
class="avatar-status"
420420
event="click"
@@ -471,7 +471,7 @@ exports[`DefaultAside.vue renders correctly 1`] = `
471471
src="img/avatars/7.jpg"
472472
/>
473473
474-
<bbadge-stub
474+
<b-badge-stub
475475
activeclass="active"
476476
class="avatar-status"
477477
event="click"
@@ -528,7 +528,7 @@ exports[`DefaultAside.vue renders correctly 1`] = `
528528
src="img/avatars/7.jpg"
529529
/>
530530
531-
<bbadge-stub
531+
<b-badge-stub
532532
activeclass="active"
533533
class="avatar-status"
534534
event="click"
@@ -585,7 +585,7 @@ exports[`DefaultAside.vue renders correctly 1`] = `
585585
src="img/avatars/7.jpg"
586586
/>
587587
588-
<bbadge-stub
588+
<b-badge-stub
589589
activeclass="active"
590590
class="avatar-status"
591591
event="click"
@@ -642,7 +642,7 @@ exports[`DefaultAside.vue renders correctly 1`] = `
642642
src="img/avatars/7.jpg"
643643
/>
644644
645-
<bbadge-stub
645+
<b-badge-stub
646646
activeclass="active"
647647
class="avatar-status"
648648
event="click"
@@ -682,9 +682,9 @@ exports[`DefaultAside.vue renders correctly 1`] = `
682682
</small>
683683
</div>
684684
</div>
685-
</btab-stub>
685+
</b-tab-stub>
686686
687-
<btab-stub
687+
<b-tab-stub
688688
buttonid=""
689689
href="#"
690690
tag="div"
@@ -715,7 +715,7 @@ exports[`DefaultAside.vue renders correctly 1`] = `
715715
</b>
716716
</small>
717717
718-
<cswitch-stub
718+
<c-switch-stub
719719
checked="true"
720720
class="float-right"
721721
color="success"
@@ -750,7 +750,7 @@ exports[`DefaultAside.vue renders correctly 1`] = `
750750
</b>
751751
</small>
752752
753-
<cswitch-stub
753+
<c-switch-stub
754754
class="float-right"
755755
color="success"
756756
dataoff="Off"
@@ -784,7 +784,7 @@ exports[`DefaultAside.vue renders correctly 1`] = `
784784
</b>
785785
</small>
786786
787-
<cswitch-stub
787+
<c-switch-stub
788788
class="float-right"
789789
color="success"
790790
dataoff="Off"
@@ -820,7 +820,7 @@ exports[`DefaultAside.vue renders correctly 1`] = `
820820
</b>
821821
</small>
822822
823-
<cswitch-stub
823+
<c-switch-stub
824824
checked="true"
825825
class="float-right"
826826
color="success"
@@ -851,7 +851,7 @@ exports[`DefaultAside.vue renders correctly 1`] = `
851851
</small>
852852
</div>
853853
854-
<bprogress-stub
854+
<b-progress-stub
855855
class="progress-xs"
856856
height="{}"
857857
max="100"
@@ -876,7 +876,7 @@ exports[`DefaultAside.vue renders correctly 1`] = `
876876
</small>
877877
</div>
878878
879-
<bprogress-stub
879+
<b-progress-stub
880880
class="progress-xs"
881881
height="{}"
882882
max="100"
@@ -901,7 +901,7 @@ exports[`DefaultAside.vue renders correctly 1`] = `
901901
</small>
902902
</div>
903903
904-
<bprogress-stub
904+
<b-progress-stub
905905
class="progress-xs"
906906
height="{}"
907907
max="100"
@@ -926,7 +926,7 @@ exports[`DefaultAside.vue renders correctly 1`] = `
926926
</small>
927927
</div>
928928
929-
<bprogress-stub
929+
<b-progress-stub
930930
class="progress-xs"
931931
height="{}"
932932
max="100"
@@ -941,6 +941,6 @@ exports[`DefaultAside.vue renders correctly 1`] = `
941941
25GB/256GB
942942
</small>
943943
</div>
944-
</btab-stub>
945-
</btabs-stub>
944+
</b-tab-stub>
945+
</b-tabs-stub>
946946
`;

tests/unit/containers/__snapshots__/DefaultContainer.spec.js.snap

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ exports[`DefaultContainer.vue renders correctly 1`] = `
1414
mobile="true"
1515
/>
1616
17-
<blink-stub
17+
<b-link-stub
1818
activeclass="active"
1919
class="navbar-brand"
2020
event="click"
@@ -38,19 +38,19 @@ exports[`DefaultContainer.vue renders correctly 1`] = `
3838
src="img/brand/sygnet.svg"
3939
width="30"
4040
/>
41-
</blink-stub>
41+
</b-link-stub>
4242
4343
<sidebartoggler-stub
4444
class="d-md-down-none"
4545
defaultopen="true"
4646
display="lg"
4747
/>
4848
49-
<bnavbarnav-stub
49+
<b-navbar-nav-stub
5050
class="d-md-down-none"
5151
tag="ul"
5252
>
53-
<bnavitem-stub
53+
<b-nav-item-stub
5454
activeclass="active"
5555
class="px-3"
5656
event="click"
@@ -60,9 +60,9 @@ exports[`DefaultContainer.vue renders correctly 1`] = `
6060
to="/dashboard"
6161
>
6262
Dashboard
63-
</bnavitem-stub>
63+
</b-nav-item-stub>
6464
65-
<bnavitem-stub
65+
<b-nav-item-stub
6666
activeclass="active"
6767
class="px-3"
6868
event="click"
@@ -73,9 +73,9 @@ exports[`DefaultContainer.vue renders correctly 1`] = `
7373
to="/users"
7474
>
7575
Users
76-
</bnavitem-stub>
76+
</b-nav-item-stub>
7777
78-
<bnavitem-stub
78+
<b-nav-item-stub
7979
activeclass="active"
8080
class="px-3"
8181
event="click"
@@ -84,14 +84,14 @@ exports[`DefaultContainer.vue renders correctly 1`] = `
8484
target="_self"
8585
>
8686
Settings
87-
</bnavitem-stub>
88-
</bnavbarnav-stub>
87+
</b-nav-item-stub>
88+
</b-navbar-nav-stub>
8989
90-
<bnavbarnav-stub
90+
<b-navbar-nav-stub
9191
class="ml-auto"
9292
tag="ul"
9393
>
94-
<bnavitem-stub
94+
<b-nav-item-stub
9595
activeclass="active"
9696
class="d-md-down-none"
9797
event="click"
@@ -103,7 +103,7 @@ exports[`DefaultContainer.vue renders correctly 1`] = `
103103
class="icon-bell"
104104
/>
105105
106-
<bbadge-stub
106+
<b-badge-stub
107107
activeclass="active"
108108
event="click"
109109
exactactiveclass="active"
@@ -114,10 +114,10 @@ exports[`DefaultContainer.vue renders correctly 1`] = `
114114
variant="danger"
115115
>
116116
5
117-
</bbadge-stub>
118-
</bnavitem-stub>
117+
</b-badge-stub>
118+
</b-nav-item-stub>
119119
120-
<bnavitem-stub
120+
<b-nav-item-stub
121121
activeclass="active"
122122
class="d-md-down-none"
123123
event="click"
@@ -128,9 +128,9 @@ exports[`DefaultContainer.vue renders correctly 1`] = `
128128
<i
129129
class="icon-list"
130130
/>
131-
</bnavitem-stub>
131+
</b-nav-item-stub>
132132
133-
<bnavitem-stub
133+
<b-nav-item-stub
134134
activeclass="active"
135135
class="d-md-down-none"
136136
event="click"
@@ -141,10 +141,10 @@ exports[`DefaultContainer.vue renders correctly 1`] = `
141141
<i
142142
class="icon-___location-pin"
143143
/>
144-
</bnavitem-stub>
144+
</b-nav-item-stub>
145145
146146
<defaultheaderdropdownaccnt-stub />
147-
</bnavbarnav-stub>
147+
</b-navbar-nav-stub>
148148
149149
<asidetoggler-stub
150150
class="d-none d-lg-block"
@@ -163,7 +163,7 @@ exports[`DefaultContainer.vue renders correctly 1`] = `
163163
<sidebarform-stub />
164164
165165
<sidebarnav-stub
166-
navitems="[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]"
166+
navitems="[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]"
167167
/>
168168
169169
<sidebarfooter-stub />

0 commit comments

Comments
 (0)