feat(web): automate native operator batch discovery
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

This commit is contained in:
mes123456
2026-09-05 06:20:50 +08:00
parent 2fda9f53be
commit 2f0d2535af

View File

@@ -440,6 +440,8 @@ PREFERRED_BATCHES = [
# command gate and fixture; no recipe is allowed to infer coverage from a
# source filename alone.
AUTO_OPERATOR_RECIPES = [
{"moduleId": "OBJECT_MATERIAL_SLOT_ADD_OPERATOR_BATCH", "title": "verify material slot add operator through native Main", "owner": "OBJECT", "identifier": "OBJECT_OT_material_slot_add", "fixture": "tests/files/web/basic_scene.blend", "test": "web/tests/e2e/wbv2-material-slot-production.spec.ts", "production": "tests/golden/{task}/material-slot-production.json", "operation": "MATERIAL_SLOT_ADD"},
{"moduleId": "OBJECT_JOIN_OPERATOR_BATCH", "title": "verify object join operator through native Main", "owner": "OBJECT", "identifier": "OBJECT_OT_join", "fixture": "tests/files/web/basic_scene.blend", "test": "web/tests/e2e/wbv2-mesh-object-operations-production.spec.ts", "production": "tests/golden/{task}/mesh-object-operations-production.json", "operation": "JOIN"},
{"moduleId": "OBJECT_LOCATION_CLEAR_OPERATOR_BATCH", "title": "verify object location clear operator through native Main", "owner": "OBJECT", "identifier": "OBJECT_OT_location_clear", "fixture": "tests/files/web/basic_scene.blend", "test": "web/tests/e2e/wbv2-object-transform-clear-batch-production.spec.ts", "production": "tests/golden/{task}/object-transform-clear-production.json", "operation": "LOCATION"},
{"moduleId": "OBJECT_ROTATION_CLEAR_OPERATOR_BATCH", "title": "verify object rotation clear operator through native Main", "owner": "OBJECT", "identifier": "OBJECT_OT_rotation_clear", "fixture": "tests/files/web/basic_scene.blend", "test": "web/tests/e2e/wbv2-object-transform-clear-batch-production.spec.ts", "production": "tests/golden/{task}/object-transform-clear-production.json", "operation": "ROTATION"},
{"moduleId": "OBJECT_SCALE_CLEAR_OPERATOR_BATCH", "title": "verify object scale clear operator through native Main", "owner": "OBJECT", "identifier": "OBJECT_OT_scale_clear", "fixture": "tests/files/web/basic_scene.blend", "test": "web/tests/e2e/wbv2-object-transform-clear-batch-production.spec.ts", "production": "tests/golden/{task}/object-transform-clear-production.json", "operation": "SCALE"},