Changes to visual tests mainly to switch from keys to actions (#2484)

* Changing 'keys' test case to 'action' in all .ostest files
* Change recording files to use the standard extension
* Add recording file extension to test file format
* Removed the unwanted second wildcard from set prop command
* Added 10 sec waits after profile.setup.apollo11 action in some tests
This commit is contained in:
Gene Payne
2023-02-03 16:30:10 -07:00
committed by GitHub
parent d7eec159fc
commit dfc62e44a6
16 changed files with 36 additions and 30 deletions

View File

@@ -1,8 +1,10 @@
[
{ "type": "pause",
"value": "true"},
{ "type": "keys",
"value": "F11"},
{ "type": "action",
"value": "profile.setup.apollo11"},
{ "type": "wait",
"value": "10"},
{ "type": "time",
"value": "1969-07-20T20:15:50.00"},
{ "type": "navigationstate",

View File

@@ -1,8 +1,10 @@
[
{ "type": "pause",
"value": "true"},
{ "type": "keys",
"value": "F11"},
{ "type": "action",
"value": "profile.setup.apollo11"},
{ "type": "wait",
"value": "10"},
{ "type": "navigationstate",
"value": "{Anchor='Apollo11LemPosition',Pitch=-0.275871E-1,Position={-3.291966E2,7.262499E2,-7.671269E2},ReferenceFrame='Root',Up={-0.833341E0,-0.532887E0,-0.146881E0},Yaw=-0.141130E-3}"},
{ "type": "wait",

View File

@@ -1,8 +1,10 @@
[
{ "type": "pause",
"value": "true"},
{ "type": "keys",
"value": "F11"},
{ "type": "action",
"value": "profile.setup.apollo11"},
{ "type": "wait",
"value": "10"},
{ "type": "navigationstate",
"value": "{Anchor='Apollo11LemPosition',Pitch=0.776040E-2,Position={-7.113493E5,2.688364E6,5.393341E5},ReferenceFrame='Root',Up={-0.382741E0,0.833124E-1,-0.920091E0},Yaw=0.288877E-2}"},
{ "type": "wait",

View File

@@ -1,8 +1,8 @@
[
{ "type": "pause",
"value": "true"},
{ "type": "keys",
"value": "F7"},
{ "type": "action",
"value": "profile.setup.apollo17"},
{ "type": "navigationstate",
"value": "{Anchor='Moon',Pitch=0.191313E0,Position={1.403983E6,8.358961E5,6.005625E5},Up={-0.316846E0,-0.141630E0,0.937843E0},Yaw=-0.143901E0}"},
{ "type": "wait",

View File

@@ -1,8 +1,8 @@
[
{ "type": "pause",
"value": "true"},
{ "type": "keys",
"value": "e"},
{ "type": "action",
"value": "profile.setup.earthrise"},
{ "type": "wait",
"value": "60"},
{ "type": "screenshot",

View File

@@ -2,7 +2,7 @@
{ "type": "time",
"value": "2019-01-01T00:00:00.00"},
{ "type": "recording",
"value": "RecordingDefaultSolarSystem"},
"value": "RecordingDefaultSolarSystem.osrec"},
{ "type": "wait",
"value": "2"},
{ "type": "screenshot",

View File

@@ -3,8 +3,8 @@
"value": "true"},
{ "type": "time",
"value": "2019-01-01T05:00:00.00"},
{ "type": "keys",
"value": "h"},
{ "type": "action",
"value": "os.fade_down_trails"},
{ "type": "navigationstate",
"value": "{Anchor='Mars',Pitch=1.327145E0,Position={7.622104E5,-3.288462E6,-3.857782E5},Up={-0.485709E-1,-0.127474E0,0.990652E0},Yaw=0.224817E-1}"},
{ "type": "script",

View File

@@ -5,8 +5,8 @@
"value": "2018-11-26T19:46:00.00"},
{ "type": "navigationstate",
"value": "{Anchor='Insight',Pitch=-0.100135E0,Position={9.763474E0,-1.377502E0,1.668823E0},ReferenceFrame='Root',Up={-0.910753E-1,0.437979E0,0.894360E0},Yaw=0.939157E-1}"},
{ "type": "keys",
"value": "h"},
{ "type": "action",
"value": "os.fade_down_trails"},
{ "type": "script",
"value": "openspace.setPropertyValueSingle('Scene.InsightTrail.Renderable.Enabled', false)"},
{ "type": "wait",

View File

@@ -5,8 +5,8 @@
"value": "2018-11-26T19:44:00.00"},
{ "type": "navigationstate",
"value": "{Anchor='Insight',Pitch=-0.101682E0,Position={-4.087723E0,-4.039124E0,-8.183899E0},ReferenceFrame='Root',Up={0.827895E0,0.213243E0,-0.518765E0},Yaw=-0.398734E0}"},
{ "type": "keys",
"value": "h"},
{ "type": "action",
"value": "os.fade_down_trails"},
{ "type": "script",
"value": "openspace.setPropertyValueSingle('Scene.InsightTrail.Renderable.Enabled', false)"},
{ "type": "wait",

View File

@@ -5,8 +5,8 @@
"value": "2018-10-30T23:00:00.00"},
{ "type": "navigationstate",
"value": "{Anchor='OsirisRex',Pitch=-0.274542E-5,Position={-3.894924E0,-9.051193E0,5.720444E0},ReferenceFrame='Root',Up={-0.911098E0,0.149229E0,-0.384228E0},Yaw=0.270290E-4}"},
{ "type": "keys",
"value": "h"},
{ "type": "action",
"value": "os.fade_down_trails"},
{ "type": "script",
"value": "openspace.setPropertyValueSingle('Scene.OsirisRexTrailBennu.Renderable.Enabled', false)"},
{ "type": "wait",

View File

@@ -5,8 +5,8 @@
"value": "2019-01-13T19:18:20.00"},
{ "type": "navigationstate",
"value": "{Anchor='BennuBarycenter',Pitch=-0.249726E-1,Position={6.343195E2,-7.381825E1,-2.105395E2},ReferenceFrame='Root',Up={0.260217E0,-0.340701E0,0.903444E0},Yaw=0.593456E-1}"},
{ "type": "keys",
"value": "h"},
{ "type": "action",
"value": "os.fade_down_trails"},
{ "type": "script",
"value": "openspace.setPropertyValueSingle('Scene.POLYCAM FOV.Renderable.Enabled', false)"},
{ "type": "script",

View File

@@ -5,8 +5,8 @@
"value": "2014-08-01T00:00:00.00"},
{ "type": "navigationstate",
"value": "{Anchor='Rosetta',Pitch=-0.741904E-1,Position={-1.384875E1,-5.509888E0,1.692047E0},ReferenceFrame='Root',Up={0.377490E0,-0.812217E0,0.444752E0},Yaw=-0.388182E-1}"},
{ "type": "keys",
"value": "h"},
{ "type": "action",
"value": "os.fade_down_trails"},
{ "type": "script",
"value": "openspace.setPropertyValueSingle('Scene.NAVCAM_FOV.Renderable.Enabled', false)"},
{ "type": "wait",

View File

@@ -5,8 +5,8 @@
"value": "2014-08-06T23:07:00.00"},
{ "type": "navigationstate",
"value": "{Anchor='67P',Pitch=-0.608276E-2,Position={1.035920E3,1.090395E4,6.708170E3},Up={-0.972426E0,0.182052E0,-0.145753E0},Yaw=0.475854E-2}"},
{ "type": "keys",
"value": "h"},
{ "type": "action",
"value": "os.fade_down_trails"},
{ "type": "script",
"value": "openspace.setPropertyValueSingle('Scene.NAVCAM_FOV.Renderable.Enabled', false)"},
{ "type": "pause",

View File

@@ -5,10 +5,10 @@
"value": "1977-09-10T12:00:00.00"},
{ "type": "navigationstate",
"value": "{Anchor='Voyager_1',Pitch=0.289491E-1,Position={9.291557E0,3.604126E0,0.823166E0},ReferenceFrame='Root',Up={0.130390E0,-0.527836E0,0.839278E0},Yaw=-0.997966E-2}"},
{ "type": "keys",
"value": "h"},
{ "type": "action",
"value": "os.fade_down_trails"},
{ "type": "script",
"value": "openspace.setPropertyValue('Scene.Voyager_*_Trail_*.Enabled',false);"},
"value": "openspace.setPropertyValue('Scene.Voyager_1_Trail_*.Enabled',false);"},
{ "type": "wait",
"value": "2"},
{ "type": "screenshot",

View File

@@ -5,8 +5,8 @@
"value": "2020-01-01T00:00:00.00"},
{ "type": "navigationstate",
"value": "{Anchor='Sun',Pitch=-0.296905E-2,Position={-5.701493E12,2.431929E13,-4.495678E13},ReferenceFrame='Root',Up={-0.117936E0,0.867082E0,0.484003E0},Yaw=-0.189846E-1}"},
{ "type": "keys",
"value": "h"},
{ "type": "action",
"value": "os.fade_down_trails"},
{ "type": "wait",
"value": "2"},
{ "type": "screenshot",