Skip to content

Commit

Permalink
Revert "[REVERT ME?] Storybook testing"
Browse files Browse the repository at this point in the history
This reverts commit eac1f77.
  • Loading branch information
cee-chen committed May 21, 2024
1 parent 484aa2a commit 7779b91
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions packages/eui/src/components/form/field_text/field_text.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* Side Public License, v 1.
*/

import React from 'react';
import type { Meta, StoryObj } from '@storybook/react';
import {
disableStorybookControls,
Expand Down Expand Up @@ -63,23 +62,3 @@ moveStorybookControlsToCategory(IconShape, [
]);
// Hide props that remove or won't affect the icon or its positioning
hideStorybookControls(IconShape, ['controlOnly', 'inputRef']);

export const AutoFill: Story = {
parameters: {
controls: { include: ['name'] },
},
decorators: [
(Story) => (
<form action="#">
In Chrome: Type any text, press Enter, then go back and select the
autofill suggestion. Test light+dark mode as well as invalid state
<br />
<br />
<Story />
</form>
),
],
args: {
name: 'autofill-test',
},
};

0 comments on commit 7779b91

Please sign in to comment.