mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 09:22:58 +08:00
Commented out all CI tests
Part of my efforts to narrow down GitHub CI issues
This commit is contained in:
parent
bd2e42e786
commit
f17df1fdf5
@ -210,36 +210,35 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
|
|
||||||
// Control-Shift-T should reopen the most recently closed tab that has not
|
// Control-Shift-T should reopen the most recently closed tab that has not
|
||||||
// already been reopened
|
// already been reopened
|
||||||
private void pressControlShiftT()
|
// private void pressControlShiftT()
|
||||||
{
|
// {
|
||||||
AddStep("Press and hold Control", () => InputManager.PressKey(Key.ControlLeft));
|
// AddStep("Press and hold Control", () => InputManager.PressKey(Key.ControlLeft));
|
||||||
AddStep("Press and hold Shift", () => InputManager.PressKey(Key.ShiftLeft));
|
// AddStep("Press and hold Shift", () => InputManager.PressKey(Key.ShiftLeft));
|
||||||
AddStep("Press T", () => InputManager.Key(Key.T));
|
// AddStep("Press T", () => InputManager.Key(Key.T));
|
||||||
AddStep("Release Control", () => InputManager.ReleaseKey(Key.ControlLeft));
|
// AddStep("Release Control", () => InputManager.ReleaseKey(Key.ControlLeft));
|
||||||
AddStep("Release Shift", () => InputManager.ReleaseKey(Key.ShiftLeft));
|
// AddStep("Release Shift", () => InputManager.ReleaseKey(Key.ShiftLeft));
|
||||||
}
|
// }
|
||||||
|
|
||||||
[Test]
|
// [Test]
|
||||||
public void TestCtrlShiftTShortcut1()
|
// public void TestCtrlShiftTShortcut1()
|
||||||
{
|
// {
|
||||||
AddStep("Join 2 channels", () =>
|
// AddStep("Join 2 channels", () =>
|
||||||
{
|
// {
|
||||||
channelManager.JoinChannel(channel1);
|
// channelManager.JoinChannel(channel1);
|
||||||
channelManager.JoinChannel(channel2);
|
// channelManager.JoinChannel(channel2);
|
||||||
});
|
// });
|
||||||
|
|
||||||
// Close channel 2
|
// // Close channel 2
|
||||||
AddStep("Leave channel 2", () => channelManager.LeaveChannel(channel2));
|
// AddStep("Leave channel 2", () => channelManager.LeaveChannel(channel2));
|
||||||
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));
|
||||||
|
|
||||||
pressControlShiftT();
|
// pressControlShiftT();
|
||||||
|
|
||||||
// Channel 2 should now be open again
|
|
||||||
AddAssert("channel 1 open", () => channelManager.JoinedChannels.Contains(channel1));
|
|
||||||
AddAssert("channel 2 open", () => channelManager.JoinedChannels.Contains(channel2));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
// // Channel 2 should now be open again
|
||||||
|
// AddAssert("channel 1 open", () => channelManager.JoinedChannels.Contains(channel1));
|
||||||
|
// AddAssert("channel 2 open", () => channelManager.JoinedChannels.Contains(channel2));
|
||||||
|
// }
|
||||||
// [Test]
|
// [Test]
|
||||||
// public void TestCtrlShiftTShortcut2()
|
// public void TestCtrlShiftTShortcut2()
|
||||||
// {
|
// {
|
||||||
|
Loading…
Reference in New Issue
Block a user