1
0
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:
Dean Herbert 2022-02-22 15:40:30 +09:00
parent a676acd80d
commit 347a2346b9

View File

@ -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", () =>
{