Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Commit

Permalink
Update tests with latest css changes
Browse files Browse the repository at this point in the history
  • Loading branch information
xnkevinnguyen committed Apr 6, 2020
1 parent f7f138e commit a3e18d4
Show file tree
Hide file tree
Showing 3 changed files with 336 additions and 0 deletions.
142 changes: 142 additions & 0 deletions src/view/components/clue/__snapshots__/Clue.spec.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1851,6 +1851,148 @@ Array [
</svg>
</button>
</div>
<div
className="ms-TooltipHost root-49"
onBlurCapture={[Function]}
onFocusCapture={[Function]}
onKeyDown={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
>
<button
aria-label="toolbar clue-gyroscope-sensor"
className="toolbar-button button"
id="toolbar-clue-gyroscope-sensor-button"
onClick={[Function]}
role="button"
style={
Object {
"width": 32,
}
}
tabIndex={0}
>
<svg
height="18px"
version="1.1"
viewBox="0 0 200 165"
width="18px"
x="0px"
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
y="0px"
>
<g
className="button-icon"
fill-rule="evenodd"
id="gyro"
>
<ellipse
cx="109.59"
cy="104.27"
fill="none"
rx="24.32"
ry="51.56"
stroke="var(--vscode-badgeForegroundOverride)"
stroke-width="10"
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -41.6346 108.0341)"
/>
<ellipse
cx="107.83"
cy="104.27"
fill="none"
rx="53.89"
ry="21.99"
stroke="var(--vscode-badgeForegroundOverride)"
stroke-width="10"
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -42.151 106.7874)"
/>
<circle
cx="109.59"
cy="104.27"
fill="none"
r="64.41"
stroke="var(--vscode-badgeForegroundOverride)"
stroke-width="10"
/>
<circle
cx="109.59"
cy="102.51"
r="13.01"
/>
<circle
cx="44.44"
cy="169.43"
r="8.76"
/>
<rect
height="6.97"
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -94.262 86.2351)"
width="24.1"
x="44.92"
y="153.42"
/>
<circle
cx="174"
cy="40.42"
r="8.76"
/>
<rect
height="6.97"
transform="matrix(-0.7071 0.7071 -0.7071 -0.7071 314.2302 -26.5262)"
width="24.1"
x="150.56"
y="48.33"
/>
</g>
</svg>
</button>
</div>
<div
className="ms-TooltipHost root-49"
onBlurCapture={[Function]}
onFocusCapture={[Function]}
onKeyDown={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
>
<button
aria-label="toolbar clue-magnet-sensor"
className="toolbar-button button"
id="toolbar-clue-magnet-sensor-button"
onClick={[Function]}
role="button"
style={
Object {
"width": 32,
}
}
tabIndex={0}
>
<svg
height="16px"
version="1.1"
viewBox="0 25 160 150"
width="16px"
x="0px"
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
y="0px"
>
<g
className="button-icon"
fill="none"
fill-rule="evenodd"
id="magnet"
>
<path
d="M21.81,76.32c0.64-3.3,0.98-6.68,1.95-9.87c6.4-21.01,20.32-34.25,41.88-38.48c18.83-3.69,35.21,1.92,48.82,15.46 c12.34,12.28,38.02,37.79,38.47,38.15c-7.62,7.62-15.04,15.04-22.67,22.66c-2.51-2.55-5.1-5.24-7.74-7.88 C112.36,86.17,102.15,76,91.99,65.79c-3.81-3.83-8.23-6.26-13.65-6.97c-11.1-1.45-21.86,5.97-24.24,16.88 c-1.75,8.04,0.32,15.05,6.1,20.87c12.42,12.5,38.56,38.27,39.05,38.63c-7.74,7.73-15.15,15.15-22.72,22.71
c-3.24-3.28-6.6-6.69-9.97-10.08c-10.1-10.13-20.33-20.12-30.27-30.4c-8.28-8.58-12.87-19.02-14.18-30.88 c-0.05-0.46-0.2-0.91-0.31-1.37C21.81,82.23,21.81,79.28,21.81,76.32z M143.46,82.02c-6-6.03-12.08-12.13-18.04-18.12 c-4.29,4.29-8.67,8.68-12.92,12.93c6.01,6,12.1,12.1,18.05,18.05C134.86,90.59,139.25,86.21,143.46,82.02z M76.72,148.76 c4.43-4.42,8.82-8.8,13.11-13.09c-6.01-6.02-12.11-12.12-17.94-17.95c-4.33,4.32-8.75,8.73-13.1,13.07 C64.67,136.68,70.69,142.72,76.72,148.76z"
/>
</g>
</svg>
</button>
</div>
<div
className="ms-TooltipHost root-49"
onBlurCapture={[Function]}
Expand Down
97 changes: 97 additions & 0 deletions src/view/components/microbit/__snapshots__/Microbit.spec.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3095,6 +3095,103 @@ Array [
</svg>
</button>
</div>
<div
className="ms-TooltipHost root-49"
onBlurCapture={[Function]}
onFocusCapture={[Function]}
onKeyDown={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
>
<button
aria-label="toolbar microbit-compass-sensor"
className="toolbar-button button"
id="toolbar-microbit-compass-sensor-button"
onClick={[Function]}
role="button"
style={
Object {
"width": 32,
}
}
tabIndex={0}
>
<svg
height="18px"
version="1.1"
viewBox="0 0 200 165"
width="18px"
x="0px"
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
y="0px"
>
<g
className="button-icon"
fill-rule="evenodd"
id="gyro"
>
<ellipse
cx="109.59"
cy="104.27"
fill="none"
rx="24.32"
ry="51.56"
stroke="var(--vscode-badgeForegroundOverride)"
stroke-width="10"
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -41.6346 108.0341)"
/>
<ellipse
cx="107.83"
cy="104.27"
fill="none"
rx="53.89"
ry="21.99"
stroke="var(--vscode-badgeForegroundOverride)"
stroke-width="10"
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -42.151 106.7874)"
/>
<circle
cx="109.59"
cy="104.27"
fill="none"
r="64.41"
stroke="var(--vscode-badgeForegroundOverride)"
stroke-width="10"
/>
<circle
cx="109.59"
cy="102.51"
r="13.01"
/>
<circle
cx="44.44"
cy="169.43"
r="8.76"
/>
<rect
height="6.97"
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -94.262 86.2351)"
width="24.1"
x="44.92"
y="153.42"
/>
<circle
cx="174"
cy="40.42"
r="8.76"
/>
<rect
height="6.97"
transform="matrix(-0.7071 0.7071 -0.7071 -0.7071 314.2302 -26.5262)"
width="24.1"
x="150.56"
y="48.33"
/>
</g>
</svg>
</button>
</div>
<div
className="ms-TooltipHost root-49"
onBlurCapture={[Function]}
Expand Down
97 changes: 97 additions & 0 deletions src/view/container/device/__snapshots__/Device.spec.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3097,6 +3097,103 @@ exports[`Device component should render correctly 1`] = `
</svg>
</button>
</div>
<div
className="ms-TooltipHost root-49"
onBlurCapture={[Function]}
onFocusCapture={[Function]}
onKeyDown={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
>
<button
aria-label="toolbar microbit-compass-sensor"
className="toolbar-button button"
id="toolbar-microbit-compass-sensor-button"
onClick={[Function]}
role="button"
style={
Object {
"width": 32,
}
}
tabIndex={0}
>
<svg
height="18px"
version="1.1"
viewBox="0 0 200 165"
width="18px"
x="0px"
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
y="0px"
>
<g
className="button-icon"
fill-rule="evenodd"
id="gyro"
>
<ellipse
cx="109.59"
cy="104.27"
fill="none"
rx="24.32"
ry="51.56"
stroke="var(--vscode-badgeForegroundOverride)"
stroke-width="10"
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -41.6346 108.0341)"
/>
<ellipse
cx="107.83"
cy="104.27"
fill="none"
rx="53.89"
ry="21.99"
stroke="var(--vscode-badgeForegroundOverride)"
stroke-width="10"
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -42.151 106.7874)"
/>
<circle
cx="109.59"
cy="104.27"
fill="none"
r="64.41"
stroke="var(--vscode-badgeForegroundOverride)"
stroke-width="10"
/>
<circle
cx="109.59"
cy="102.51"
r="13.01"
/>
<circle
cx="44.44"
cy="169.43"
r="8.76"
/>
<rect
height="6.97"
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -94.262 86.2351)"
width="24.1"
x="44.92"
y="153.42"
/>
<circle
cx="174"
cy="40.42"
r="8.76"
/>
<rect
height="6.97"
transform="matrix(-0.7071 0.7071 -0.7071 -0.7071 314.2302 -26.5262)"
width="24.1"
x="150.56"
y="48.33"
/>
</g>
</svg>
</button>
</div>
<div
className="ms-TooltipHost root-49"
onBlurCapture={[Function]}
Expand Down

0 comments on commit a3e18d4

Please sign in to comment.