diff --git a/packages/sanity/playwright-ct/tests/formBuilder/inputs/PortableText/Decorators.spec.tsx b/packages/sanity/playwright-ct/tests/formBuilder/inputs/PortableText/Decorators.spec.tsx index 3008add7ce8..3d735029c75 100644 --- a/packages/sanity/playwright-ct/tests/formBuilder/inputs/PortableText/Decorators.spec.tsx +++ b/packages/sanity/playwright-ct/tests/formBuilder/inputs/PortableText/Decorators.spec.tsx @@ -39,10 +39,17 @@ const DEFAULT_DECORATORS = [ test.describe('Portable Text Input', () => { test.describe('Decorators', () => { - test('Render default decorators with keyboard shortcuts', async ({mount, page}) => { + test('Render default decorators with keyboard shortcuts', async ({ + mount, + page, + browserName, + }) => { // avoid flakiness to make sure the test has the best chance despite being slow test.slow() + // For now, only test in Chromium due to flakiness in Firefox and WebKit + test.skip(browserName !== 'chromium') + const { getModifierKey, getFocusedPortableTextEditor,