Przeglądaj źródła

reducing the amount of tests
All tests configurations are still there, in allTests instead of tests.
This is done since tests fail randomally, probably because of the amount of data transfered between browserstack and travis

Raanan Weber 7 lat temu
rodzic
commit
37da305e85
1 zmienionych plików z 44 dodań i 0 usunięć
  1. 44 0
      Viewer/tests/validation/config.json

+ 44 - 0
Viewer/tests/validation/config.json

@@ -10,6 +10,50 @@
             "referenceImage": "ControlDefault.png"
         },
         {
+            "title": "Diffuse",
+            "createMesh": true,
+            "createMaterial": true,
+            "configuration": {
+                "extends": "extended",
+                "castShadow": true,
+                "model": {
+                    "material": {
+                        "albedoColor": {
+                            "r": 0,
+                            "g": 0,
+                            "b": 1
+                        },
+                        "reflectivityColor": {
+                            "r": 0,
+                            "g": 0,
+                            "b": 0
+                        },
+                        "microSurface": 0
+                    }
+                }
+            },
+            "referenceImage": "Diffuse.png"
+        },
+        {
+            "title": "BrainStem Environment",
+            "configuration": {
+                "extends": "extended"
+            },
+            "model": "/dist/assets/BrainStem/BrainStem.gltf",
+            "referenceImage": "BrainStemEnv.png",
+            "enableEnvironment": true
+        }
+    ],
+    "allTests": [
+        {
+            "title": "Control Default",
+            "createMesh": true,
+            "configuration": {
+                "extends": "minimal"
+            },
+            "referenceImage": "ControlDefault.png"
+        },
+        {
             "title": "Control",
             "createMesh": true,
             "configuration": {