TestSuite_Periodic.py 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. import sys
  8. from ly_test_tools.o3de.editor_test import EditorTestSuite, EditorBatchedTest, EditorSingleTest
  9. @pytest.mark.SUITE_periodic
  10. @pytest.mark.parametrize("launcher_platform", ['windows_editor'])
  11. @pytest.mark.parametrize("project", ["AutomatedTesting"])
  12. class TestAutomation_BasicBatch(EditorTestSuite):
  13. class Editor_CommandLine_Works(EditorBatchedTest):
  14. from .tests import Editor_CommandLine_Works as test_module
  15. class Editor_ComponentAssetCommands_Works(EditorBatchedTest):
  16. from .tests import Editor_ComponentAssetCommands_Works as test_module
  17. class Editor_ComponentCommands_BuildComponentTypeNameList(EditorBatchedTest):
  18. from .tests import Editor_ComponentCommands_BuildComponentTypeNameList as test_module
  19. @pytest.mark.skipif(sys.platform.startswith("linux"), reason="https://github.com/o3de/o3de/issues/11032")
  20. class Editor_ComponentCommands_Works(EditorSingleTest):
  21. from .tests import Editor_ComponentCommands_Works as test_module
  22. class Editor_ComponentPropertyCommands_enum(EditorBatchedTest):
  23. from .tests import Editor_ComponentPropertyCommands_enum as test_module
  24. class Editor_ComponentPropertyCommands_set_none(EditorBatchedTest):
  25. from .tests import Editor_ComponentPropertyCommands_set_none as test_module
  26. class Editor_ComponentPropertyCommands_visibility(EditorBatchedTest):
  27. from .tests import Editor_ComponentPropertyCommands_visibility as test_module
  28. class Editor_DisplaySettingsBus_Work(EditorBatchedTest):
  29. from .tests import Editor_DisplaySettingsBus_Work as test_module
  30. class Editor_DisplaySettingsCommands_Works(EditorBatchedTest):
  31. from .tests import Editor_DisplaySettingsCommands_Works as test_module
  32. @pytest.mark.SUITE_periodic
  33. @pytest.mark.parametrize("launcher_platform", ['windows_editor'])
  34. @pytest.mark.parametrize("project", ["AutomatedTesting"])
  35. class TestAutomation_EntityTests(EditorTestSuite):
  36. class Editor_ComponentPropertyCommands_Works(EditorBatchedTest):
  37. from .tests import Editor_ComponentPropertyCommands_Works as test_module
  38. class Editor_EntityCommands_Works(EditorBatchedTest):
  39. from .tests import Editor_EntityCommands_Works as test_module
  40. class Editor_EntityCRUDCommands_Works(EditorBatchedTest):
  41. from .tests import Editor_EntityCRUDCommands_Works as test_module
  42. class Editor_EntitySearchCommands_Works(EditorBatchedTest):
  43. from .tests import Editor_EntitySearchCommands_Works as test_module
  44. class Editor_EntitySelectionCommands_Works(EditorBatchedTest):
  45. from .tests import Editor_EntitySelectionCommands_Works as test_module
  46. class Editor_GameModeCommands_Works(EditorBatchedTest):
  47. from .tests import Editor_GameModeCommands_Works as test_module
  48. class Editor_LevelCommands_Works(EditorSingleTest):
  49. from .tests import Editor_LevelCommands_Works as test_module
  50. class Editor_LevelPathsCommands_Works(EditorBatchedTest):
  51. from .tests import Editor_LevelPathsCommands_Works as test_module
  52. class Editor_MainWindowCommands_Works(EditorBatchedTest):
  53. from .tests import Editor_MainWindowCommands_Works as test_module
  54. class Editor_ObjectStringRepresentation_Works(EditorBatchedTest):
  55. from .tests import Editor_ObjectStringRepresentation_Works as test_module
  56. @pytest.mark.SUITE_periodic
  57. @pytest.mark.parametrize("launcher_platform", ['windows_editor'])
  58. @pytest.mark.parametrize("project", ["AutomatedTesting"])
  59. class TestAutomation_EditorTools(EditorTestSuite):
  60. class Editor_PySide_Example_Works(EditorBatchedTest):
  61. from .tests import Editor_PySide_Example_Works as test_module
  62. class Editor_TrackViewCommands_Works(EditorBatchedTest):
  63. from .tests import Editor_TrackViewCommands_Works as test_module
  64. class Editor_UtilityCommands_Works(EditorBatchedTest):
  65. from .tests import Editor_UtilityCommands_Works as test_module
  66. class Editor_UtilityCommands_Works(EditorBatchedTest):
  67. from .tests import Editor_UtilityCommands_Works as test_module
  68. class Editor_UtilityCommandsLegacy_Works(EditorBatchedTest):
  69. from .tests import Editor_UtilityCommandsLegacy_Works as test_module
  70. class Editor_ViewCommands_Works(EditorBatchedTest):
  71. from .tests import Editor_ViewCommands_Works as test_module
  72. class Editor_ViewportTitleDlgCommands_Works(EditorBatchedTest):
  73. from .tests import Editor_ViewportTitleDlgCommands_Works as test_module
  74. class Editor_WaitCommands_Works(EditorBatchedTest):
  75. from .tests import Editor_WaitCommands_Works as test_module