1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 15:03:13 +08:00

use AddUntilStep or not wait

This commit is contained in:
cdwcgt 2023-05-04 13:18:25 +09:00
parent 25bf4e68ec
commit 2cb6642b0d
No known key found for this signature in database
GPG Key ID: 144396D01095C3A2

View File

@ -645,8 +645,7 @@ namespace osu.Game.Tests.Visual.Online
InputManager.Click(MouseButton.Left);
});
AddWaitStep("Wait", 3);
AddAssert("Overlay closed", () => !this.ChildrenOfType<ReportChatPopover>().Any());
AddUntilStep("Overlay closed", () => !this.ChildrenOfType<ReportChatPopover>().Any());
AddStep("Complete request", () => requestLock.Set());
AddUntilStep("Request sent", () => request != null);
}