Commit Graph

745 Commits

Author SHA1 Message Date
3d27d3c536 Merge pull request #17786 from peppy/gameplay-leaderboard-update-totals-mode-change
Fix multiple issues with gameplay leaderboard (and tests)
2022-04-13 16:05:35 +09:00
abf7954a9c Merge pull request #17792 from peppy/multi-match-footer-test-remove
Fix `MultiplayerMatchFooter` test crash due to missing `PopoverContainer`
2022-04-13 10:53:27 +09:00
76517cecab Merge pull request #17789 from peppy/rank-range-pill-test-refactor
Refactor `TestSceneRankRangePill` to not depend on `TestMultiplayerClient`
2022-04-13 10:46:00 +09:00
d73be7f177 Reword comment to read clearer
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2022-04-13 09:36:44 +09:00
63e2a84d7f Nest one more container to fix popover not being dismissable 2022-04-12 20:54:54 +02:00
ef7ab12b40 Fix MultiplayerMatchFooter test crash due to missing PopoverContainer
Clicking the countdown button would crash. I did consider removing the
test altogether but maybe it'll be useful in the future?
2022-04-12 23:01:39 +09:00
1ebbef88ec Refactor GameplayChatDisplay test scene to not require MultiplayerTestScene inheritance 2022-04-12 22:56:48 +09:00
20eca9bf6a Refactor TestSceneRankRangePill to not depend on TestMultiplayerClient 2022-04-12 19:39:24 +09:00
8b1cee75fa Use BindableLong instead of BindableInt for user score tracking 2022-04-12 14:13:07 +09:00
22c75a518e Fix headers not getting reset on re-run of test 2022-04-12 12:38:15 +09:00
f29e329700 Move user count to a constant to allow easier adjustment 2022-04-12 12:11:51 +09:00
577e29351e Ensure players are always on both leaderboard teams
In a very rare case, the randomisation may cause all users to be on one
team, causing a test failure. The odds make it basically impossible, but
if adjusting the number of users in the test scene this can more readily
be hit.
2022-04-12 11:46:22 +09:00
a0e3a2102a Also expand match score component when leaderboard is (in test) 2022-04-12 10:49:57 +09:00
09d560c93e Add test coverage of spectator requests 2022-04-11 19:27:14 +09:00
6a61fd95eb Tidy up base implementation 2022-04-11 19:19:45 +09:00
b52f070fdb Update existing multiplayer leaderboard tests to use new mocked implementation 2022-04-11 19:15:57 +09:00
0ccac24f76 Split out base implementation of MultiplayerGameplayLeaderboard test 2022-04-11 19:15:46 +09:00
779f7390b7 Add test coverage of DrawableRoom actually showing post-retrieval text 2022-04-11 13:44:34 +09:00
d17890ca9a Replace a couple more local test beatmap cases which can instead use TestResources methods 2022-04-06 15:04:15 +09:00
220d7bc6db Fix dangerous realm operation in TestSceneMultiplayerMatchSongSelect
The import process was running on the async load thread, but then
accessed from the access thread later on. This seemed to somehow pass
fine in headless runs, but would fail on visual test execution
(specifically on `TestBeatmapConfirmed()`).
2022-04-06 14:01:41 +09:00
6e6271d0c0 Fix "server-side" room playlist not updated
Remove unused using
2022-04-01 18:32:10 +09:00
37dea0ff21 Add failing test case 2022-04-01 17:05:11 +09:00
c3a0f0d6b8 Update tests in line with new button behaviour 2022-03-26 14:43:41 +09:00
0146717fcb Adjust test button sizing to better match actual usage 2022-03-26 14:29:31 +09:00
f92a31cd39 Merge pull request #17402 from smoogipoo/multiplayer-auto-countdown
Add multiplayer auto-start countdown timer
2022-03-25 20:31:14 +09:00
76abce4867 Add missing wait calls on async test steps 2022-03-25 18:38:26 +09:00
c1649714f4 Add a few more ready button tests 2022-03-25 17:12:00 +09:00
d5a37c2237 Remove irrelevant test 2022-03-25 17:06:04 +09:00
aa9e642e40 Merge branch 'master' into pin-multiplayer-host 2022-03-25 16:49:35 +09:00
f0d132b16e Rename FinishCountdown() -> SkipToEndOfCountdown() 2022-03-24 15:21:46 +09:00
96a447f68b Rename Multiplayer prefix to button classes 2022-03-24 14:28:38 +09:00
90c7945bca Re-remove PopoverButton class with better test fix 2022-03-24 14:26:31 +09:00
547418e47e Revert "Remove PopoverButton class"
This reverts commit 6b712be97d.
2022-03-24 11:15:51 +09:00
34a367b369 Merge branch 'master' into multiplayer-countdown-timers-2 2022-03-23 15:40:50 +09:00
a83a90e675 Rename countdown Delay -> Duration 2022-03-23 15:21:16 +09:00
6b712be97d Remove PopoverButton class 2022-03-23 10:40:38 +09:00
9138aaf780 Split MultiplayerReadyButton 2022-03-23 10:38:56 +09:00
483fb84b56 Fix typo in FinishCountdown method 2022-03-22 16:50:13 +09:00
2c4a6c2465 Add missing async safeties to new tests 2022-03-22 16:46:42 +09:00
5c1e11c153 Merge branch 'master' into queue-list-counter 2022-03-21 05:01:09 +03:00
06136b2247 Revert OsuTabItem Text to protected, update tab count test 2022-03-20 21:37:02 -04:00
63b6686384 make test name clearer 2022-03-20 16:28:05 -04:00
8fbdd06895 add queue tab count test 2022-03-20 16:24:41 -04:00
04f4e81852 Rename start countdown request 2022-03-18 21:05:19 +09:00
c97aa3a26f Fix intermittent ready button test failure 2022-03-18 18:57:34 +09:00
72843a6797 Add support for starting/stopping countdowns 2022-03-18 14:33:09 +09:00
efce471f0b Add countdown button + popover 2022-03-18 14:31:57 +09:00
b76a87e6f8 Split ready button visual logic into button itself 2022-03-18 14:31:57 +09:00
a7ddfc7f51 Add step for returning host back to local user 2022-03-18 08:08:31 +03:00
d0cc68bc97 Add test coverage 2022-03-18 07:26:10 +03:00