mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 01:02:54 +08:00
Fix TestSceneEditorSaving
not waiting for timeline load
As seen at https://github.com/ppy/osu/runs/5276431764?check_suite_focus=true.
This commit is contained in:
parent
a676acd80d
commit
347a2346b9
@ -49,6 +49,8 @@ namespace osu.Game.Tests.Visual.Editing
|
||||
double originalTimelineZoom = 0;
|
||||
double changedTimelineZoom = 0;
|
||||
|
||||
AddUntilStep("wait for timeline load", () => Editor.ChildrenOfType<Timeline>().SingleOrDefault()?.IsLoaded == true);
|
||||
|
||||
AddStep("Set beat divisor", () => Editor.Dependencies.Get<BindableBeatDivisor>().Value = 16);
|
||||
AddStep("Set timeline zoom", () =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user