Some description meta.
created:1/14/2022
updated:1/14/2022
loc
50
comments
18%
passed
10
coverage
50%

VariantButton

avatar of atanasster

Button with variants

Overview

Test data

select
#
text
variant
icon
1
Cecelia Langosh
success
search
2
Jolie Beahan Sr.
disabled
down-arrow
3
Kane Ortiz
warning
none
4
Ronny Spinka
success
right-arrow
5
Jayce Schaden
primary
up-arrow
5 data rows
Name
Description
Default
Controls
text

button label text

string
-
variant

variant kind

primaryaccentdisabledsuccesswarningerror
primary

Tests results

Status
Full name
Title
Time(ms)
VariantButton.test.ts(10 tests)
passed
VariantButton > overview > 1
snapshot
7
passed
VariantButton > overview > 1
accessibility
88
passed
VariantButton > overview > 2
snapshot
7
passed
VariantButton > overview > 2
accessibility
56
passed
VariantButton > overview > 3
snapshot
6
passed
VariantButton > overview > 3
accessibility
48
passed
VariantButton > overview > 4
snapshot
7
passed
VariantButton > overview > 4
accessibility
47
passed
VariantButton > overview > 5
snapshot
6
total 10 tests

Tests coverage

Kind
Total
Covered
Skipped
%
VariantButton.tsx
lines
7
7
0
100%
functions
1
1
0
100%
statements
9
9
0
100%
branches
4
2
0
50%

A11y tests

Viewport

320px
375px
768px
1024px
Copyright © 2022 by my name