import { Keys, Pipeline, RawAssertions, Step, Waiter } from '@ephox/agar'; import { UnitTest } from '@ephox/bedrock'; import { Cell } from '@ephox/katamari'; import { TinyActions, TinyApis, TinyLoader } from '@ephox/mcagar'; import Env from 'tinymce/core/api/Env'; import TablePlugin from 'tinymce/plugins/table/Plugin'; import ModernTheme from 'tinymce/themes/modern/Theme'; UnitTest.asynctest( 'browser.tinymce.plugins.table.quirks.KeyboardCellNavigationTest', function () { const success = arguments[arguments.length - 2]; const failure = arguments[arguments.length - 1]; ModernTheme(); TablePlugin(); TinyLoader.setup(function (editor, onSuccess, onFailure) { const tinyApis = TinyApis(editor); const tinyActions = TinyActions(editor); const selectionChangeState = Cell(false); Pipeline.async({}, Env.webkit ? [ tinyApis.sFocus, tinyApis.sSetContent( '
|
|