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

Commit a3e18d4

Browse files
committed
Update tests with latest css changes
1 parent f7f138e commit a3e18d4

3 files changed

Lines changed: 336 additions & 0 deletions

File tree

src/view/components/clue/__snapshots__/Clue.spec.tsx.snap

Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1851,6 +1851,148 @@ Array [
18511851
</svg>
18521852
</button>
18531853
</div>
1854+
<div
1855+
className="ms-TooltipHost root-49"
1856+
onBlurCapture={[Function]}
1857+
onFocusCapture={[Function]}
1858+
onKeyDown={[Function]}
1859+
onMouseEnter={[Function]}
1860+
onMouseLeave={[Function]}
1861+
>
1862+
<button
1863+
aria-label="toolbar clue-gyroscope-sensor"
1864+
className="toolbar-button button"
1865+
id="toolbar-clue-gyroscope-sensor-button"
1866+
onClick={[Function]}
1867+
role="button"
1868+
style={
1869+
Object {
1870+
"width": 32,
1871+
}
1872+
}
1873+
tabIndex={0}
1874+
>
1875+
<svg
1876+
height="18px"
1877+
version="1.1"
1878+
viewBox="0 0 200 165"
1879+
width="18px"
1880+
x="0px"
1881+
xmlns="http://www.w3.org/2000/svg"
1882+
xmlnsXlink="http://www.w3.org/1999/xlink"
1883+
y="0px"
1884+
>
1885+
<g
1886+
className="button-icon"
1887+
fill-rule="evenodd"
1888+
id="gyro"
1889+
>
1890+
<ellipse
1891+
cx="109.59"
1892+
cy="104.27"
1893+
fill="none"
1894+
rx="24.32"
1895+
ry="51.56"
1896+
stroke="var(--vscode-badgeForegroundOverride)"
1897+
stroke-width="10"
1898+
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -41.6346 108.0341)"
1899+
/>
1900+
<ellipse
1901+
cx="107.83"
1902+
cy="104.27"
1903+
fill="none"
1904+
rx="53.89"
1905+
ry="21.99"
1906+
stroke="var(--vscode-badgeForegroundOverride)"
1907+
stroke-width="10"
1908+
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -42.151 106.7874)"
1909+
/>
1910+
<circle
1911+
cx="109.59"
1912+
cy="104.27"
1913+
fill="none"
1914+
r="64.41"
1915+
stroke="var(--vscode-badgeForegroundOverride)"
1916+
stroke-width="10"
1917+
/>
1918+
<circle
1919+
cx="109.59"
1920+
cy="102.51"
1921+
r="13.01"
1922+
/>
1923+
<circle
1924+
cx="44.44"
1925+
cy="169.43"
1926+
r="8.76"
1927+
/>
1928+
<rect
1929+
height="6.97"
1930+
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -94.262 86.2351)"
1931+
width="24.1"
1932+
x="44.92"
1933+
y="153.42"
1934+
/>
1935+
<circle
1936+
cx="174"
1937+
cy="40.42"
1938+
r="8.76"
1939+
/>
1940+
<rect
1941+
height="6.97"
1942+
transform="matrix(-0.7071 0.7071 -0.7071 -0.7071 314.2302 -26.5262)"
1943+
width="24.1"
1944+
x="150.56"
1945+
y="48.33"
1946+
/>
1947+
</g>
1948+
</svg>
1949+
</button>
1950+
</div>
1951+
<div
1952+
className="ms-TooltipHost root-49"
1953+
onBlurCapture={[Function]}
1954+
onFocusCapture={[Function]}
1955+
onKeyDown={[Function]}
1956+
onMouseEnter={[Function]}
1957+
onMouseLeave={[Function]}
1958+
>
1959+
<button
1960+
aria-label="toolbar clue-magnet-sensor"
1961+
className="toolbar-button button"
1962+
id="toolbar-clue-magnet-sensor-button"
1963+
onClick={[Function]}
1964+
role="button"
1965+
style={
1966+
Object {
1967+
"width": 32,
1968+
}
1969+
}
1970+
tabIndex={0}
1971+
>
1972+
<svg
1973+
height="16px"
1974+
version="1.1"
1975+
viewBox="0 25 160 150"
1976+
width="16px"
1977+
x="0px"
1978+
xmlns="http://www.w3.org/2000/svg"
1979+
xmlnsXlink="http://www.w3.org/1999/xlink"
1980+
y="0px"
1981+
>
1982+
<g
1983+
className="button-icon"
1984+
fill="none"
1985+
fill-rule="evenodd"
1986+
id="magnet"
1987+
>
1988+
<path
1989+
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
1990+
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"
1991+
/>
1992+
</g>
1993+
</svg>
1994+
</button>
1995+
</div>
18541996
<div
18551997
className="ms-TooltipHost root-49"
18561998
onBlurCapture={[Function]}

