mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 15:23:14 +08:00
Fix failing test and rename to match new behaviour
This commit is contained in:
parent
fc22e806f4
commit
f5cea0cacd
@ -84,7 +84,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void TestSpectatorPlayerSettingsHidden()
|
public void TestSpectatorPlayerInteractiveElementsHidden()
|
||||||
{
|
{
|
||||||
start(new[] { PLAYER_1_ID, PLAYER_2_ID });
|
start(new[] { PLAYER_1_ID, PLAYER_2_ID });
|
||||||
loadSpectateScreen(false);
|
loadSpectateScreen(false);
|
||||||
@ -96,7 +96,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
|
|||||||
AddUntilStep("all interactive elements removed", () => this.ChildrenOfType<Player>().All(p =>
|
AddUntilStep("all interactive elements removed", () => this.ChildrenOfType<Player>().All(p =>
|
||||||
!p.ChildrenOfType<PlayerSettingsOverlay>().Any() &&
|
!p.ChildrenOfType<PlayerSettingsOverlay>().Any() &&
|
||||||
!p.ChildrenOfType<HoldForMenuButton>().Any() &&
|
!p.ChildrenOfType<HoldForMenuButton>().Any() &&
|
||||||
!p.ChildrenOfType<SongProgressBar>().Single().ShowHandle));
|
p.ChildrenOfType<SongProgressBar>().SingleOrDefault()?.ShowHandle == false));
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
Loading…
Reference in New Issue
Block a user