Skip to content

Commit

Permalink
rename tests
Browse files Browse the repository at this point in the history
  • Loading branch information
atabel committed Aug 21, 2023
1 parent b627dbd commit b67663f
Show file tree
Hide file tree
Showing 18 changed files with 11 additions and 11 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const TESTABLE_DEVICES = ['MOBILE_IOS', 'DESKTOP'] as const;

test.each(TESTABLE_DEVICES)('Sheet in %s', async (device) => {
const page = await openStoryPage({
id: 'components-modals-Sheet--default',
id: 'components-modals-sheet--default',
device,
});

Expand All @@ -20,7 +20,7 @@ test.each(TESTABLE_DEVICES)('Sheet in %s', async (device) => {

test.each(TESTABLE_DEVICES)('ActionsListSheet in %s', async (device) => {
const page = await openStoryPage({
id: 'components-modals-Sheet--actions-list',
id: 'components-modals-sheet--actions-list',
device,
});

Expand All @@ -36,7 +36,7 @@ test.each(TESTABLE_DEVICES)('ActionsListSheet in %s', async (device) => {

test.each(TESTABLE_DEVICES)('RadioListSheet in %s', async (device) => {
const page = await openStoryPage({
id: 'components-modals-Sheet--radio-list',
id: 'components-modals-sheet--radio-list',
device,
});

Expand All @@ -52,7 +52,7 @@ test.each(TESTABLE_DEVICES)('RadioListSheet in %s', async (device) => {

test.each(TESTABLE_DEVICES)('InfoSheet in %s', async (device) => {
const page = await openStoryPage({
id: 'components-modals-Sheet--info',
id: 'components-modals-sheet--info',
device,
});

Expand All @@ -68,7 +68,7 @@ test.each(TESTABLE_DEVICES)('InfoSheet in %s', async (device) => {

test.each(TESTABLE_DEVICES)('ActionsSheet in %s', async (device) => {
const page = await openStoryPage({
id: 'components-modals-Sheet--actions',
id: 'components-modals-sheet--actions',
device,
});

Expand Down
12 changes: 6 additions & 6 deletions src/__stories__/sheet-story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const Default: StoryComponent = () => {
const [open, setOpen] = React.useState(false);

return (
<Box paddingY={24}>
<Box paddingY={24} paddingX={16}>
<ButtonPrimary
disabled={open}
onPress={() => {
Expand Down Expand Up @@ -79,7 +79,7 @@ export const RadioList: StoryComponent<RadioListSheetArgs> = ({title, subtitle,
const [selected, setSelected] = React.useState<string | null>(null);

return (
<Box paddingY={24}>
<Box paddingY={24} paddingX={16}>
<Stack space={16}>
<ButtonPrimary
disabled={open}
Expand Down Expand Up @@ -158,7 +158,7 @@ export const ActionsList: StoryComponent<SheetArgs> = ({title, subtitle, descrip
const [selected, setSelected] = React.useState<string | null>(null);

return (
<Box paddingY={24}>
<Box paddingY={24} paddingX={16}>
<Stack space={16}>
<ButtonPrimary
disabled={open}
Expand Down Expand Up @@ -230,7 +230,7 @@ export const Info: StoryComponent<InfoSheetArgs> = ({title, subtitle, descriptio
const [open, setOpen] = React.useState(false);

return (
<Box paddingY={24}>
<Box paddingY={24} paddingX={16}>
<ButtonPrimary
disabled={open}
onPress={() => {
Expand Down Expand Up @@ -304,7 +304,7 @@ export const Actions: StoryComponent<ActionsSheetArgs> = ({
const [pressedButton, setPressedButton] = React.useState<string | null>(null);

return (
<Box paddingY={24}>
<Box paddingY={24} paddingX={16}>
<Stack space={16}>
<ButtonPrimary
disabled={open}
Expand Down Expand Up @@ -381,7 +381,7 @@ type RootArgs = {
export const Root: StoryComponent<RootArgs> = ({title, subtitle, description}) => {
const [response, setResponse] = React.useState<unknown>();
return (
<Box paddingY={24}>
<Box paddingY={24} paddingX={16}>
<SheetRoot />
<Stack space={16}>
<Inline space={16}>
Expand Down
File renamed without changes.

0 comments on commit b67663f

Please sign in to comment.