TestSuite_Main.py 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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, EditorBatchedTest, 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(EditorBatchedTest):
  12. from .EditorScripts import AreaNodes_DependentComponentsAdded as test_module
  13. class test_LandscapeCanvas_AreaNodes_EntityCreatedOnNodeAdd(EditorBatchedTest):
  14. from .EditorScripts import AreaNodes_EntityCreatedOnNodeAdd as test_module
  15. class test_LandscapeCanvas_AreaNodes_EntityRemovedOnNodeDelete(EditorBatchedTest):
  16. from .EditorScripts import AreaNodes_EntityRemovedOnNodeDelete as test_module
  17. class test_LandscapeCanvas_Component_AddedRemoved(EditorBatchedTest):
  18. from .EditorScripts import Component_AddedRemoved as test_module
  19. class test_LandscapeCanvas_ComponentUpdates_UpdateGraph(EditorBatchedTest):
  20. from .EditorScripts import ComponentUpdates_UpdateGraph as test_module
  21. class test_LandscapeCanvas_Edit_DisabledNodeDuplication(EditorSingleTest):
  22. from .EditorScripts import Edit_DisabledNodeDuplication as test_module
  23. class test_LandscapeCanvas_Edit_UndoNodeDelete_PrefabEntity(EditorBatchedTest):
  24. from .EditorScripts import Edit_UndoNodeDelete_PrefabEntity as test_module
  25. class test_LandscapeCanvas_GradientMixer_NodeConstruction(EditorBatchedTest):
  26. from .EditorScripts import GradientMixer_NodeConstruction as test_module
  27. class test_LandscapeCanvas_GradientModifierNodes_EntityCreatedOnNodeAdd(EditorBatchedTest):
  28. from .EditorScripts import GradientModifierNodes_EntityCreatedOnNodeAdd as test_module
  29. class test_LandscapeCanvas_GradientModifierNodes_EntityRemovedOnNodeDelete(EditorBatchedTest):
  30. from .EditorScripts import GradientModifierNodes_EntityRemovedOnNodeDelete as test_module
  31. class test_LandscapeCanvas_GradientNodes_DependentComponentsAdded(EditorBatchedTest):
  32. from .EditorScripts import GradientNodes_DependentComponentsAdded as test_module
  33. class test_LandscapeCanvas_GradientNodes_EntityCreatedOnNodeAdd(EditorBatchedTest):
  34. from .EditorScripts import GradientNodes_EntityCreatedOnNodeAdd as test_module
  35. class test_LandscapeCanvas_GradientNodes_EntityRemovedOnNodeDelete(EditorBatchedTest):
  36. from .EditorScripts import GradientNodes_EntityRemovedOnNodeDelete as test_module
  37. @pytest.mark.xfail(reason="https://github.com/o3de/o3de/issues/2201")
  38. class test_LandscapeCanvas_GraphClosed_OnEntityDelete(EditorBatchedTest):
  39. from .EditorScripts import GraphClosed_OnEntityDelete as test_module
  40. class test_LandscapeCanvas_GraphClosed_OnLevelChange(EditorBatchedTest):
  41. from .EditorScripts import GraphClosed_OnLevelChange as test_module
  42. class test_LandscapeCanvas_GraphClosed_TabbedGraphClosesIndependently(EditorBatchedTest):
  43. from .EditorScripts import GraphClosed_TabbedGraph as test_module
  44. class test_LandscapeCanvas_GraphUpdates_UpdateComponents(EditorBatchedTest):
  45. from .EditorScripts import GraphUpdates_UpdateComponents as test_module
  46. class test_LandscapeCanvas_LayerExtenderNodes_ComponentEntitySync(EditorBatchedTest):
  47. from .EditorScripts import LayerExtenderNodes_ComponentEntitySync as test_module
  48. class test_LandscapeCanvas_NewGraph_CreatedSuccessfully(EditorBatchedTest):
  49. from .EditorScripts import NewGraph_CreatedSuccessfully as test_module
  50. class test_LandscapeCanvas_Prefab_CreateInstantiate(EditorBatchedTest):
  51. from .EditorScripts import Prefab_CreateInstantiate as test_module
  52. class test_LandscapeCanvas_ShapeNodes_EntityCreatedOnNodeAdd(EditorBatchedTest):
  53. from .EditorScripts import ShapeNodes_EntityCreatedOnNodeAdd as test_module
  54. class test_LandscapeCanvas_ShapeNodes_EntityRemovedOnNodeDelete(EditorBatchedTest):
  55. from .EditorScripts import ShapeNodes_EntityRemovedOnNodeDelete as test_module
  56. class test_LandscapeCanvas_SlotConnections_UpdateComponentReferences(EditorBatchedTest):
  57. from .EditorScripts import SlotConnections_UpdateComponentReferences as test_module
  58. class test_LandscapeCanvas_ExistingTerrainSetups_GraphSuccessfully(EditorBatchedTest):
  59. from .EditorScripts import Terrain_ExistingSetups_GraphSuccessfully as test_module
  60. class test_LandscapeCanvas_Terrain_NodeConstruction(EditorBatchedTest):
  61. from .EditorScripts import Terrain_NodeConstruction as test_module
  62. class test_LandscapeCanvas_TerrainExtenderNodes_ComponentEntitySync(EditorBatchedTest):
  63. from .EditorScripts import TerrainExtenderNodes_ComponentEntitySync as test_module
  64. class test_LandscapeCanvas_TerrainNodes_DependentComponentsAdded(EditorBatchedTest):
  65. from .EditorScripts import TerrainNodes_DependentComponentsAdded as test_module
  66. class test_LandscapeCanvas_TerrainNodes_EntityCreatedOnNodeAdd(EditorBatchedTest):
  67. from .EditorScripts import TerrainNodes_EntityCreatedOnNodeAdd as test_module
  68. class test_LandscapeCanvas_TerrainNodes_EntityRemovedOnNodeDelete(EditorBatchedTest):
  69. from .EditorScripts import TerrainNodes_EntityRemovedOnNodeDelete as test_module