Change test

This commit is contained in:
ansel
2022-10-20 19:56:00 +03:00
parent 0ef903230c
commit 81bdf716ef
2 changed files with 2 additions and 2 deletions

View File

@ -276,7 +276,7 @@ namespace osu.Game.Tests.Visual.Online
AddStep("Complete request", () => requestLock.Set());
AddUntilStep("Request sent", () => request != null);
AddAssert("Request is correct", () => request != null && request.CommentID == 2 && request.Comment == report_text && request.Reason == CommentReportReason.Other);
AddUntilStep("Buttons hidden", () => !targetComment.ChildrenOfType<LinkFlowContainer>().Single(x => x.Name == @"Actions buttons").IsPresent);
AddUntilStep("Button expired", () => !targetComment.ChildrenOfType<DrawableComment.ReportButton>().Any());
}
private void addTestComments()