Commit Graph

90 Commits (1431afb51a08535a0ceabc22f11a55c0e5f5bb93)

Author SHA1 Message Date
SWMasterson f03c2885f0
Moving AutomatedTesting Atom levels into the Graphics subfolder (#6791)
Signed-off-by: Sean Masterson <semaster@amazon.com>
4 years ago
LesaelR 5aa7d56f1a
LYN-8935 Bundle Mode Test Update (#6606)
* Updating Bundle_Mode_Tests to replace level.pak for .spawnable

Signed-off-by: Rosario Cox <lesaelr@amazon.com>

* Removing old TestDependenciesLevel files and replacing for TestDepencenciesLevel.prefab

Signed-off-by: Rosario Cox <lesaelr@amazon.com>

* Adding missing file

Signed-off-by: Rosario Cox <lesaelr@amazon.com>
4 years ago
Sean Masterson ee6709a85c Move and convert ShadowTest level and include object files
Signed-off-by: Sean Masterson <semaster@amazon.com>
4 years ago
SWMasterson 4ce6909aaf
Move, convert, and rename Lucy level to Hermanubis in AutomatedTesting (#6627)
Signed-off-by: Sean Masterson <semaster@amazon.com>
4 years ago
Gene Walters b391d7a86f
Merge pull request #6309 from aws-lumberyard-dev/LYN-6769_TestingRPCs
Multiplayer AR Testing RPCs
4 years ago
Gene Walters 8aa5465974 Resaving script graph which was old and causing some deserialization errors on game start
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Junbo Liang 9ee60e6eba
AWSI automation tests support on Linux (#6278)
* AWSI automation tests support on Linux

Signed-off-by: Junbo Liang <68558268+junbo75@users.noreply.github.com>
4 years ago
Gene Walters 8b041f5280 merging latest dev
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Gene Walters fd078e3c29 Small py var name change based on review feedback. Updating script graphs from previous commit to use new RPC name
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
rgba16f 18ce01ba7c
Add 2 performance testing levels (#6463)
First a level with approximately 10K cubes with various PBR materials
Second a level with a vegetation system set up to spawn between 10K - 30K instances of cubes with various PBR materials
Plus ancillary data files these levels need.

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>
4 years ago
Gene Walters bf8422152b Turn off stdout buffering when connecting to editor-server so that the editor properly gets all the server-logging without having to first fill up a buffer. Allows the logs to pipe instantly for easier debugging, and also fixes a problem where the logs wont reach the editor because the buffer doesn't fill
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
jromnoa ea04449fa0
Merge pull request #6266 from aws-lumberyard-dev/Neil_o3de_local
Converting PbrMaterialChart to prefab, and moving to AutomatedTesting
4 years ago
nwidmaie 20e697a8d6 Fixing case error with material files
Signed-off-by: nwidmaie <nwidmaie@amazon.com>
4 years ago
Gene Walters 8b044e23ce Merge branch 'upstream/development' into LYN-6769_TestingRPCs 4 years ago
Gene Walters 4b3d1452fd
Merge pull request #6066 from aws-lumberyard-dev/LYN-8514_AutomatedReviewServerLogChecks
Updating Multiplayer PyTests To Check Server Logs
4 years ago
amzn-sean 7d3399cf96
fixed failing physx script canvas auto tests (#6280)
I noticed the periodic script canvas physics automated tests were failing. It was because the Script Component no longer had the SC scripts assigned (not sure why). So i reassigned them and the tests are back to green.

Affected tests:
    ScriptCanvas_CollisionEvents
    ScriptCanvas_ShapeCast
    ScriptCanvas_PostUpdateEvent
    ScriptCanvas_PreUpdateEvent

Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com>
4 years ago
nwidmaie 7f9ba0d0b6 Converting PbrMaterialChart to prefab, and moving to AutomatedTesting project
Signed-off-by: nwidmaie <nwidmaie@amazon.com>
4 years ago
benblack75 29da71e64e
Updated Sponza Model (.ma, .fbx, textures) (#6080)
* Updated Sponza Model (.ma, .fbx, textures)

Signed-off-by: Benjamin Black <benblac@amazon.com>

* Removed corrupted file

Signed-off-by: Benjamin Black <benblac@amazon.com>

* Revisions to Sponza Scene

Signed-off-by: Benjamin Black <benblac@amazon.com>

* Sponza updates

Signed-off-by: Benjamin Black <benblac@amazon.com>

* Updated Cloth Irradiance Values

Signed-off-by: Benjamin Black <benblac@amazon.com>

* Added Sponza scene to Automated Testing- request from QA

Signed-off-by: Benjamin Black <benblac@amazon.com>

* Clean up removed files

Signed-off-by: Benjamin Black <benblac@amazon.com>
4 years ago
moraaar 045eea03e6
Converted NvCloth automated tests to prefabs (#6253)
* Deleted cloth slice assets and AutomatedTesting levels based on slices

Signed-off-by: moraaar <moraaar@amazon.com>

* Recreated nvcloth AutomatedTesting levels for prefabs

Signed-off-by: moraaar <moraaar@amazon.com>

* Run nvcloth automated tests with prefabs enabled (which is the default)

Signed-off-by: moraaar <moraaar@amazon.com>
4 years ago
Gene Walters 80a216e079 Adding RPC test. Update editor-servers to flush stdout
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Gene Walters b0be54fa16 Small script changes. WiP
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Gene Walters 9ae3da7acd Merge branch 'upstream/development' into LYN-8514_AutomatedReviewServerLogChecks 4 years ago
Gene Walters 58872581c5 Wip.RPC testing Authority->Client and Server->Authory. Ran into a blocker so checking in now to save work
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Gene Walters 308a2e4ce3 Add RPC script for Authority->Autonomous message; the authority is telling each player their player id (in the order than they joined)
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Gene Walters fb330b2af9 Merge branch 'upstream/development' into LYN-6769_TestingRPCs 4 years ago
SWMasterson 0116f0a520
Adding Macbeth level to AutomatedTesting and converting to Prefab (#6060)
* Adding macbeth level to AutomatedTesting

Signed-off-by: Sean Masterson <semaster@amazon.com>

* removing unnecessary files

Signed-off-by: Sean Masterson <semaster@amazon.com>
4 years ago
Gene Walters 97b27513e9 Editor is now listening to editor-server stdout so adding newlines to lines we care about. (Editor is separating out the log lines based on newline)
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
puvvadar 38c89e37c2 Re-resolving Base.prefab with stabilization
Signed-off-by: puvvadar <puvvadar@amazon.com>
4 years ago
puvvadar 2ab7866702 Re-resolve base.prefab
Signed-off-by: puvvadar <puvvadar@amazon.com>
4 years ago
puvvadar cd4eca7f75 Fix missing comma in prefab
Signed-off-by: puvvadar <puvvadar@amazon.com>
4 years ago
puvvadar 29562fd7c5 Merge commit '6b1fb04a1c3a8515a60fa06fc8cac242e441cba9' into puvvadar/gitflow_211118_o3de 4 years ago
John Jones-Steele 6b1fb04a1c
Terrain Supports Physics test (#5706)
* Terrain Supports Physics test

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Changes from PR

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>
4 years ago
Nicholas Van Sickle 8d5dd4e35f Merge remote-tracking branch 'upstream/stabilization/2110' into nvsickle/StabToDevNov21
Signed-off-by: Nicholas Van Sickle <nvsickle@amazon.com>
4 years ago
moraaar e98a65a735
Fixed casing of all .fbx.assetinfo files to match their .fbx (#5490)
Signed-off-by: moraaar <moraaar@amazon.com>
4 years ago
John Jones-Steele c35f74e9ce
Physics/test axis aligned box shape configuration works #7378a (#5366)
* Safety commit before merging

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Moved from Physics to Terrain

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Changes from PR + AR fix

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Fixed another AR bug

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Fixed another AR compilation bug

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* More PR changes

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Added virtual destructor

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Added TestSuite_main_Optimized.py

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Changes from PR

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Further fixes for PR

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Fix to editor_test.py

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Testing prefab level

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Testing slice level

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Testing prefab level

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Disabled orefab loading for the time being.

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>
4 years ago
Gene Walters 2a3667f7b0 Merge branch 'upstream/development' into LYN-6770_AutomatedTestNetInputs 4 years ago
chiyenteng 6862b52069
Convert several physics automated tests with Base test level file converted to prefab file (#5138)
* Convert some physics automated tests to use prefab system

Signed-off-by: chiyteng <chiyteng@amazon.com>

* revert changes

Signed-off-by: chiyteng <chiyteng@amazon.com>

* Fix file names

Signed-off-by: chiyteng <chiyteng@amazon.com>
4 years ago
Gene Walters 6ef6164ad8 merging latest dev
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
AMZN-AlexOteiza 38f9dcb8ca
Added option to reopen if the current level is the same. This contributes to stability for batched tests (#4043)
* Added option to reopen if the current level is the same. This contributes to stability for batched tests

Signed-off-by: AMZN-AlexOteiza <aljanru@amazon.co.uk>

* Addressed PR comments

* Addressed PR and cleaned Base level that had an entity by accident

Signed-off-by: AMZN-AlexOteiza <aljanru@amazon.co.uk>

* Cleaned up params

Signed-off-by: AMZN-AlexOteiza <aljanru@amazon.co.uk>

* Addressed PR comments
4 years ago
Gene Walters c8237d69c7 Misc cleanup. Fixing typos and remove unused test level
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Gene Walters 580153b16e Adding EditorPython methods to Multiplayer gem for launching the editor gamemode with a server. Adding a test for networkinput with scriptcanvas to ensure the autonomous client can create input and that the server can receive and process the input via script canvas.
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Gene Walters f4c21147af Merge branch 'upstream/development' into LYN-6770_AutomatedTestNetInputs 4 years ago
amzn-sean 5bf7330f35
made some physX tests less flaky (#4632)
Joints_BallLeadFollowerCollide - changed the idle_wait to a wait_for_condition of the lead and follower colliding with a 10 second timeout. It was a 2 second timeout which is on the edge of the time from start to collision (~1.5sec).

Joints_HingeNoLimitsConstrained - now measures the angle the joint is at and waits for the follower to raise up and over the lead, or fail after a 10sec timeout. This use to 'catch' the follower joint in a force region and check the position of the follower to determine pass/fail.

Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com>
4 years ago
amzn-sean f84bd9829a
remove some flackyness in physx automated tests (#4547)
Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com>
4 years ago
Gene Walters d2da35aec3 merging latest dev + resolving 1 conflict
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
lumberyard-employee-dm f648cb1fd8
Update the FileIO Aliases (#4186)
* Update the FileIOAlias naming to make the cache, project root and engine
root paths more clear

The alias of `@root@`, `@assets@`, and `@projectplatformcache@` has been
collapsed to `@projectproductassets@`

The alias of `@devroot@` and `@engroot@` has been collapsed to
`@engroot@`

The alias of `@devassets@` and `@projectroot@` has been collapsed to
`@projectroot@`

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated use of devassets and devroot properties in python

Those properties now use projectroot and engroot

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updating the alias @engroot@ alias path comment in each platform specific LocalFileIO_*.cpp file

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Removed hardcoded size of 9 for the product asset alias.

The ResolvePath function now just appends the @projectproductassets@
alias with the input path

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Remove duplicate @projectproductassets@ check in ProcessFileTreeRequest

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fix for typos in Hydra python test

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated LocalFileIO::Copy call on Windows to use the Unicode aware CopyFileW API

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated the AWSMetreicsGemAllocatorFixture to properly suppress asset
cache write errors for Test file creation.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Removed unneeded call to set the @projectproductasstes@ alias at the bottom of the AssetSeedManagerTest SetUp

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Added a deprecated alias map to the FileIO System

When a deprecated alias is accessed, the FileIO System logs an AZ_Error and indicates the alias that should be used

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated python test scripts to use the projectroot binding

Retrieving the AutomatedTesting project path based on "<devroot>/AutomatedTesting" has been removed.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated references to devroot and devgame within the codebase

The GetAbsoluteDevGameFolderPath functions has been replaced with direct call to AZ::Utils::GetProjectPath
The GetAbsoluteDevRootFolderPath functions has been replaced with direct calls to AZ::Utils::GetEnginePath

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated <engroot>/AutomatedTesting references to projectroot


Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Replaced references that assumes the project path is <engroot>/AutomatedTesting with <projectroot> in the AutomatedTesting python test

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Correct casing in emfxworkspace file


Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Removed newly added AppendPathParts function
Removed the Path constructors which accepts a PathIterable instance

The PathIterable isn't safe to return to a user of the Path class as it might be referencing temporary paths supplied via PathView arguments

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fixed unused parameter warning

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Undid change to the LexicallyProximate function to set the path result to the base path.

It needs to return the *this path if the pathResult is empty

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Moved the LocalFileIO ConvertToAbsolutePath implementations to AZ::Utils

Fixed the ConvertToAbsolutePath implementation for Unix platforms to use a buffer that is size PATH_MAX(4096 on all our supported Unix platforms).
Because the buffer before was AZ::IO::MaxPathLength which as a size of 1024, this was resulting in the Unix `realpath` function smashing the stack when it converts a path to an absolute path that is longer than 1024 characters

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated the EditorCore.Tests to attach the AZ Environment to the EditorCore shared library that is statically loaded on launch.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fixed for DeprecatedAlaisesKeyVisitor Visit function causing the non string_view overloads being hidden causing a hidden base class function warning

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Changed the AWSMetricsGemMock to use a temporary for writing test assets

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated the LocalFileIO::ResolvePath function to use HasRootPath to determine if a path starts with a root path such as "D:", "D:/" or "/"

IsAbsolute was not the corect check as the path of "D:" is a relative
path.
To be absolute according to the Windows the path must have a root
directory. i.e "D:/" or "D:\"

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Removed absolute path comment from LocalFile_UnixLike.cpp and LocalFile_Android.cpp FindFiles implementations
Updated the ConvertToAlias to supply an AZ::IO::FixedMaxPath

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Replaced usage of the @projectproductassets@ alias with @engroot@ when referring to the LmbrCentral source folder in the CopyDependencyBuilderTest and the SeedBuilderTests

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated the ScriptCanvas Upgrade Tool to output backed up files to the
Project User Path instead of the engine root

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fixed whitespacing issues in Application.cpp

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Remove unnecessary creation of a FixedMaxPath in the UpgradeTool.cpp

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Modified testSeedFolder variable in the SeedBuilderTests to use the
@engroot@ alias instead of @projectproductassets@/.. alias when
referring to the LmbrCentral Gem source path

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated references to the Project Asset Cache in the PythonTests.

Those tests no longer use the logic `azlmbr.paths.projectroot / "Cache" / "pc"` to retrieve a path to the cache root but instead the `azlmbr.paths.projectproductassets` constant

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fixed the FileIO Deprecated Alias test on Windows

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Removing @projectsourceassets@ alias, as it is only used once.

Updated the PhysX EditorSystemComponent.cpp to query the ProjectPath
form the SettingsRegistry.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Replaced @projectproductassets@ alias with @products@

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Rollback changes to the PhysX EditorSystemComponent.cpp

The changes to use the ProjectPath from the SettingsRegistry has been implemented in PR #4497

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
Gene Walters f22dda1efd Enabled Multiplayer gem for AutomatedTesting project. Adding a simple network component and level for testing. (wip)
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
AMZN-AlexOteiza 1442f1275b
Fixed Physics SC tests (#4001)
Signed-off-by: AMZN-AlexOteiza <aljanru@amazon.co.uk>
4 years ago
ANT\aljanru 3ca4a8c54a Removed SC connections that fail to compile for now 4 years ago
ANT\aljanru 4220c52330 Standarization: Python files
Signed-off-by: ANT\aljanru <aljanru@amazon.co.uk>
4 years ago