diff --git a/tests/e2e/shared/forms.ts b/tests/e2e/shared/forms.ts index 2728acf5e7..99ad5a0a6d 100644 --- a/tests/e2e/shared/forms.ts +++ b/tests/e2e/shared/forms.ts @@ -10,7 +10,7 @@ export async function validate_form({page}: {page: Page}, scope: 'form' | 'field ]; await accessibilityCheck({page}, [scope], excludedElements, []); - // assert CSS properties that needed to be overriden for forms (ensure they remain active) + // assert CSS properties that needed to be overridden for forms (ensure they remain active) const boxes = page.getByRole('checkbox').or(page.getByRole('radio')); for (const b of await boxes.all()) { await expect(b).toHaveCSS('margin-left', '0px'); @@ -25,7 +25,7 @@ export async function validate_form({page}: {page: Page}, scope: 'form' | 'field expect(str.split('\n')[0]).not.toContain(':'); } - // check that multiple help text are correctly aligned to each other + // check that multiple help texts are correctly aligned to each other // used for example to separate read/write permissions in team permission matrix for (const l of await page.locator('label:has(.help + .help)').all()) { const helpLabels = await l.locator('.help').all();