osu/osu.Game.Tests/Visual
Bartłomiej Dach e45d456324
Fix TestFriendScore intermittently failing due to randomness
If `createRandomScore()` happened to randomly pick the highest total
score when called with `friend` as the sole argument, that particular
score would not be pink.

`GetScoreByUsername()` would arbitrarily pick the first score for the
user, so in this particular case where a friend had the number 1 score,
the test would wrongly fail.

Fix by checking whether any of the 3 added friend scores have received
the pink colour. Because there is more than 1 friend score in the test,
doing so ensures that at least one of those should eventually become
pink (because, obviously, you can't have two scores at number 1).
2023-09-21 21:12:44 +02:00
..
Audio
Background Ensure background of gameplay is black when storyboard is overriding background display 2023-08-02 15:50:15 +09:00
Beatmaps Implement nano beatmap card 2023-09-18 11:30:14 +02:00
Collections
Colours
Components
Editing Rename SliderVelocity to SliderVelocityMultiplier to distinguish from Velocity 2023-09-06 19:01:08 +09:00
Gameplay Fix TestFriendScore intermittently failing due to randomness 2023-09-21 21:12:44 +02:00
Menus Fix star fountain directions not matching stable 2023-08-21 17:59:24 +09:00
Mods
Multiplayer Add more test coverage to multi spectator screen 2023-08-16 17:14:42 +09:00
Navigation Add failing test coverage of selection not being retained on song select 2023-08-28 10:05:59 +02:00
Online Merge branch 'beatmap-card-nano' into missing-beatmap 2023-09-18 14:56:06 +02:00
Playlists
Ranking
Settings
SongSelect Add test coverage for delete hotkey 2023-09-21 20:01:59 +02:00
UserInterface Pass ArchiveReader instead of Stream to simplify resolution code 2023-09-19 17:49:15 +09:00
TestMultiplayerComponents.cs
TestSceneOsuScreenStack.cs