diff --git a/tools/e2e/57-object-references.mjs b/tools/e2e/57-object-references.mjs index 57eb18cf..0c76e4bc 100644 --- a/tools/e2e/57-object-references.mjs +++ b/tools/e2e/57-object-references.mjs @@ -268,7 +268,9 @@ export async function objectReferences(t) { JSON.stringify({ tabShown, inTab, fromList, listCandidate, backIn, crowd }), ); - // Clean up. + // Clean up. Back to the scene view first: removing Aim 57 closes 57g's Variables tab, and the + // editor then shows whatever document earlier steps left open, not the scene view. + await t.showTab('scene'); await evaluate('__gm.state.select(null)'); await mutate(` const p = __gm.state.project; diff --git a/tools/e2e/58-clip-areas.mjs b/tools/e2e/58-clip-areas.mjs index d6339a65..4754553e 100644 --- a/tools/e2e/58-clip-areas.mjs +++ b/tools/e2e/58-clip-areas.mjs @@ -12,7 +12,8 @@ const BAR = 'cl58-bar'; const AREA = 'cl58-clip'; export async function clipAreas(t) { - const { check, json, evaluate, mutate, click, sleep, shot, stop, wheel } = t; + const { check, json, evaluate, mutate, click, sleep, shot, stop, wheel, showTab } = t; + await showTab('scene'); // On mouse wheel → Log(delta), with no owner: it hears the whole game view. const graph = {