Skip to content

Commit

Permalink
Add rendering delays in Chromatic
Browse files Browse the repository at this point in the history
This allows network mocks to resolve before snapshots are taken.
  • Loading branch information
allanlasser committed Dec 13, 2023
1 parent b99f932 commit db8e77e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/common/dialog/stories/RevisionsDialog.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
component: RevisionsDialog,
parameters: {
layout: "centered",
chromatic: { delay: 300 },
msw: {
handlers: [revisionControl.success, mockGetMe.data],
},
Expand Down
5 changes: 4 additions & 1 deletion src/pages/app/accounts/stories/OrgMemberList.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
export const meta = {
title: "Account Navigation / Menus / Org / Member List",
component: OrgMemberList,
parameters: { layout: "centered" },
parameters: {
layout: "centered",
chromatic: { delay: 300 },
},
};
</script>

Expand Down

0 comments on commit db8e77e

Please sign in to comment.