Commit Graph

432 Commits

Author SHA1 Message Date
a89a9ba58d Add test for camera look using gamepad right stick without pointer lock 2026-04-11 12:33:43 +02:00
9355531c0c Update third-person-navigation-controller.test.ts with new imports and resolved player motion type 2026-04-11 12:20:03 +02:00
26e86baf98 Update FirstPersonNavigationController context and resolveFirstPersonMotion type 2026-04-11 12:19:59 +02:00
4d682eed17 Add unit test for ThirdPersonNavigationController 2026-04-11 12:17:09 +02:00
c3b156040d Add mock gamepad and update tests for FirstPersonNavigationController 2026-04-11 12:16:14 +02:00
1dddeaf0b8 Remove unused state and function in App component 2026-04-11 12:01:46 +02:00
43e9e7baa0 Simplify interaction prompt display and handling in various components 2026-04-11 11:40:25 +02:00
b9bed17a2f Add third-person camera collision resolution in tests 2026-04-11 11:22:23 +02:00
c81c40f8ea Modify RunnerCanvas test to check third-person mode HUD 2026-04-11 11:21:45 +02:00
9d3317066b Add unit test for RapierCollisionWorld 2026-04-11 11:21:45 +02:00
d36b40c333 Add navigationMode to entity-instances test data 2026-04-11 11:20:03 +02:00
1576282819 Update types and formatting in first-person-navigation-controller.test.ts 2026-04-11 11:20:03 +02:00
9b8aa3a00b Update tests for thirdPerson navigation mode 2026-04-11 11:19:08 +02:00
27a948e4ab Refactor pointer lock handling in tests 2026-04-11 05:17:29 +02:00
75d8723565 Add tests and update navigation controller deactivation logic 2026-04-11 05:17:01 +02:00
1960cf97ab Refactor test setup for RunnerCanvas component 2026-04-11 04:57:05 +02:00
c892aa0f6c Add test for runtime host recreation logic 2026-04-11 04:57:01 +02:00
50977af4e0 Add integration test for app scene transition 2026-04-11 04:42:52 +02:00
d4f2e1a171 Add setSceneExitHandler and onSceneExitActivated to RunnerCanvas tests 2026-04-11 04:40:33 +02:00
e205cea50c auto-git:
[change] src/app/app.css
 [change] src/commands/set-scene-loading-screen-command.ts
 [change] src/document/migrate-scene-document.ts
 [change] src/document/scene-document-validation.ts
 [change] src/document/scene-document.ts
 [change] src/runner-web/RunnerCanvas.tsx
 [change] src/runtime-three/first-person-navigation-controller.ts
 [change] src/runtime-three/navigation-controller.ts
 [change] src/runtime-three/orbit-visitor-navigation-controller.ts
 [change] src/runtime-three/runtime-host.ts
 [change] tests/domain/editor-store.test.ts
 [change] tests/serialization/local-draft-storage.test.ts
 [change] tests/serialization/project-document-json.test.ts
 [change] tests/serialization/project-package.test.ts
 [change] tests/unit/runner-canvas.test.tsx
 [change] tests/unit/runtime-host.test.ts
2026-04-11 04:19:51 +02:00
75986da19d auto-git:
[change] tests/unit/runtime-host.test.ts
2026-04-11 04:19:51 +02:00
e6944f6c32 Add unit test for RuntimeHost 2026-04-11 04:19:00 +02:00
d3d47abb98 Update RunnerCanvas tests to include scene loading and error handling 2026-04-11 04:18:11 +02:00
659485870a Add setGridVisible to MockViewportHost 2026-04-11 03:53:08 +02:00
fe1d81b3a4 Update test to use projectDocument instead of document 2026-04-11 03:51:10 +02:00
23eaeebb90 Add transform-axis-mapping test file 2026-04-11 03:24:06 +02:00
581da40993 Add cameraSyncRequestId to ViewportCanvas tests 2026-04-11 03:24:06 +02:00
4a66cccd79 auto-git:
[change] src/app/App.tsx
 [change] src/app/editor-store.ts
 [change] src/core/transform-session.ts
 [change] src/viewport-three/ViewportCanvas.tsx
 [change] src/viewport-three/ViewportPanel.tsx
 [change] src/viewport-three/viewport-host.ts
 [change] tests/unit/viewport-canvas.test.tsx
2026-04-11 02:44:49 +02:00
9950444027 auto-git:
[change] tests/unit/transform-foundation.integration.test.tsx
2026-04-11 02:44:49 +02:00
c991f41158 auto-git:
[change] src/viewport-three/viewport-host.ts
 [change] tests/unit/viewport-canvas.test.tsx
