1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 21:43:21 +08:00

Add step to TestSceneChannelListItem to actually select an item

This commit is contained in:
Dean Herbert 2022-03-21 14:33:50 +09:00
parent 692362131e
commit 5104e4db21

View File

@ -3,6 +3,7 @@
using NUnit.Framework;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
@ -114,6 +115,8 @@ namespace osu.Game.Tests.Visual.Online
[Test]
public void TestVisual()
{
AddStep("Select second item", () => selected.Value = channels.Skip(1).First());
AddStep("Unread Selected", () =>
{
if (selected.Value != null)