mirror of
https://github.com/ppy/osu.git
synced 2024-11-09 05:37:25 +08:00
Merge pull request #15882 from peppy/fix-invalid-screen-exist-multiplayer-test
Fix double screen exit in multiplayer song select tests potentially causing failure
This commit is contained in:
commit
c2afd7bbdc
@ -144,7 +144,8 @@ namespace osu.Game.Tests.Visual.Multiplayer
|
||||
AddStep("set mods", () => SelectedMods.Value = new[] { new TaikoModDoubleTime() });
|
||||
|
||||
AddStep("confirm selection", () => songSelect.FinaliseSelection());
|
||||
AddStep("exit song select", () => songSelect.Exit());
|
||||
|
||||
AddUntilStep("song select exited", () => !songSelect.IsCurrentScreen());
|
||||
|
||||
AddAssert("beatmap not changed", () => Beatmap.Value.BeatmapInfo.Equals(selectedBeatmap));
|
||||
AddAssert("ruleset not changed", () => Ruleset.Value.Equals(new TaikoRuleset().RulesetInfo));
|
||||
|
Loading…
Reference in New Issue
Block a user