2026-04-11 02:44:49 +02:00
5ed5cb25d3 Set viewportGridVisible to true in tests and component props 2026-04-11 02:43:38 +02:00
528d29a4e0 Add tests for transform session axis constraint toggling and viewport camera state persistence 2026-04-11 02:42:13 +02:00
1eddabb5f9 Add emitCameraStateChange function and import ViewportPanelCameraState 2026-04-11 02:41:59 +02:00
ee30f04616 Add setGridVisible to MockViewportHost in transform-foundation integration test 2026-04-11 02:41:59 +02:00
d5d6e1f4bd Add setGridVisible to MockViewportHost and update tests 2026-04-11 02:41:59 +02:00
e38cb1358f Add setRenderEnabled method to MockViewportHost 2026-04-10 12:34:28 +02:00
ebde30ab22 Refactor test mocks in app-project-persistence.integration.test.tsx 2026-04-10 12:28:13 +02:00
19fb68b1ce Add tests and update messages for autosave functionality 2026-04-10 12:26:04 +02:00
79dac5911c Update tests for water material and volume integration 2026-04-07 07:33:37 +02:00
c82d547dd8 Add surfaceDisplacementEnabled to water material tests and validation 2026-04-07 07:22:24 +02:00
f9f0a4cfd1 Add foamContactLimit to water volume test 2026-04-07 06:57:42 +02:00
238e8390a2 Add foamContactLimit to water properties in water-volume.integration.test.tsx 2026-04-07 06:56:35 +02:00
b6f34a3604 Add underwater fog functionality 2026-04-07 06:17:25 +02:00
0826cc78bb Update RunnerCanvas to use cameraSubmerged for underwater overlay and add tests 2026-04-07 05:30:24 +02:00
2f8d22640d Refactor water volume integration test to use waitFor instead of fake timers 2026-04-06 17:35:21 +02:00
a157eefd1f Add water material and volume tests 2026-04-06 17:34:54 +02:00
733295b36c Update tests to include initialGeometry for brushes 2026-04-05 02:59:57 +02:00
0b54fa14c9 auto-git:
[add] playwright.config.js
 [add] src/app/App.js
 [add] src/app/editor-store.js
 [add] src/app/use-editor-store.js
 [add] src/assets/audio-assets.js
 [add] src/assets/gltf-model-import.js
 [add] src/assets/image-assets.js
 [add] src/assets/model-instance-labels.js
 [add] src/assets/model-instance-rendering.js
 [add] src/assets/model-instances.js
 [add] src/assets/project-asset-storage.js
 [add] src/assets/project-assets.js
 [add] src/commands/brush-command-helpers.js
 [add] src/commands/command-history.js
 [add] src/commands/command.js
 [add] src/commands/commit-transform-session-command.js
 [add] src/commands/create-box-brush-command.js
 [add] src/commands/delete-box-brush-command.js
 [add] src/commands/delete-entity-command.js
 [add] src/commands/delete-interaction-link-command.js
 [add] src/commands/delete-model-instance-command.js
 [add] src/commands/import-audio-asset-command.js
 [add] src/commands/import-background-image-asset-command.js
 [add] src/commands/import-model-asset-command.js
 [add] src/commands/move-box-brush-command.js
 [add] src/commands/resize-box-brush-command.js
 [add] src/commands/rotate-box-brush-command.js
 [add] src/commands/set-box-brush-face-material-command.js
 [add] src/commands/set-box-brush-face-uv-state-command.js
 [add] src/commands/set-box-brush-name-command.js
 [add] src/commands/set-box-brush-transform-command.js
 [add] src/commands/set-entity-name-command.js
 [add] src/commands/set-model-instance-name-command.js
 [add] src/commands/set-player-start-command.js
 [add] src/commands/set-scene-name-command.js
 [add] src/commands/set-world-settings-command.js
 [add] src/commands/upsert-entity-command.js
 [add] src/commands/upsert-interaction-link-command.js
 [add] src/commands/upsert-model-instance-command.js
 [add] src/core/ids.js
 [add] src/core/selection.js
 [add] src/core/tool-mode.js
 [add] src/core/transform-session.js
 [add] src/core/vector.js
 [add] src/core/whitebox-selection-feedback.js
 [add] src/core/whitebox-selection-mode.js
 [add] src/document/brushes.js
 [add] src/document/migrate-scene-document.js
 [add] src/document/scene-document-validation.js
 [add] src/document/scene-document.js
 [add] src/document/world-settings.js
 [add] src/entities/entity-instances.js
 [add] src/entities/entity-labels.js
 [add] src/geometry/box-brush-components.js
 [add] src/geometry/box-brush-mesh.js
 [add] src/geometry/box-brush.js
 [add] src/geometry/box-face-uvs.js
 [add] src/geometry/grid-snapping.js
 [add] src/geometry/model-instance-collider-debug-mesh.js
 [add] src/geometry/model-instance-collider-generation.js
 [add] src/interactions/interaction-links.js
 [add] src/main.js
 [add] src/materials/starter-material-library.js
 [add] src/materials/starter-material-textures.js
 [add] src/rendering/advanced-rendering.js
 [add] src/runner-web/RunnerCanvas.js
 [add] src/runtime-three/first-person-navigation-controller.js
 [add] src/runtime-three/navigation-controller.js
 [add] src/runtime-three/orbit-visitor-navigation-controller.js
 [add] src/runtime-three/player-collision.js
 [add] src/runtime-three/rapier-collision-world.js
 [add] src/runtime-three/runtime-audio-system.js
 [add] src/runtime-three/runtime-host.js
 [add] src/runtime-three/runtime-interaction-system.js
 [add] src/runtime-three/runtime-scene-build.js
 [add] src/runtime-three/runtime-scene-validation.js
 [add] src/serialization/local-draft-storage.js
 [add] src/serialization/scene-document-json.js
 [add] src/shared-ui/HierarchicalMenu.js
 [add] src/shared-ui/Panel.js
 [add] src/shared-ui/world-background-style.js
 [add] src/viewport-three/ViewportCanvas.js
 [add] src/viewport-three/ViewportPanel.js
 [add] src/viewport-three/viewport-entity-markers.js
 [add] src/viewport-three/viewport-focus.js
 [add] src/viewport-three/viewport-host.js
 [add] src/viewport-three/viewport-layout.js
 [add] src/viewport-three/viewport-transient-state.js
 [add] src/viewport-three/viewport-view-modes.js
 [add] tests/domain/box-brush-face-editing.command.test.js
 [add] tests/domain/build-runtime-scene.test.js
 [add] tests/domain/create-box-brush.command.test.js
 [add] tests/domain/create-empty-scene-document.test.js
 [add] tests/domain/editor-store.test.js
 [add] tests/domain/entity.command.test.js
 [add] tests/domain/interaction-links.validation.test.js
 [add] tests/domain/model-import.test.js
 [add] tests/domain/model-instance.command.test.js
 [add] tests/domain/player-start.command.test.js
 [add] tests/domain/rapier-collision-world.test.js
 [add] tests/domain/runtime-audio-system.test.js
 [add] tests/domain/runtime-interaction-system.test.js
 [add] tests/domain/runtime-scene-validation.test.js
 [add] tests/domain/scene-document-validation.test.js
 [add] tests/domain/transform-session.command.test.js
 [add] tests/domain/world-settings.command.test.js
 [add] tests/domain/world-settings.test.js
 [add] tests/e2e/app-smoke.e2e.js
 [add] tests/e2e/box-brush-authoring.e2e.js
 [add] tests/e2e/entities-foundation.e2e.js
 [add] tests/e2e/face-material-authoring.e2e.js
 [add] tests/e2e/first-room-workflow.e2e.js
 [add] tests/e2e/import-draco-model-asset.e2e.js
 [add] tests/e2e/import-external-model-asset.e2e.js
 [add] tests/e2e/import-model-asset.e2e.js
 [add] tests/e2e/local-lights-and-background.e2e.js
 [add] tests/e2e/orthographic-views.e2e.js
 [add] tests/e2e/runner-v1.e2e.js
 [add] tests/e2e/runtime-click-interaction.e2e.js
 [add] tests/e2e/runtime-trigger-teleport.e2e.js
 [add] tests/e2e/viewport-quad-layout.e2e.js
 [add] tests/e2e/viewport-test-helpers.js
 [add] tests/e2e/whitebox-component-selection.e2e.js
 [add] tests/e2e/world-environment.e2e.js
 [add] tests/geometry/box-brush-geometry.test.js
 [add] tests/geometry/box-face-uvs.test.js
 [add] tests/geometry/model-instance-collider-generation.test.js
 [add] tests/helpers/model-collider-fixtures.js
 [add] tests/serialization/local-draft-storage.test.js
 [add] tests/serialization/project-asset-storage.test.js
 [add] tests/serialization/scene-document-json.test.js
 [add] tests/setup/vitest.setup.js
 [add] tests/unit/audio-assets.test.js
 [add] tests/unit/entity-instances.test.js
 [add] tests/unit/package-scripts.test.js
 [add] tests/unit/transform-foundation.integration.test.js
 [add] tests/unit/viewport-canvas.test.js
 [add] tests/unit/viewport-entity-markers.test.js
 [add] tests/unit/viewport-focus.test.js
 [add] tests/unit/viewport-layout.test.js
 [add] tests/unit/viewport-view-modes.test.js
 [add] vite.config.js
 [add] vitest.config.js
2026-04-05 02:25:29 +02:00
26844c5900 Update test expectations for transform button states 2026-04-05 02:02:35 +02:00
759c84e5af Update test to ensure transform controls are coherent across modes 2026-04-05 02:01:15 +02:00