diff --git a/modules/tinymce/src/themes/silver/test/ts/module/StickyHeaderStep.ts b/modules/tinymce/src/themes/silver/test/ts/module/StickyHeaderStep.ts index d090d1f583a..87b82432773 100644 --- a/modules/tinymce/src/themes/silver/test/ts/module/StickyHeaderStep.ts +++ b/modules/tinymce/src/themes/silver/test/ts/module/StickyHeaderStep.ts @@ -1,5 +1,6 @@ import { UiFinder, Waiter } from '@ephox/agar'; import { after, before, context, it } from '@ephox/bedrock-client'; +import { PlatformDetection } from '@ephox/sand'; import { SugarBody } from '@ephox/sugar'; import { TinyHooks } from '@ephox/wrap-mcagar'; import { assert } from 'chai'; @@ -17,6 +18,7 @@ const testStickyHeader = (toolbarMode: ToolbarMode, toolbarLocation: ToolbarLoca const isToolbarTop = toolbarLocation === ToolbarLocation.top; context('Test editor with toolbar_mode: ' + toolbarMode, () => { + const browser = PlatformDetection.detect().browser; const hook = TinyHooks.bddSetup({ plugins: 'fullscreen', base_url: '/project/tinymce/js/tinymce', @@ -138,7 +140,11 @@ const testStickyHeader = (toolbarMode: ToolbarMode, toolbarLocation: ToolbarLoca }); }); - it('Toggle fullscreen mode and ensure header moves from docked -> undocked -> docked', async () => { + it('Toggle fullscreen mode and ensure header moves from docked -> undocked -> docked', async function () { + // TINY-7873: On Firefox 91 the header/toolbar isn't showing when toggling fullscreen mode, so we need to investigate + if (browser.isFirefox() && browser.version.major >= 91) { + this.skip(); + } const editor = hook.editor(); await StickyUtils.pScrollAndAssertStructure(isToolbarTop, 200, StickyUtils.expectedHalfView); editor.execCommand('mceFullscreen');