docs/slate-issues/test-candidate-map/6038-6007.md
These TDD handoff notes cover issues #6038 through #6007 from the pilot set. Use the top-level index for range navigation and the dossiers for fuller thread context.
slatenot-a-test-candidateEditor.withBatch, Transforms.applyBatch, editor.applyThis is an architecture/performance tracking issue, not a single failing user behavior with one canonical red assertion.
packages/slate/test/perf/set-nodes-bench.jsTransforms.applyBatch(editor, ops)Editor.withBatch(editor, fn)editor.apply(op) wrapperseditor.children observationDo not write one giant “fix #6038” test. Slice it into concrete behaviors:
set_node preserves published-node immutabilityeditor.apply wrapper still observes correct state after downstream applyslate-dom and slate-reactready-nowArrowDown.This wants an integration-style DOM test, not a unit test against private helpers. The bug is about browser/editor boundary behavior, so anything lower-level would be lying.
slate-dom and slate-reactready-with-minor-setupThe issue is richly specified, but true Android keyboard-dismiss behavior may not be directly testable in the current browser test harness. The likely first red test is the selection oscillation, not the keyboard dismissal itself.
insert_nodeset_selection bouncing between [0,0] and [0,1]slate-dom and slate-reactready-now<Slate> editors using that same object reference.This is ready as a v2 capability test, not as a current-Slate obligation. For current Slate, the thread strongly suggests this usage is unsupported.
slate-reactready-now<Slate editor={editor}> render without initialValueeditor.childrenSlate component without initialValueeditor.children to a valid document.<Slate editor={editor}>...</Slate>.initialValue is invalid errorIf this is ever implemented, the test should also cover the guardrail case discussed in the thread: empty editor.children without initialValue should still produce an intentional warning or explicit behavior.
docs-onlynot-a-test-candidateThis is release-process integrity, not editor behavior.