mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 18:02:56 +08:00
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 @@ namespace osu.Game.Tests.Visual
|
|||||||
|
|
||||||
AddStep("Load Beatmaps", () => { carousel.BeatmapSets = beatmapSets; });
|
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();
|
testTraversal();
|
||||||
testFiltering();
|
testFiltering();
|
||||||
|
Loading…
Reference in New Issue
Block a user