@shopware-ag/meteor-component-library
Advanced tools
Comparing version 3.8.1 to 3.8.2
{ | ||
"name": "@shopware-ag/meteor-component-library", | ||
"version": "3.8.1", | ||
"version": "3.8.2", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
@@ -199,2 +199,29 @@ import { within, userEvent } from "@storybook/test"; | ||
export const VisualTestPlaceholder: MtSelectStory = { | ||
name: "Should display placeholder", | ||
args: { | ||
placeholder: "Select an option", | ||
modelValue: undefined, | ||
}, | ||
play: ({ canvasElement, args }) => { | ||
const canvas = within(canvasElement); | ||
expect(canvas.getAllByPlaceholderText(args.placeholder!)).toBeDefined(); | ||
}, | ||
}; | ||
export const VisualTestPlaceholderMulti: MtSelectStory = { | ||
name: "Should display placeholder in multi select", | ||
args: { | ||
placeholder: "Select an option", | ||
modelValue: undefined, | ||
enableMultiSelection: true, | ||
}, | ||
play: ({ canvasElement, args }) => { | ||
const canvas = within(canvasElement); | ||
expect(canvas.getAllByPlaceholderText(args.placeholder!)).toBeDefined(); | ||
}, | ||
}; | ||
export const VisualTestHint: MtSelectStory = { | ||
@@ -201,0 +228,0 @@ name: "Should display hint", |
@@ -88,2 +88,9 @@ import { within, userEvent } from "@storybook/test"; | ||
export const VisualTestFieldIsRequired: MtTextFieldStory = { | ||
name: "Should display an indicator that the field id required", | ||
args: { | ||
required: true, | ||
}, | ||
}; | ||
export const VisualTestCharacterCountExceeding: MtTextFieldStory = { | ||
@@ -90,0 +97,0 @@ name: "Should display error when character count exceeds max value", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14769587
64579