TestSuite_Sandbox.py 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 logging
  7. import os
  8. import pytest
  9. from ly_test_tools.o3de.editor_test import EditorBatchedTest, EditorSharedTest, EditorTestSuite
  10. logger = logging.getLogger(__name__)
  11. TEST_DIRECTORY = os.path.join(os.path.dirname(__file__), "tests")
  12. @pytest.mark.parametrize("project", ["AutomatedTesting"])
  13. @pytest.mark.parametrize("launcher_platform", ['windows_editor'])
  14. class TestAutomation(EditorTestSuite):
  15. # this test is intermittently timing out without ever having executed. sandboxing while we investigate cause.
  16. @pytest.mark.test_case_id("C36525660")
  17. class AtomEditorComponents_DisplayMapperAdded(EditorSharedTest):
  18. from Atom.tests import hydra_AtomEditorComponents_DisplayMapperAdded as test_module
  19. # The "Sponza" level is failing with a hard lock 4-12% of the time, needs root causing and fixing.
  20. @pytest.mark.test_case_id("C36529679")
  21. class AtomLevelLoadTest_Editor_Sandbox(EditorSharedTest):
  22. from Atom.tests import hydra_Atom_LevelLoadTest_Sandbox as test_module
  23. # GHI: https://github.com/o3de/o3de/issues/13819
  24. @pytest.mark.test_case_id("C36553404")
  25. class AtomEditorComponents_HairAdded(EditorBatchedTest):
  26. from Atom.tests import hydra_AtomEditorComponents_HairAdded as test_module
  27. # GHI: https://github.com/o3de/o3de/issues/13818
  28. @pytest.mark.test_case_id("C32078124")
  29. class AtomEditorComponents_MeshAdded(EditorBatchedTest):
  30. from Atom.tests import hydra_AtomEditorComponents_MeshAdded as test_module
  31. # GHI: https://github.com/o3de/o3de/issues/14580
  32. @pytest.mark.test_case_id("C32078115")
  33. class AtomEditorComponents_GlobalSkylightIBLAdded(EditorBatchedTest):
  34. from Atom.tests import hydra_AtomEditorComponents_GlobalSkylightIBLAdded as test_module