-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(Storybook): fix story control naming inconsistencies (#1201)
- Loading branch information
1 parent
d2aa0b5
commit cae6c5c
Showing
61 changed files
with
508 additions
and
533 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,21 @@ | ||
import {openStoryPage, screen} from '../test-utils'; | ||
|
||
test.each` | ||
inverseOutside | inverseInside | ||
${false} | ${false} | ||
${false} | ${true} | ||
${true} | ${false} | ||
${true} | ${true} | ||
`( | ||
'Boxed inverseOutside($inverseOutside) inverseInside($inverseInside)', | ||
async ({inverseOutside, inverseInside}) => { | ||
await openStoryPage({ | ||
id: 'components-primitives-boxed--default', | ||
device: 'MOBILE_IOS', | ||
args: { | ||
inverseInside, | ||
inverseOutside, | ||
}, | ||
}); | ||
overInverse | inverse | ||
${false} | ${false} | ||
${false} | ${true} | ||
${true} | ${false} | ||
${true} | ${true} | ||
`('Boxed inverseOutside($overInverse) inverseInside($inverse)', async ({overInverse, inverse}) => { | ||
await openStoryPage({ | ||
id: 'components-primitives-boxed--default', | ||
device: 'MOBILE_IOS', | ||
args: { | ||
overInverse, | ||
inverse, | ||
}, | ||
}); | ||
|
||
const image = await (await screen.findByTestId('boxed')).screenshot(); | ||
expect(image).toMatchImageSnapshot(); | ||
} | ||
); | ||
const image = await (await screen.findByTestId('boxed')).screenshot(); | ||
expect(image).toMatchImageSnapshot(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
cae6c5c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for mistica-web ready!
✅ Preview
https://mistica-8dbpemxcr-flows-projects-65bb050e.vercel.app
Built with commit cae6c5c.
This pull request is being automatically deployed with vercel-action