-
- <${KolInputTag}
- _currentlength="${props._value ? `${props._value.length}` : '0'}"
- ${props._disabled ? ' _disabled=""' : ''}
- _hint="${props._hint ? props._hint : ''}"
- _id="id-nonce"
- _label="${props._label ? props._label : ''}"
- ${props._touched ? '_touched=""' : ''}
- ${(state._alert === undefined && state._touched) || state._alert ? `_alert=""` : ''}
- _tooltipalign="top"
- class="textarea"
- role="presentation"
- >
-
- ${
- hasExpertSlot || !props._label
- ? ``
- : typeof props._accessKey === 'string'
- ? `<>
- {' '}
-
- ${props._accessKey}
-
- >`
- : `${props._label}`
- }
-
-
-
-
- ${KolInputTag}>
-
-`;
-};
diff --git a/packages/components/src/components/textarea/test/snapshot.spec.tsx b/packages/components/src/components/textarea/test/snapshot.spec.tsx
index b8f3154033..df4ac8c05a 100644
--- a/packages/components/src/components/textarea/test/snapshot.spec.tsx
+++ b/packages/components/src/components/textarea/test/snapshot.spec.tsx
@@ -1,36 +1,10 @@
-import { executeTests } from 'stencil-awesome-test';
-
-import { h } from '@stencil/core';
-import { newSpecPage } from '@stencil/core/testing';
-
-import { getTextareaHtml } from './html.mock';
-
+import { KolTextareaTag } from '../../../core/component-names';
import type { TextareaProps } from '../../../schema';
-import type { SpecPage } from '@stencil/core/testing';
+import { executeInputSnapshotTests } from '../../../utils/testing';
+
import { KolTextarea } from '../shadow';
-executeTests