mirror of
https://github.com/ppy/osu
synced 2025-03-03 10:02:04 +00:00
Check local deletion in test
This commit is contained in:
parent
636befb499
commit
965e7bf265
@ -129,6 +129,10 @@ namespace osu.Game.Tests.Visual.Online
|
||||
});
|
||||
AddStep("Confirm dialog", () => InputManager.Key(Key.Number1));
|
||||
AddUntilStep("Deletion requested", () => delete);
|
||||
AddUntilStep("Comment is deleted locally", () =>
|
||||
{
|
||||
return this.ChildrenOfType<DrawableComment>().SingleOrDefault(x => x.Comment.Id == 1) == null;
|
||||
});
|
||||
}
|
||||
|
||||
private void addTestComments()
|
||||
|
Loading…
Reference in New Issue
Block a user