Commit Graph

92 Commits (283fe216dcc8c9ee1c814b69e774fdec428bc1f0)

Author SHA1 Message Date
Scott Murray 5124a6322d pulling in latest
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
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
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
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 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 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
jromnoa d7c31184dc add AtomComponentProperties.grid('Secondary Grid Spacing') direct call, remove fmt:on comment
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
jromnoa 01081fea32 update asset called in global skylight test as well
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
Sean Masterson 35cb018d5c Add P0 Look Modification Test
Signed-off-by: Sean Masterson <semaster@amazon.com>
4 years ago
jromnoa 9d93282e42
Merge pull request #5530 from aws-lumberyard-dev/Atom/scottmur/ssao_p0
SSAO component P0 automation
4 years ago
SWMasterson 984ea571f4
Add P0 test for Entity Reference component. (#5456)
Signed-off-by: Sean Masterson <semaster@amazon.com>
4 years ago
jromnoa 99f1783138 Merge branch 'development' into Atom/jromnoa/fix-asset-path-calls-to-use-new-asset-test-class 4 years ago
Scott Murray b202bbfbc9 SSAO component P0 automation
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
Sean Masterson 901aa217b8 removed unused import and fixed line length
Signed-off-by: Sean Masterson <semaster@amazon.com>
4 years ago
Sean Masterson cd508415ef Removed unused tuple.
Signed-off-by: Sean Masterson <semaster@amazon.com>
4 years ago
Sean Masterson 6242d1ee8e Added P0 test for Diffuse Probe Grid component
Signed-off-by: Sean Masterson <semaster@amazon.com>
4 years ago