created:4/29/2021
updated:4/29/2021
loc
18
comments
17%
passed
28
coverage
75%

ESM

Component to display a live playground of component examples. Has custom actions for zooming, switch direction, review story source and configuration.

Tests results

Status
Full name
Title
Time(ms)
Playground.test.ts(28 tests)
passed
Playground > overview
snapshot
246
passed
Playground > overview
accessibility
984
passed
Playground > defaultOpenSource
snapshot
347
passed
Playground > defaultOpenSource
accessibility
1782
passed
Playground > disableZoomPan
snapshot
74
passed
Playground > disableZoomPan
accessibility
856
passed
Playground > multiStories
snapshot
72
passed
Playground > multiStories
accessibility
1732
passed
Playground > title
snapshot
108
total 28 tests

Tests coverage

Kind
Total
Covered
Skipped
%
Playground.tsx
lines
11
11
0
100%
functions
1
1
0
100%
statements
13
13
0
100%
branches
4
3
0
75%

A11y tests

 
impact
id
description
minor
duplicate-id

Ensures every id attribute value is unique...

summary
target
Fix any of the following: Document has multiple static elements with the same id attribute: blocks-core-story-plain--controls
.rah-static--height-auto.rah-static[aria-hidden="false"] > div > .css-154oin1[data-testid="story"] > .story-render-container.css-dhmrnb > .css-1xkyebe[data-testid="playground"] > .rah-static--height-auto.rah-static[aria-hidden="false"] > div > div > .css-eqxzio > div:nth-child(1) > .css-1s8zxab > .css-1j909cg > .css-1xkyebe[data-testid="story"] > .rah-static--height-auto.rah-static[aria-hidden="false"] > div

Viewport

320px
375px
768px
1024px