Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

test(viewport): retain spatial drag startup diagnostics

yhh8b11680281c7
diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjs
index fa3036b81..cf9311860 100644
--- a/tools/releaseNotes.mjs
+++ b/tools/releaseNotes.mjs
@@ -28,6 +28,8 @@ export const NOTES_FLOOR = 'v0.65.0';
* the reader recognises anyway.
*/
export const NOTED = {
+ 'test(viewport): retain spatial drag startup diagnostics':
+ { internal: 'CI spatial gesture acceptance preserves process output and reports startup failures before a trusted drag observation is available.' },
'chore(release): classify editor capabilities for v0.86.0':
{ internal: 'Release capability census records the editor-only features and their existing unit and CI acceptance paths.' },
'test(viewport): distinguish plane handles in axis acceptance':
diff --git a/tools/verify-gizmo-planes.mjs b/tools/verify-gizmo-planes.mjs
index 80a693905..546d77b1c 100644
--- a/tools/verify-gizmo-planes.mjs
+++ b/tools/verify-gizmo-planes.mjs
@@ -25,7 +25,8 @@ try{
ESTELLA_SHOT:path.join(out,axis+'.png'),ESTELLA_SHOT_PROJECT:project,ESTELLA_SHOT_SCENE:'assets/scenes/main.esscene',
ESTELLA_SHOT_EVAL:`(async()=>{const e=window.__estellaEditor;e.runCommand('mode.scene');e.surface.setViewPerspective(true);e.surface.setViewOrbit(45,30);e.surface.select(1);e.frame([1]);await new Promise(r=>setTimeout(r,750));e.runCommand('tool.${mode}');return true;})()`,
ESTELLA_SHOT_EDITOR_DRAG:JSON.stringify({selector:'.viewport__stage canvas',point,dx:axis==='xyz'?58:11,dy:axis==='xyz'?0:7,read})}});
- assert.equal(run.status,0,run.stderr);const line=run.stdout.split('\n').find(l=>l.startsWith('[editorDrag] '));assert(line,'Missing trusted spatial drag');
+ fs.writeFileSync(path.join(out,axis+'.log'),run.stdout+'\n'+run.stderr);
+ assert.equal(run.status,0,run.stderr);const line=run.stdout.split('\n').find(l=>l.startsWith('[editorDrag] '));assert(line,'Missing trusted spatial drag: '+axis+'\n'+run.stdout+'\n'+run.stderr);
const result=JSON.parse(line.slice('[editorDrag] '.length));records.push({axis,...result});
fs.writeFileSync(path.join(out,'observations.json'),JSON.stringify({status:'checking',records},null,2));
const before=result.before.pose,after=result.after.pose;