diff --git a/src/devtools/tests.ts b/src/devtools/tests.ts index 084b11e..4e3ce62 100644 --- a/src/devtools/tests.ts +++ b/src/devtools/tests.ts @@ -1509,9 +1509,13 @@ export function registerAllTests(): void { expect(brand).toBeTruthy() }) - test('timeline has new-track dropzone', () => { + test('new-track dropzone is hidden while the clip library is empty', () => { + // Regression: the dropzone used to always render and show "Drop a + // clip here" even when the library had no clips. Timeline now gates + // `.clip-track-dropzone` behind `scene.clips.length > 0`. The live + // smoke scene starts blank, so the dropzone must be absent. const dz = document.querySelector('.clip-track-dropzone') - expect(dz).toBeTruthy() + expect(dz).toBeNull() }) test('timeline has add-group button', () => {