Skip to content

Commit 9eca12d

Browse files
chore(coachmark): adds extra chromatic coverage
1 parent 6cf1273 commit 9eca12d

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

components/coachmark/stories/coachmark.test.js

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ export const CoachMarkGroup = Variants({
2929
testHeading: "Default",
3030
hasActionMenu: false,
3131
hasPagination: false,
32-
hasImage: false,
3332
wrapperStyles: {
3433
"background-color": "var(--spectrum-gray-50, white)",
3534
},
@@ -46,18 +45,31 @@ export const CoachMarkGroup = Variants({
4645
{
4746
testHeading: "With action menu",
4847
hasPagination: false,
49-
hasActionMenu: true,
50-
hasImage: false,
5148
isOpen: true,
5249
wrapperStyles: {
5350
"background-color": "var(--spectrum-gray-50, white)"
5451
},
5552
},
53+
{
54+
testHeading: "With action menu + media",
55+
hasPagination: false,
56+
isOpen: true,
57+
hasImage: true,
58+
wrapperStyles: {
59+
"background-color": "var(--spectrum-gray-50, white)"
60+
},
61+
},
5662
{
5763
testHeading: "With pagination",
58-
hasPagination: true,
5964
hasActionMenu: false,
60-
hasImage: false,
65+
wrapperStyles: {
66+
"background-color": "var(--spectrum-gray-50, white)"
67+
},
68+
},
69+
{
70+
testHeading: "With pagination + media",
71+
hasActionMenu: false,
72+
hasImage: true,
6173
wrapperStyles: {
6274
"background-color": "var(--spectrum-gray-50, white)"
6375
},

0 commit comments

Comments
 (0)