mirror of https://github.com/ppy/osu
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:
parent
cb1ed2fb89
commit
31edcfa35c
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue