mirror of
https://github.com/ppy/osu
synced 2025-04-11 03:31:46 +00:00
Change to until step + fix CI error
This commit is contained in:
parent
ce36e5458f
commit
2fb640f57f
@ -104,7 +104,7 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
public void TestSearchInSelector()
|
public void TestSearchInSelector()
|
||||||
{
|
{
|
||||||
AddStep("search for 'test2'", () => chatOverlay.ChildrenOfType<SearchTextBox>().First().Text = "test2");
|
AddStep("search for 'test2'", () => chatOverlay.ChildrenOfType<SearchTextBox>().First().Text = "test2");
|
||||||
AddAssert("only channel 2 visible", () => chatOverlay.ChildrenOfType<ChannelListItem>().Single(c => c.IsPresent).Channel == channel2);
|
AddUntilStep("only channel 2 visible", () => chatOverlay.ChildrenOfType<ChannelListItem>().Single(c => c.IsPresent).Channel == channel2);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void clickDrawable(Drawable d)
|
private void clickDrawable(Drawable d)
|
||||||
|
@ -50,7 +50,7 @@ namespace osu.Game.Overlays.Chat.Selection
|
|||||||
|
|
||||||
public ChannelListItem(Channel channel)
|
public ChannelListItem(Channel channel)
|
||||||
{
|
{
|
||||||
this.Channel = channel;
|
Channel = channel;
|
||||||
|
|
||||||
RelativeSizeAxes = Axes.X;
|
RelativeSizeAxes = Axes.X;
|
||||||
AutoSizeAxes = Axes.Y;
|
AutoSizeAxes = Axes.Y;
|
||||||
|
Loading…
Reference in New Issue
Block a user