Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Floris272 committed Sep 23, 2024
1 parent 5eba0fb commit c00bf23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/ComponentConfiguration.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2237,7 +2237,7 @@ export const ProductPrice: Story = {
id: 'wqimsadk',
type: 'productPrice',
key: 'productPrice',
label: 'An productPrice field',
label: 'A productPrice field',
product: '123',
},

Expand All @@ -2254,7 +2254,7 @@ export const ProductPrice: Story = {
const canvas = within(canvasElement);
const preview = within(canvas.getByTestId('componentPreview'));

await expect(canvas.getByLabelText('Label')).toHaveValue('An productPrice field');
await expect(canvas.getByLabelText('Label')).toHaveValue('A productPrice field');
await waitFor(async () => {
await expect(canvas.getByLabelText('Property Name')).toHaveValue('anProductPriceField');
});
Expand Down
2 changes: 1 addition & 1 deletion src/registry/productPrice/edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ EditForm.defaultValues = {
showInPDF: true,
hidden: false,
clearOnHide: true,
isSensitiveData: true,
isSensitiveData: false,
product: '',
// Advanced tab
conditional: {
Expand Down

0 comments on commit c00bf23

Please sign in to comment.