Skip to content

Commit

Permalink
test(component-library): add visual tests for inherited email field
Browse files Browse the repository at this point in the history
  • Loading branch information
Haberkamp committed Jan 24, 2025
1 parent 3c33de6 commit 47f2e89
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,21 @@ export const TestShouldCopyValue: MtEmailFieldStory = {
await userEvent.keyboard("{Enter}");
},
};

export const VisualTestLinkedInheritanec: MtEmailFieldStory = {
name: "Linked inheritance",
args: {
isInheritanceField: true,
isInherited: true,
modelValue: "[email protected]",
},
};

export const VisualTestUnlinkedInheritance: MtEmailFieldStory = {
name: "Unlinked inheritance",
args: {
isInheritanceField: true,
isInherited: false,
modelValue: "[email protected]",
},
};

0 comments on commit 47f2e89

Please sign in to comment.