Attempt to fix beatmap carousel test failures

As seen here: https://ci.appveyor.com/project/peppy/osu/build/master-7260#L1164

Potentially was continuing operation too early.
This commit is contained in:
Dean Herbert 2018-02-21 16:12:54 +09:00
parent cb1ed2fb89
commit 31edcfa35c
1 changed files with 3 additions and 1 deletions

View File

@ -60,7 +60,9 @@ private void load()
AddStep("Load Beatmaps", () => { carousel.BeatmapSets = beatmapSets; });
AddUntilStep(() => carousel.BeatmapSets.Any(), "Wait for load");
bool changed = false;
carousel.BeatmapSetsChanged = () => changed = true;
AddUntilStep(() => changed, "Wait for load");
testTraversal();
testFiltering();