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
170
passed
Playground > overview
accessibility
639
passed
Playground > defaultOpenSource
snapshot
196
passed
Playground > defaultOpenSource
accessibility
729
passed
Playground > disableZoomPan
snapshot
37
passed
Playground > disableZoomPan
accessibility
372
passed
Playground > multiStories
snapshot
52
passed
Playground > multiStories
accessibility
790
passed
Playground > title
snapshot
60
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

story

description of story

Components

 
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: playground-id-of-story
.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"]
Fix any of the following: Document has multiple static elements with the same id attribute: id-of-story
.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

story

description of story

Components

320px

story

description of story

Components

375px

story

description of story

Components

768px

story

description of story

Components

1024px