Skip to content

Commit e515f6c

Browse files
committed
branch
1 parent 6014a04 commit e515f6c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

frontend/packages/component-library/src/cms/section/stories/Section.story.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,22 +68,21 @@ export const SectionWithBackgroundColor: Story = {
6868
},
6969
};
7070

71-
7271
export const SectionWithBackgroundColorT: Story = {
7372
args: {
7473
background: sectionBackground.secondary,
7574
padding: 'l',
7675
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+
</>
8180
),
8281
},
8382
play: async ({canvasElement}: {canvasElement: HTMLElement}) => {
8483
const canvas = within(canvasElement);
8584
const heading = canvas.getByText(
86-
'This is a section with a background color',
85+
'This is a section with a background color!',
8786
);
8887

8988
// check if children content is in the section

0 commit comments

Comments
 (0)