1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-17 04:32:35 +08:00

Merge pull request #16961 from peppy/timeline-load-wait-failure

Fix `TestSceneEditorSaving` not waiting for timeline load
This commit is contained in:
Dan Balasescu
2022-02-22 16:12:32 +09:00
committed by GitHub
Unverified
@@ -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", () =>
{