TestSuite_Main.py 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. """
  2. Copyright (c) Contributors to the Open 3D Engine Project.
  3. For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. SPDX-License-Identifier: Apache-2.0 OR MIT
  5. """
  6. import pytest
  7. from ly_test_tools.o3de.editor_test import EditorSingleTest, EditorSharedTest, EditorParallelTest, EditorTestSuite
  8. @pytest.mark.parametrize("launcher_platform", ['windows_editor'])
  9. @pytest.mark.parametrize("project", ["AutomatedTesting"])
  10. class TestAutomation(EditorTestSuite):
  11. class test_LandscapeCanvas_AreaNodes_DependentComponentsAdded(EditorSharedTest):
  12. from .EditorScripts import AreaNodes_DependentComponentsAdded as test_module
  13. class test_LandscapeCanvas_AreaNodes_EntityCreatedOnNodeAdd(EditorSharedTest):
  14. from .EditorScripts import AreaNodes_EntityCreatedOnNodeAdd as test_module
  15. class test_LandscapeCanvas_AreaNodes_EntityRemovedOnNodeDelete(EditorSharedTest):
  16. from .EditorScripts import AreaNodes_EntityRemovedOnNodeDelete as test_module
  17. class test_LandscapeCanvas_Component_AddedRemoved(EditorSharedTest):
  18. from .EditorScripts import Component_AddedRemoved as test_module
  19. class test_LandscapeCanvas_ComponentUpdates_UpdateGraph(EditorSharedTest):
  20. from .EditorScripts import ComponentUpdates_UpdateGraph as test_module
  21. @pytest.mark.skip(reason="https://github.com/o3de/o3de/issues/10126")
  22. class test_LandscapeCanvas_Edit_DisabledNodeDuplication(EditorSharedTest):
  23. from .EditorScripts import Edit_DisabledNodeDuplication as test_module
  24. class test_LandscapeCanvas_Edit_UndoNodeDelete_PrefabEntity(EditorSharedTest):
  25. from .EditorScripts import Edit_UndoNodeDelete_PrefabEntity as test_module
  26. class test_LandscapeCanvas_GradientMixer_NodeConstruction(EditorSharedTest):
  27. from .EditorScripts import GradientMixer_NodeConstruction as test_module
  28. class test_LandscapeCanvas_GradientModifierNodes_EntityCreatedOnNodeAdd(EditorSharedTest):
  29. from .EditorScripts import GradientModifierNodes_EntityCreatedOnNodeAdd as test_module
  30. class test_LandscapeCanvas_GradientModifierNodes_EntityRemovedOnNodeDelete(EditorSharedTest):
  31. from .EditorScripts import GradientModifierNodes_EntityRemovedOnNodeDelete as test_module
  32. class test_LandscapeCanvas_GradientNodes_DependentComponentsAdded(EditorSharedTest):
  33. from .EditorScripts import GradientNodes_DependentComponentsAdded as test_module
  34. class test_LandscapeCanvas_GradientNodes_EntityCreatedOnNodeAdd(EditorSharedTest):
  35. from .EditorScripts import GradientNodes_EntityCreatedOnNodeAdd as test_module
  36. class test_LandscapeCanvas_GradientNodes_EntityRemovedOnNodeDelete(EditorSharedTest):
  37. from .EditorScripts import GradientNodes_EntityRemovedOnNodeDelete as test_module
  38. @pytest.mark.xfail(reason="https://github.com/o3de/o3de/issues/2201")
  39. class test_LandscapeCanvas_GraphClosed_OnEntityDelete(EditorSharedTest):
  40. from .EditorScripts import GraphClosed_OnEntityDelete as test_module
  41. class test_LandscapeCanvas_GraphClosed_OnLevelChange(EditorSharedTest):
  42. from .EditorScripts import GraphClosed_OnLevelChange as test_module
  43. class test_LandscapeCanvas_GraphClosed_TabbedGraphClosesIndependently(EditorSharedTest):
  44. from .EditorScripts import GraphClosed_TabbedGraph as test_module
  45. class test_LandscapeCanvas_GraphUpdates_UpdateComponents(EditorSharedTest):
  46. from .EditorScripts import GraphUpdates_UpdateComponents as test_module
  47. class test_LandscapeCanvas_LayerExtenderNodes_ComponentEntitySync(EditorSharedTest):
  48. from .EditorScripts import LayerExtenderNodes_ComponentEntitySync as test_module
  49. class test_LandscapeCanvas_NewGraph_CreatedSuccessfully(EditorSharedTest):
  50. from .EditorScripts import NewGraph_CreatedSuccessfully as test_module
  51. class test_LandscapeCanvas_Prefab_CreateInstantiate(EditorSharedTest):
  52. from .EditorScripts import Prefab_CreateInstantiate as test_module
  53. class test_LandscapeCanvas_ShapeNodes_EntityCreatedOnNodeAdd(EditorSharedTest):
  54. from .EditorScripts import ShapeNodes_EntityCreatedOnNodeAdd as test_module
  55. class test_LandscapeCanvas_ShapeNodes_EntityRemovedOnNodeDelete(EditorSharedTest):
  56. from .EditorScripts import ShapeNodes_EntityRemovedOnNodeDelete as test_module
  57. class test_LandscapeCanvas_SlotConnections_UpdateComponentReferences(EditorSharedTest):
  58. from .EditorScripts import SlotConnections_UpdateComponentReferences as test_module
  59. class test_LandscapeCanvas_ExistingTerrainSetups_GraphSuccessfully(EditorSharedTest):
  60. from .EditorScripts import Terrain_ExistingSetups_GraphSuccessfully as test_module
  61. class test_LandscapeCanvas_Terrain_NodeConstruction(EditorSharedTest):
  62. from .EditorScripts import Terrain_NodeConstruction as test_module
  63. class test_LandscapeCanvas_TerrainExtenderNodes_ComponentEntitySync(EditorSharedTest):
  64. from .EditorScripts import TerrainExtenderNodes_ComponentEntitySync as test_module
  65. class test_LandscapeCanvas_TerrainNodes_DependentComponentsAdded(EditorSharedTest):
  66. from .EditorScripts import TerrainNodes_DependentComponentsAdded as test_module
  67. class test_LandscapeCanvas_TerrainNodes_EntityCreatedOnNodeAdd(EditorSharedTest):
  68. from .EditorScripts import TerrainNodes_EntityCreatedOnNodeAdd as test_module
  69. class test_LandscapeCanvas_TerrainNodes_EntityRemovedOnNodeDelete(EditorSharedTest):
  70. from .EditorScripts import TerrainNodes_EntityRemovedOnNodeDelete as test_module