Commit Graph

134 Commits (18631b1a30f128cf5027e343a7b4d8a3cddca2db)

Author SHA1 Message Date
Scott Murray 5124a6322d pulling in latest
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
Scott Murray 9335ce7ba9 removing pytest marks and debugging prints
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
Scott Murray 361a7385d5 removing debugging print statement
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
Scott Murray b340877f7c updating tests for screenshot using editor_test.py
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
Guthrie Adams c6ba1ef064 Atom Tools: updated document and windows systems and buses to support multiple instances
• This change is partially to unblock physics tool prototyping. It introduces a tool ID that is passed down into systems and acts as a context for document, window, and other systems and buses.
• The document system component is no longer a component. It is just a system class that can be constructed with a tool ID. Internally, it will connect to its buses and be addressable by tool ID. More than one can be instantiated, each with a unique tool ID.
• These changes are still backward compatible because most of the buses were using broadcast for standalone applications. All of those calls have been updated but not all of the scripts, which should still work as is.
• Got rid of the window factory request bus in favor of just instantiating the main window or any other UI in the application layer.
• Fixed a couple of bugs that were discovered while making these changes.

Signed-off-by: Guthrie Adams <guthadam@amazon.com>
4 years ago
jromnoa fee95f3f5e
sandboxing the sponza level from the level test because it causes a hardlock 4%-12% of the time (#7513)
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
Guthrie Adams c9c172794e Atom Tools: Document system exposes reflected object data
• This removes a direct dependency on dynamic property groups and data from the document system.
• Added support for names, descriptions, and nesting to dynamic property groups.
• Moved property related functions from base document classes into material editor document classes because dynamic property groups are an implementation detail of the material editor document to support material type flexible data format.
• Change material document to use a table of dynamic property groups instead of a map of properties.
• Added functions to traverse groups and properties.
• This keeps groups and properties organized consistently with the material type file as well as what’s expected in the UI.
• Document data can now be maps directly to the inspector reflective property editors instead of copying one property at a time out of the document and keeping those synchronized.

Signed-off-by: Guthrie Adams <guthadam@amazon.com>
4 years ago
Neil Widmaier 2ce9db972d Merge branch 'development' of https://github.com/aws-lumberyard/o3de into Neil_P0_updates 4 years ago
Neil Widmaier 57ab6d5e7c making minor variable name changes
Signed-off-by: Neil Widmaier <nwidmaie@amazon.com>
4 years ago
Scott Murray 157149928b lower casing materials in path to avoid Linux casing issues
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
Scott Murray 9081a0db90 use material included and remove unused decal material
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
Neil Widmaier 4aa5ba4eca Making minor fixes, and cycling through light types
Signed-off-by: Neil Widmaier <nwidmaie@amazon.com>
4 years ago
Scott Murray ad6392e364 decal P1 test for null renderer
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
Neil Widmaier 342b1ee47c minor update
Signed-off-by: Neil Widmaier <nwidmaie@amazon.com>
4 years ago
Neil Widmaier f1ad9ef0b8 Updated Light, Grid, and Physical Sky P0 tests
Signed-off-by: Neil Widmaier <nwidmaie@amazon.com>
4 years ago
jromnoa 312f5ad08f
Merge pull request #7092 from aws-lumberyard-dev/Atom/scottmur/P1_entity_reference
P1 Entity Reference Component tests
4 years ago
Neil Widmaier b83fc89c74 Making requested changes to LevelLoadTest
Signed-off-by: Neil Widmaier <nwidmaie@amazon.com>
4 years ago
Neil Widmaier d038c4e843 Merge branch 'development' of https://github.com/aws-lumberyard/o3de into Neil_o3de_local 4 years ago
Scott Murray 74c8561fd0 bringing in latest develoment
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
SWMasterson 7bf7b03dd2
Added base level for tests, updated automation to use prefabs, and restored sandboxed tests (#6993)
Signed-off-by: Sean Masterson <semaster@amazon.com>
4 years ago
Scott Murray 6481b147fc style and other fixes
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
Scott Murray 44cbc7659f removing unused line
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
Scott Murray f93a22cdcc EntityReference P1 case udpates
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
Scott Murray b98b240a40 Entity Reference P1 initial tests
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
Neil Widmaier 6fde1389bf adding editor level load automation script
Signed-off-by: Neil Widmaier <nwidmaie@amazon.com>
4 years ago
jromnoa bcc155049d
Merge pull request #6916 from aws-lumberyard-dev/Atom/jromnoa/remove-old-light-component-test
Removes the old log lines test for Light component.
4 years ago
Scott Murray 7694a29fa1 Material Editor tests for window pane function
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
jromnoa 3d17f9648f removes the old log lines test for the Light component, test will be re-added as a return codes test in the p1 test tasks
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
smurly 384e8aa863
Move Material Editor Basic test from sandbox to main suite (#6794)
* moving material editor test from sandbox to main suite

Signed-off-by: Scott Murray <scottmur@amazon.com>

* define TEST_DIRECTORY and add logging

Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
Scott Murray 1ba23247b4 sandboxing DisplayMapper P0 test for investigation
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
jromnoa 9038cdfcf9 fix merge conflict between constants in atom_constants.py
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
jromnoa 523691497d call AtomComponentProperties.light(), AtomComponentProperties.directional_light(), etc. as is for its component name, rather than make a component name variable
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
jromnoa 9d6dc1ac63 add ATTENUATION_RADIUS_MODE constant with its 2 available options of automatic or explicit
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
jromnoa ad3148ece5 add new enter_exit_game_mode_take_screenshot() shared function
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
smurly e3306f948f
Atom Level component test support in editor_entity_utils.py and tests for level components (#6082)
* Level component helper and test cases for Atom Level components which currently crash

Signed-off-by: Scott Murray <scottmur@amazon.com>

* moved a close paren to end of previous line to match existing style

Signed-off-by: Scott Murray <scottmur@amazon.com>

* adding a forgotten import

Signed-off-by: Scott Murray <scottmur@amazon.com>

* minor refactor and prep for adding back the Display Mapper Game component test

Signed-off-by: Scott Murray <scottmur@amazon.com>

* putting Game compoenent Display Mapper test back with addition of setting property Enabled to true

Signed-off-by: Scott Murray <scottmur@amazon.com>

* typo in line fixed Test. bocomes Tests.

Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
jromnoa 97cd722ac1 remove shadowmap size calls to fix test, clean up some property value assignments for component tests
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
jromnoa d158d36ce4 add the test steps to the docstring for the AtomGPU_LightComponent_SpotLightScreenshotsMatchGoldenImages() function
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
sphrose 0e5c9c3867
Merge pull request #5908 from aws-lumberyard-dev/terrain/sphrose/reference_shape
LYN-7693 Rename and move vegetation reference shape.
4 years ago
jromnoa cc76ee58a7 update light component constant, fixed the return value for find_editor_entity(), removed old GPU test scripts, added new GPU test scripts
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
jromnoa c8a5f1b3eb add Asset.id value to the Display Mapper docstring for LDR color grading LUT property
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
jromnoa 79ac840246 add docstring info for the LDR color grading LUT property option for Display Mapper components
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
sphrose bad38f5ed0 Missed python tests
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
4 years ago
jromnoa ddd8dc6568 remove the optimized GPU test file and replace the existing GPU test file with the optimized tests, update atom_constants.py for the new Light component properties, add area light test script, still need to add spot light test script to fully finish this task
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
jromnoa 91060efd46 add a LDR color Grading LUT property set step as part of the p0 test for the Display Mapper component
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
jromnoa 4be8975e3e Merge branch 'development' into Atom/jromnoa/add-remaining-gpu-tests-to-optimized-classes
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
chiyenteng ab76254b43
Make prefab system enabled as default for automated tests (#5670)
* Make prefab system enabled as default for automated tests

Signed-off-by: chiyenteng <82238204+chiyenteng@users.noreply.github.com>

* Modify auto tests after preventing regset saved into disk after editor main window closed

Signed-off-by: chiyenteng <82238204+chiyenteng@users.noreply.github.com>

* Uncomment xfail

Signed-off-by: chiyenteng <82238204+chiyenteng@users.noreply.github.com>

* Use --regset for editor tests

Signed-off-by: chiyenteng <82238204+chiyenteng@users.noreply.github.com>
4 years ago
jromnoa e89ec94c38 update CMakeLists.txt in preparation for removing the TestSuite_Main_GPU_Optimized file, add compare_screenshot_to_golden_image function, add hydra_AtomGPU_LightComponentScreenshotsMatch.py hydra script
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
nwidmaie 31025f2232 Merge branch 'development' of https://github.com/aws-lumberyard/o3de into Neil_o3de_automation_HDRi_Skybox 4 years ago
Neil Widmaier 98f589745b Adding step to assign a cubemap
Signed-off-by: Neil Widmaier <nwidmaie@amazon.com>
4 years ago
jromnoa 5d9f5ae15a
Merge pull request #5564 from aws-lumberyard-dev/Atom/jromnoa/fix-asset-path-calls-to-use-new-asset-test-class
Update asset files, & update golden image files to match new smaller asset file.
4 years ago