Tests: Update workspace UI tests
* Removes unused entries for 2D Animation * Adds 'Storyboarding' test Pull Request: https://projects.blender.org/blender/blender/pulls/146760
This commit is contained in:
@@ -111,16 +111,6 @@ def sanity_check_2d_animation():
|
||||
yield e.f() # 2D Full Canvas
|
||||
t.assertEqual(window.workspace.name_full.split(".", 1)[0], "2D Full Canvas")
|
||||
|
||||
yield from _call_by_name(e, "Add Workspace")
|
||||
yield e.d() # 2D Animation
|
||||
yield e.c() # Compositing
|
||||
t.assertEqual(window.workspace.name_full.split(".", 1)[0], "Compositing")
|
||||
|
||||
yield from _call_by_name(e, "Add Workspace")
|
||||
yield e.d() # 2D Animation
|
||||
yield e.r() # Rendering
|
||||
t.assertEqual(window.workspace.name_full.split(".", 1)[0], "Rendering")
|
||||
|
||||
|
||||
def sanity_check_sculpting():
|
||||
e, t = _test_vars(window := _test_window())
|
||||
@@ -136,6 +126,20 @@ def sanity_check_sculpting():
|
||||
t.assertEqual(window.workspace.name_full.split(".", 1)[0], "Shading")
|
||||
|
||||
|
||||
def sanity_check_storyboarding():
|
||||
e, t = _test_vars(window := _test_window())
|
||||
|
||||
yield from _call_by_name(e, "Add Workspace")
|
||||
yield e.t() # Storyboarding
|
||||
yield e.d() # 2D Full Canvas
|
||||
t.assertEqual(window.workspace.name_full.split(".", 1)[0], "2D Full Canvas")
|
||||
|
||||
yield from _call_by_name(e, "Add Workspace")
|
||||
yield e.t() # Storyboarding
|
||||
yield e.s() # Storyboarding
|
||||
t.assertEqual(window.workspace.name_full.split(".", 1)[0], "Storyboarding")
|
||||
|
||||
|
||||
def sanity_check_vfx():
|
||||
e, t = _test_vars(window := _test_window())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user