Finalizing update of Editor tests to utilize prefab system

Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
This commit is contained in:
jckand-amzn
2022-01-07 09:44:43 -06:00
parent 9123ef7c50
commit f8734d7d06
10 changed files with 69 additions and 268 deletions
@@ -85,8 +85,7 @@ def Docking_BasicDockedTools():
# We drag/drop it over the viewport since it doesn't allow docking, so this will undock it
render_overlay = editor_window.findChild(QtWidgets.QWidget, "renderOverlay")
pyside_utils.drag_and_drop(entity_outliner, render_overlay)
general.idle_wait(0.5)
# We need to grab a new reference to the Entity Outliner QDockWidget because when it gets moved
# to the floating window, its parent changes so the wrapped instance we had becomes invalid
entity_outliner = editor_window.findChild(QtWidgets.QDockWidget, "Entity Outliner")
@@ -94,7 +93,6 @@ def Docking_BasicDockedTools():
# Dock the Entity Inspector tabbed with the floating Entity Outliner
entity_inspector = editor_window.findChild(QtWidgets.QDockWidget, "Entity Inspector")
pyside_utils.drag_and_drop(entity_inspector, entity_outliner)
general.idle_wait(0.5)
# We need to grab a new reference to the Entity Inspector QDockWidget because when it gets moved
# to the floating window, its parent changes so the wrapped instance we had becomes invalid
@@ -103,7 +101,6 @@ def Docking_BasicDockedTools():
# Dock the Console tabbed with the floating Entity Inspector
console = editor_window.findChild(QtWidgets.QDockWidget, "Console")
pyside_utils.drag_and_drop(console, entity_inspector)
general.idle_wait(0.5)
# Check to ensure all the tools are parented to the same QStackedWidget
def check_all_panes_tabbed():