Dean Herbert
|
7e24b36f26
|
Merge branch 'master' into remove-playlistitem-beatmap
|
2022-02-16 14:24:57 +09:00 |
|
Dean Herbert
|
6a08fd57ef
|
Rename "client" fields in tests to specify whether spectator or multiplayer
|
2022-02-16 09:52:18 +09:00 |
|
Dan Balasescu
|
bdc3b76df0
|
Remove beatmap bindable from PlaylistItem
|
2022-02-15 23:50:08 +09:00 |
|
Dan Balasescu
|
efeba30b9f
|
Remove ruleset and mod bindables from PlaylistItem
|
2022-02-15 16:28:15 +09:00 |
|
Dean Herbert
|
3e5c9e8436
|
Fix cases of Access instead of Realm
|
2022-01-25 12:58:15 +09:00 |
|
Dean Herbert
|
6eb2c28e41
|
Rename RealmContextFactory to RealmAccess
|
2022-01-24 20:38:07 +09:00 |
|
Dean Herbert
|
a59dcccab7
|
Add local ContextFactory caching to all remaining test scenes that create local managers
|
2022-01-14 19:59:21 +09:00 |
|
Dean Herbert
|
31a3161189
|
Make tests compile again
|
2022-01-12 17:00:16 +09:00 |
|
Dean Herbert
|
00e3af3366
|
Update model manager and many related classes to get things compiling again
|
2022-01-12 17:00:00 +09:00 |
|
Dean Herbert
|
031a40af6a
|
Replace usages of Wait with WaitSafely
|
2022-01-04 11:51:41 +09:00 |
|
Dean Herbert
|
9aff646ff4
|
Centralise all multiplayer button clicking test logic
This adds the "wait for enabled" check in a way that can be easily
reused, as it keeps getting missed in test implementations.
This particular commit hopefully fixes
https://github.com/ppy/osu/runs/4583845033?check_suite_focus=true.
|
2021-12-21 13:49:51 +09:00 |
|
Dean Herbert
|
87051d5d61
|
Add better defined steps to TestLoseHostWhileReady ready button test
Not 100% sure this will solve the issue but it's worth a try. The button
state checks are using `Until` everywhere else so this brings the test
in line with the standards.
As seen
https://github.com/ppy/osu/runs/4579641456?check_suite_focus=true.
|
2021-12-20 17:47:06 +09:00 |
|
Dan Balasescu
|
10bd7176e0
|
Fix potential test failure in TestSceneMultiplayerReadyButton
Couldn't exactly reproduce https://github.com/ppy/osu/runs/4294316800,
but I found a similar issue via:
```diff
diff --git a/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerReadyButton.cs b/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerReadyButton.cs
index 84b63a5733..29cac9b061 100644
--- a/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerReadyButton.cs
+++ b/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerReadyButton.cs
@@ -3,6 +3,7 @@
using System;
using System.Linq;
+using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using osu.Framework.Allocation;
@@ -81,6 +82,8 @@ private void load(GameHost host, AudioManager audio)
await Client.ToggleReady();
+ Thread.Sleep(1000);
+
readyClickOperation.Dispose();
});
}
```
|
2021-11-23 14:07:55 +09:00 |
|
Dean Herbert
|
0ecf5f201c
|
Rename User to APIUser and move to correct namespace
|
2021-11-07 11:26:01 +09:00 |
|
smoogipoo
|
b209868d96
|
Fix another potential failure
|
2021-07-06 17:57:24 +09:00 |
|
smoogipoo
|
8b12ec9586
|
Fix intermittent ready button test failures
|
2021-07-06 17:52:27 +09:00 |
|
Dean Herbert
|
7b0f970e7d
|
Fix ongoing operation being begun in an async context
|
2021-07-02 16:09:02 +09:00 |
|
Dean Herbert
|
f2d9d78455
|
Fix some incorrectly invoked async calls
|
2021-07-02 14:43:48 +09:00 |
|
smoogipoo
|
81a812e216
|
Rework MultiplayerTestScene to make use of OnlinePlayTestScene
|
2021-06-25 15:00:10 +09:00 |
|
Dean Herbert
|
b16d10bd95
|
Provide game-wide resources via IStorageResourceProvider
|
2021-05-31 18:57:47 +09:00 |
|
smoogipoo
|
b38d332268
|
Fix broken test
|
2021-04-08 16:31:39 +09:00 |
|
smoogipoo
|
56c13148f1
|
Fix typo in class name
|
2021-04-07 16:45:10 +09:00 |
|
Dean Herbert
|
cdbf8de29d
|
Update other tests which can benefit from using a shorter beatmap
|
2021-02-22 14:53:32 +09:00 |
|
Salman Ahmed
|
78ea2d50bb
|
Merge branch 'master' into ready-button-clean-up
|
2021-02-05 07:23:11 +03:00 |
|
Salman Ahmed
|
63c0dc9bd9
|
Update ready button test scene with new logic
|
2021-01-17 01:11:03 +03:00 |
|
Dean Herbert
|
b69fe8a274
|
Merge branch 'master' into disable-repeat-multi-actions
|
2021-01-09 10:15:20 +09:00 |
|
Bartłomiej Dach
|
ff60d652ed
|
Move out test ongoing operation tracker to higher level
|
2021-01-08 22:28:21 +01:00 |
|
Salman Ahmed
|
81355652fa
|
Add simple test coverage
|
2021-01-05 06:00:15 +03:00 |
|
Bartłomiej Dach
|
f800448c87
|
Move game start logic to a higher level
|
2020-12-30 18:15:48 +01:00 |
|
Bartłomiej Dach
|
d34609b98e
|
Rename On{ToggleReady -> ReadyClick}
|
2020-12-30 16:29:36 +01:00 |
|
Bartłomiej Dach
|
e9b0652359
|
Move ready-up operation logic again to client
To salvage ready up button tests.
|
2020-12-29 09:16:02 +01:00 |
|
Bartłomiej Dach
|
db52255bbe
|
Adjust tracker usages to match new API
|
2020-12-29 08:20:43 +01:00 |
|
Bartłomiej Dach
|
47ab7c9fd6
|
Disable ready button after host click
|
2020-12-28 22:48:03 +01:00 |
|
Bartłomiej Dach
|
83fb7c7a1a
|
Re-namespace all files in OnlinePlay directory
|
2020-12-25 16:50:09 +01:00 |
|
Dean Herbert
|
5d4b73baa5
|
RealtimeMultiplayer -> Multiplayer
|
2020-12-25 14:10:59 +09:00 |
|