File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
frontend/packages/component-library/src/cms/section/stories Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -68,22 +68,21 @@ export const SectionWithBackgroundColor: Story = {
68
68
} ,
69
69
} ;
70
70
71
-
72
71
export const SectionWithBackgroundColorT : Story = {
73
72
args : {
74
73
background : sectionBackground . secondary ,
75
74
padding : 'l' ,
76
75
children : (
77
- < >
78
- < Heading2 > This is a section with a background color</ Heading2 >
79
- < BodyOneText > I'm just a sentence.</ BodyOneText >
80
- </ >
76
+ < >
77
+ < Heading2 > This is a section with a background color</ Heading2 >
78
+ < BodyOneText > I'm just a sentence.</ BodyOneText >
79
+ </ >
81
80
) ,
82
81
} ,
83
82
play : async ( { canvasElement} : { canvasElement : HTMLElement } ) => {
84
83
const canvas = within ( canvasElement ) ;
85
84
const heading = canvas . getByText (
86
- 'This is a section with a background color' ,
85
+ 'This is a section with a background color! ' ,
87
86
) ;
88
87
89
88
// check if children content is in the section
You can’t perform that action at this time.
0 commit comments