Skip to content

Commit

Permalink
🎨 [#4637] Prettified code
Browse files Browse the repository at this point in the history
  • Loading branch information
robinmolen committed Sep 19, 2024
1 parent 4d1ee9f commit 1c21e58
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/registry/selectboxes/selectboxes-validation.stories.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import { Meta, StoryObj } from '@storybook/react';
import { expect, fn, userEvent, waitFor, within } from '@storybook/test';


import {Meta, StoryObj} from '@storybook/react';
import {expect, fn, userEvent, waitFor, within} from '@storybook/test';

import ComponentEditForm from '@/components/ComponentEditForm';
import { BuilderContextDecorator } from '@/sb-decorators';

import {BuilderContextDecorator} from '@/sb-decorators';

export default {
title: 'Builder components/SelectBoxes/Validations',
Expand Down Expand Up @@ -76,11 +73,11 @@ export const ManualMinimumOneValue: Story = {
};

export const TranslationsArentRequired: Story = {
name: 'Translations: translations aren\'t required fields',
name: "Translations: translations aren't required fields",
play: async ({canvasElement, step}) => {
const canvas = within(canvasElement);

await step('Translations aren\'t required fields', async () => {
await step("Translations aren't required fields", async () => {
await userEvent.click(canvas.getByRole('tab', {name: 'Translations'}));
const editForm = within(canvas.getByTestId('componentEditForm'));

Expand Down

0 comments on commit 1c21e58

Please sign in to comment.