Skip to content

Commit fd69781

Browse files
committed
Update snapshots for testing
1 parent dd6ca20 commit fd69781

File tree

8 files changed

+96
-5
lines changed

8 files changed

+96
-5
lines changed

src/containers/DefaultLayout/__snapshots__/DefaultLayout.test.js.snap

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,15 @@ exports[`Remote Explorer renders should match snapshot 1`] = `
4242
<AppSidebarForm
4343
tag="div"
4444
/>
45-
<Suspense>
45+
<Suspense
46+
fallback={
47+
<div
48+
className="animated fadeIn pt-1 text-center"
49+
>
50+
Loading...
51+
</div>
52+
}
53+
>
4654
<AppSidebarNav
4755
history={
4856
Object {

src/views/Base/BandwidthStatusCard/__snapshots__/BandwidthStatusCard.test.js.snap

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
exports[`Bandwidth Status Card should match snapshot 1`] = `
44
<Row
55
tag="div"
6+
widths={
7+
Array [
8+
"xs",
9+
"sm",
10+
"md",
11+
"lg",
12+
"xl",
13+
]
14+
}
615
>
716
<Col
817
lg={12}

src/views/Base/FileOperations/__snapshots__/FileOperations.test.js.snap

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ exports[`File Operations renders should match snapshot 1`] = `
6666
<Button
6767
className="mr-1 btn-outline-dark"
6868
color="secondary"
69+
id="CreateFolderButton"
6970
onClick={[Function]}
7071
tag="button"
7172
>
@@ -74,16 +75,29 @@ exports[`File Operations renders should match snapshot 1`] = `
7475
/>
7576
7677
</Button>
78+
<UncontrolledTooltip
79+
placement="right"
80+
target="CreateFolderButton"
81+
>
82+
Create a new Folder
83+
</UncontrolledTooltip>
7784
<Button
7885
className="mr-1 btn-outline-dark"
7986
color="secondary"
87+
id="RefreshButton"
8088
onClick={[Function]}
8189
tag="button"
8290
>
8391
<i
8492
className="fa fa-lg fa-repeat"
8593
/>
8694
</Button>
95+
<UncontrolledTooltip
96+
placement="right"
97+
target="RefreshButton"
98+
>
99+
Refresh Files
100+
</UncontrolledTooltip>
87101
<Button
88102
className="mr-1 btn-outline-dark"
89103
color="secondary"
@@ -256,6 +270,15 @@ exports[`File Operations renders should match snapshot 1`] = `
256270
>
257271
<Row
258272
tag="div"
273+
widths={
274+
Array [
275+
"xs",
276+
"sm",
277+
"md",
278+
"lg",
279+
"xl",
280+
]
281+
}
259282
>
260283
<Col
261284
sm={12}
@@ -289,6 +312,15 @@ exports[`File Operations renders should match snapshot 1`] = `
289312
</Row>
290313
<Row
291314
tag="div"
315+
widths={
316+
Array [
317+
"xs",
318+
"sm",
319+
"md",
320+
"lg",
321+
"xl",
322+
]
323+
}
292324
>
293325
<Col
294326
sm={12}

src/views/Base/RunningJobs/__snapshots__/RunningJobs.test.js.snap

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
exports[`Running Jobs renders should match snapshot 1`] = `
44
<Row
55
tag="div"
6+
widths={
7+
Array [
8+
"xs",
9+
"sm",
10+
"md",
11+
"lg",
12+
"xl",
13+
]
14+
}
615
>
716
<Col
817
lg={4}

src/views/Explorer/RemotesList/__snapshots__/RemotesList.test.js.snap

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@ exports[`Bandwidth Status Card should match snapshot 1`] = `
1414
"subscription": Subscription {
1515
"handleChangeWrapper": [Function],
1616
"listeners": Object {
17-
"clear": [Function],
18-
"get": [Function],
1917
"notify": [Function],
20-
"subscribe": [Function],
2118
},
2219
"onStateChange": [Function],
2320
"parentSub": undefined,
@@ -28,7 +25,7 @@ exports[`Bandwidth Status Card should match snapshot 1`] = `
2825
"subscribe": [Function],
2926
Symbol(observable): [Function],
3027
},
31-
"unsubscribe": [Function],
28+
"unsubscribe": null,
3229
},
3330
}
3431
}

src/views/Home/__snapshots__/Home.test.js.snap

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ exports[`Home Component renders should match snapshot 1`] = `
1212
</p>
1313
<Row
1414
tag="div"
15+
widths={
16+
Array [
17+
"xs",
18+
"sm",
19+
"md",
20+
"lg",
21+
"xl",
22+
]
23+
}
1524
>
1625
<Col
1726
lg={4}

src/views/Pages/Login/__snapshots__/Login.test.js.snap

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ exports[`Login Layout renders should match snapshot 1`] = `
1111
<Row
1212
className="justify-content-center"
1313
tag="div"
14+
widths={
15+
Array [
16+
"xs",
17+
"sm",
18+
"md",
19+
"lg",
20+
"xl",
21+
]
22+
}
1423
>
1524
<Col
1625
md="8"
@@ -124,6 +133,15 @@ exports[`Login Layout renders should match snapshot 1`] = `
124133
</InputGroup>
125134
<Row
126135
tag="div"
136+
widths={
137+
Array [
138+
"xs",
139+
"sm",
140+
"md",
141+
"lg",
142+
"xl",
143+
]
144+
}
127145
>
128146
<Col
129147
tag="div"

src/views/RemoteManagement/ShowConfig/__snapshots__/ShowConfig.test.js.snap

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ exports[`Show Config renders should match snapshot 1`] = `
66
>
77
<Row
88
tag="div"
9+
widths={
10+
Array [
11+
"xs",
12+
"sm",
13+
"md",
14+
"lg",
15+
"xl",
16+
]
17+
}
918
>
1019
<Col
1120
lg={8}

0 commit comments

Comments
 (0)