mirror of
https://github.com/ppy/osu.git
synced 2024-12-17 11:12:55 +08:00
Modified test case
I believe the tests are failing because the shortcut only works when you select a channel on the channel dropdown. So I updated the testcases to do this.
This commit is contained in:
parent
9af448d559
commit
5dc917c108
@ -233,6 +233,8 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
AddAssert("channel 1 open", () => channelManager.JoinedChannels.Contains(channel1));
|
AddAssert("channel 1 open", () => channelManager.JoinedChannels.Contains(channel1));
|
||||||
AddAssert("channel 2 closed", () => !channelManager.JoinedChannels.Contains(channel2));
|
AddAssert("channel 2 closed", () => !channelManager.JoinedChannels.Contains(channel2));
|
||||||
|
|
||||||
|
AddStep("Select channel 1", () => clickDrawable(chatOverlay.TabMap[channel1]));
|
||||||
|
|
||||||
pressControlShiftT();
|
pressControlShiftT();
|
||||||
|
|
||||||
// Channel 2 should now be open again
|
// Channel 2 should now be open again
|
||||||
|
Loading…
Reference in New Issue
Block a user