Make prefab system enabled as default for automated tests (#5670)
* Make prefab system enabled as default for automated tests Signed-off-by: chiyenteng <82238204+chiyenteng@users.noreply.github.com> * Modify auto tests after preventing regset saved into disk after editor main window closed Signed-off-by: chiyenteng <82238204+chiyenteng@users.noreply.github.com> * Uncomment xfail Signed-off-by: chiyenteng <82238204+chiyenteng@users.noreply.github.com> * Use --regset for editor tests Signed-off-by: chiyenteng <82238204+chiyenteng@users.noreply.github.com>
This commit is contained in:
@@ -59,9 +59,6 @@ class EditorSingleTest_WithFileOverrides(EditorSingleTest):
|
||||
@pytest.mark.parametrize("project", ["AutomatedTesting"])
|
||||
class TestAutomationWithPrefabSystemEnabled(EditorTestSuite):
|
||||
|
||||
global_extra_cmdline_args = ['-BatchMode', '-autotest_mode',
|
||||
'--regset=/Amazon/Preferences/EnablePrefabSystem=true']
|
||||
|
||||
@staticmethod
|
||||
def get_number_parallel_editors():
|
||||
return 16
|
||||
@@ -81,6 +78,8 @@ class TestAutomationWithPrefabSystemEnabled(EditorTestSuite):
|
||||
@pytest.mark.parametrize("project", ["AutomatedTesting"])
|
||||
class TestAutomation(EditorTestSuite):
|
||||
|
||||
enable_prefab_system = False
|
||||
|
||||
@staticmethod
|
||||
def get_number_parallel_editors():
|
||||
return 16
|
||||
|
||||
Reference in New Issue
Block a user