47a8dbc1d0
* create PoC for starting point for parallel + batched Atom tests Signed-off-by: jromnoa <jromnoa@amazon.com> * CMakeLists.txt update Signed-off-by: jromnoa <jromnoa@amazon.com> * saving progress on re-factor for parallel and batched tests, added Tracer(), added Report(), and added new exit code validation method but code is unfinished still Signed-off-by: jromnoa <jromnoa@amazon.com> * finalize conversion of component tests into new optimized test setup for batched/parallel runs Signed-off-by: jromnoa <jromnoa@amazon.com> * fix REDO deletion check, remove class referencing a test not yet added to parallel runs Signed-off-by: jromnoa <jromnoa@amazon.com> * revert hydra_AtomEditorComponents_AddedToEntity.py back to its original version Signed-off-by: jromnoa <jromnoa@amazon.com> * re-add the DepthOfField component to expected_lines for non-optimized main suite (removed on accident) Signed-off-by: jromnoa <jromnoa@amazon.com> * remove test comments from legal header, add EditorEntity() class, remove hydra calls - updated for Decal component, but the next commit will get the rest Signed-off-by: jromnoa <jromnoa@amazon.com> * saving progress on converting over fully to using EditorEntity() per PR comments - almost done, will finish tomorrow Signed-off-by: jromnoa <jromnoa@amazon.com> * add new test setup docstring, fix the create entity test step wording, re-add accidental removal of string text from editor_entity_utils.py Signed-off-by: jromnoa <jromnoa@amazon.com> * finalize PR concerns, use EditorEntity object for most/all calls, tests pass when run Signed-off-by: jromnoa <jromnoa@amazon.com> * remove accidental change Signed-off-by: jromnoa <jromnoa@amazon.com> * update helper.open_level() call to not include 'Physics' in path, remove unnecessary f-string calls Signed-off-by: jromnoa <jromnoa@amazon.com> * editor_python_test_tools.asset_utils.Asset.find_asset_by_path(), add is_hidden() and is_visible() to editor_python_test_tools to use for verification, clean up UNDO/REDO comments, fix test order in file to match the order of the test files Signed-off-by: jromnoa <jromnoa@amazon.com>
44 lines
2.2 KiB
Python
44 lines
2.2 KiB
Python
"""
|
|
Copyright (c) Contributors to the Open 3D Engine Project.
|
|
For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
|
|
|
SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
"""
|
|
import pytest
|
|
|
|
from ly_test_tools.o3de.editor_test import EditorSharedTest, EditorTestSuite
|
|
|
|
|
|
@pytest.mark.xfail(reason="Optimized tests are experimental, we will enable xfail and monitor them temporarily.")
|
|
@pytest.mark.parametrize("project", ["AutomatedTesting"])
|
|
@pytest.mark.parametrize("launcher_platform", ['windows_editor'])
|
|
class TestAutomation(EditorTestSuite):
|
|
|
|
class AtomEditorComponents_DecalAdded(EditorSharedTest):
|
|
from atom_renderer.atom_hydra_scripts import hydra_AtomEditorComponents_DecalAdded as test_module
|
|
|
|
class AtomEditorComponents_DepthOfFieldAdded(EditorSharedTest):
|
|
from atom_renderer.atom_hydra_scripts import hydra_AtomEditorComponents_DepthOfFieldAdded as test_module
|
|
|
|
class AtomEditorComponents_DirectionalLightAdded(EditorSharedTest):
|
|
from atom_renderer.atom_hydra_scripts import hydra_AtomEditorComponents_DirectionalLightAdded as test_module
|
|
|
|
class AtomEditorComponents_ExposureControlAdded(EditorSharedTest):
|
|
from atom_renderer.atom_hydra_scripts import hydra_AtomEditorComponents_ExposureControlAdded as test_module
|
|
|
|
class AtomEditorComponents_GlobalSkylightIBLAdded(EditorSharedTest):
|
|
from atom_renderer.atom_hydra_scripts import hydra_AtomEditorComponents_GlobalSkylightIBLAdded as test_module
|
|
|
|
class AtomEditorComponents_PhysicalSkyAdded(EditorSharedTest):
|
|
from atom_renderer.atom_hydra_scripts import hydra_AtomEditorComponents_PhysicalSkyAdded as test_module
|
|
|
|
class AtomEditorComponents_PostFXRadiusWeightModifierAdded(EditorSharedTest):
|
|
from atom_renderer.atom_hydra_scripts import (
|
|
hydra_AtomEditorComponents_PostFXRadiusWeightModifierAdded as test_module)
|
|
|
|
class AtomEditorComponents_LightAdded(EditorSharedTest):
|
|
from atom_renderer.atom_hydra_scripts import hydra_AtomEditorComponents_LightAdded as test_module
|
|
|
|
class AtomEditorComponents_DisplayMapperAdded(EditorSharedTest):
|
|
from atom_renderer.atom_hydra_scripts import hydra_AtomEditorComponents_DisplayMapperAdded as test_module
|