Explorar o código

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 %!s(int64=7) %!d(string=hai) anos
pai
achega
37da305e85
Modificáronse 1 ficheiros con 44 adicións e 0 borrados
  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": {