src/view/components/microbit/__snapshots__/Microbit.spec.tsx.snap

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3095,6 +3095,103 @@ Array [
30953095
</svg>
30963096
</button>
30973097
</div>
3098+
<div
3099+
className="ms-TooltipHost root-49"
3100+
onBlurCapture={[Function]}
3101+
onFocusCapture={[Function]}
3102+
onKeyDown={[Function]}
3103+
onMouseEnter={[Function]}
3104+
onMouseLeave={[Function]}
3105+
>
3106+
<button
3107+
aria-label="toolbar microbit-compass-sensor"
3108+
className="toolbar-button button"
3109+
id="toolbar-microbit-compass-sensor-button"
3110+
onClick={[Function]}
3111+
role="button"
3112+
style={
3113+
Object {
3114+
"width": 32,
3115+
}
3116+
}
3117+
tabIndex={0}
3118+
>
3119+
<svg
3120+
height="18px"
3121+
version="1.1"
3122+
viewBox="0 0 200 165"
3123+
width="18px"
3124+
x="0px"
3125+
xmlns="http://www.w3.org/2000/svg"
3126+
xmlnsXlink="http://www.w3.org/1999/xlink"
3127+
y="0px"
3128+
>
3129+
<g
3130+
className="button-icon"
3131+
fill-rule="evenodd"
3132+
id="gyro"
3133+
>
3134+
<ellipse
3135+
cx="109.59"
3136+
cy="104.27"
3137+
fill="none"
3138+
rx="24.32"
3139+
ry="51.56"
3140+
stroke="var(--vscode-badgeForegroundOverride)"
3141+
stroke-width="10"
3142+
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -41.6346 108.0341)"
3143+
/>
3144+
<ellipse
3145+
cx="107.83"
3146+
cy="104.27"
3147+
fill="none"
3148+
rx="53.89"
3149+
ry="21.99"
3150+
stroke="var(--vscode-badgeForegroundOverride)"
3151+
stroke-width="10"
3152+
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -42.151 106.7874)"
3153+
/>
3154+
<circle
3155+
cx="109.59"
3156+
cy="104.27"
3157+
fill="none"
3158+
r="64.41"
3159+
stroke="var(--vscode-badgeForegroundOverride)"
3160+
stroke-width="10"
3161+
/>
3162+
<circle
3163+
cx="109.59"
3164+
cy="102.51"
3165+
r="13.01"
3166+
/>
3167+
<circle
3168+
cx="44.44"
3169+
cy="169.43"
3170+
r="8.76"
3171+
/>
3172+
<rect
3173+
height="6.97"
3174+
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -94.262 86.2351)"
3175+
width="24.1"
3176+
x="44.92"
3177+
y="153.42"
3178+
/>
3179+
<circle
3180+
cx="174"
3181+
cy="40.42"
3182+
r="8.76"
3183+
/>
3184+
<rect
3185+
height="6.97"
3186+
transform="matrix(-0.7071 0.7071 -0.7071 -0.7071 314.2302 -26.5262)"
3187+
width="24.1"
3188+
x="150.56"
3189+
y="48.33"
3190+
/>
3191+
</g>
3192+
</svg>
3193+
</button>
3194+
</div>
30983195
<div
30993196
className="ms-TooltipHost root-49"
31003197
onBlurCapture={[Function]}

src/view/container/device/__snapshots__/Device.spec.tsx.snap

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3097,6 +3097,103 @@ exports[`Device component should render correctly 1`] = `
30973097
</svg>
30983098
</button>
30993099
</div>
3100+
<div
3101+
className="ms-TooltipHost root-49"
3102+
onBlurCapture={[Function]}
3103+
onFocusCapture={[Function]}
3104+
onKeyDown={[Function]}
3105+
onMouseEnter={[Function]}
3106+
onMouseLeave={[Function]}
3107+
>
3108+
<button
3109+
aria-label="toolbar microbit-compass-sensor"
3110+
className="toolbar-button button"
3111+
id="toolbar-microbit-compass-sensor-button"
3112+
onClick={[Function]}
3113+
role="button"
3114+
style={
3115+
Object {
3116+
"width": 32,
3117+
}
3118+
}
3119+
tabIndex={0}
3120+
>
3121+
<svg
3122+
height="18px"
3123+
version="1.1"
3124+
viewBox="0 0 200 165"
3125+
width="18px"
3126+
x="0px"
3127+
xmlns="http://www.w3.org/2000/svg"
3128+
xmlnsXlink="http://www.w3.org/1999/xlink"
3129+
y="0px"
3130+
>
3131+
<g
3132+
className="button-icon"
3133+
fill-rule="evenodd"
3134+
id="gyro"
3135+
>
3136+
<ellipse
3137+
cx="109.59"
3138+
cy="104.27"
3139+
fill="none"
3140+
rx="24.32"
3141+
ry="51.56"
3142+
stroke="var(--vscode-badgeForegroundOverride)"
3143+
stroke-width="10"
3144+
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -41.6346 108.0341)"
3145+
/>
3146+
<ellipse
3147+
cx="107.83"
3148+
cy="104.27"
3149+
fill="none"
3150+
rx="53.89"
3151+
ry="21.99"
3152+
stroke="var(--vscode-badgeForegroundOverride)"
3153+
stroke-width="10"
3154+
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -42.151 106.7874)"
3155+
/>
3156+
<circle
3157+
cx="109.59"
3158+
cy="104.27"
3159+
fill="none"
3160+
r="64.41"
3161+
stroke="var(--vscode-badgeForegroundOverride)"
3162+
stroke-width="10"
3163+
/>
3164+
<circle
3165+
cx="109.59"
3166+
cy="102.51"
3167+
r="13.01"
3168+
/>
3169+
<circle
3170+
cx="44.44"
3171+
cy="169.43"
3172+
r="8.76"
3173+
/>
3174+
<rect
3175+
height="6.97"
3176+
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -94.262 86.2351)"
3177+
width="24.1"
3178+
x="44.92"
3179+
y="153.42"
3180+
/>
3181+
<circle
3182+
cx="174"
3183+
cy="40.42"
3184+
r="8.76"
3185+
/>
3186+
<rect
3187+
height="6.97"
3188+
transform="matrix(-0.7071 0.7071 -0.7071 -0.7071 314.2302 -26.5262)"
3189+
width="24.1"
3190+
x="150.56"
3191+
y="48.33"
3192+
/>
3193+
</g>
3194+
</svg>
3195+
</button>
3196+
</div>
31003197
<div
31013198
className="ms-TooltipHost root-49"
31023199
onBlurCapture={[Function]}

0 commit comments

Comments
 (0)