diff --git a/e2e/components/FormLabel/FormLabel-test.avt.e2e.js b/e2e/components/FormLabel/FormLabel-test.avt.e2e.js
index 458009fc1378..5db62fc1b376 100644
--- a/e2e/components/FormLabel/FormLabel-test.avt.e2e.js
+++ b/e2e/components/FormLabel/FormLabel-test.avt.e2e.js
@@ -22,35 +22,27 @@ test.describe('@avt FormLabel', () => {
await expect(page).toHaveNoACViolations('FormLabel');
});
- test('@avt-advanced-states FormLabel with tooltip', async ({ page }) => {
+ test('@avt-advanced-states FormLabel with toggletip', async ({ page }) => {
await visitStory(page, {
component: 'FormLabel',
- id: 'components-formlabel--with-tooltip',
+ id: 'components-formlabel--with-toggletip',
globals: {
theme: 'white',
},
});
- await expect(page).toHaveNoACViolations('FormLabel-with-tooltip');
+ await expect(page).toHaveNoACViolations('FormLabel-with-toggletip');
});
- test('@avt-keyboard-nav FormLabel with tooltip', async ({ page }) => {
+ test('@avt-keyboard-nav FormLabel with toggletip', async ({ page }) => {
await visitStory(page, {
component: 'FormLabel',
- id: 'components-formlabel--with-tooltip',
+ id: 'components-formlabel--with-toggletip',
globals: {
theme: 'white',
},
});
- await expect(page.getByText('Form label with Tooltip')).toBeVisible();
- await page.keyboard.press('Tab');
- await expect(
- page
- .getByText(
- 'This can be used to provide more information about a field.'
- )
- .first()
- ).toBeVisible();
+ await expect(page.getByText('Form label with toggletip')).toBeVisible();
await page.keyboard.press('Tab');
await page.keyboard.press('Enter');
await expect(
diff --git a/e2e/components/FormLabel/FormLabel-test.e2e.js b/e2e/components/FormLabel/FormLabel-test.e2e.js
index 3063608fa485..1f7c30264cf8 100644
--- a/e2e/components/FormLabel/FormLabel-test.e2e.js
+++ b/e2e/components/FormLabel/FormLabel-test.e2e.js
@@ -25,7 +25,7 @@ test.describe('FormLabel', () => {
test('with tooltip @vrt', async ({ page }) => {
await snapshotStory(page, {
component: 'FormLabel',
- id: 'components-formlabel--with-tooltip',
+ id: 'components-formlabel--with-toggletip',
theme,
});
});
diff --git a/packages/react/src/components/FormLabel/FormLabel.stories.js b/packages/react/src/components/FormLabel/FormLabel.stories.js
index d99839b6418c..f7bd1d6705f3 100644
--- a/packages/react/src/components/FormLabel/FormLabel.stories.js
+++ b/packages/react/src/components/FormLabel/FormLabel.stories.js
@@ -21,20 +21,10 @@ export default {
export const Default = () =>