Commit Graph

830 Commits

Author SHA1 Message Date
e7e7486a8e Merge branch 'mod-overlay/back-button' into mod-overlay/integration 2022-05-07 10:59:30 +02:00
9d3e67b10d Update free mod select/deselect all test after back button addition 2022-05-07 10:25:23 +02:00
e1953c484c Add test coverage for selecting/deselecting all mods on free mod select 2022-05-07 09:50:08 +02:00
380cd1e036 Add test coverage for lack of customisation on free mod select 2022-05-06 21:35:22 +02:00
060461a431 Add test coverage of multiplayer gameplay exit flow 2022-05-06 15:22:22 +09:00
d296f78dfe Replace references to old mod select classes in multiplayer match screen test 2022-05-05 22:16:57 +02:00
ecc2805099 Replace references to old mod select classes in match song select test
Also note the change from `songSelect.ChildrenOfType<>()...` to
`this.ChildrenOfType<>()...` - because the new design is registered at
game-level, the mod select is not a child of the song select screen
anymore.
2022-05-05 22:16:57 +02:00
199bdb8e7d Replace reference to old mod select in multiplayer test 2022-05-05 22:16:56 +02:00
a26793cd65 Add missing Test prefix 2022-05-05 06:12:24 +03:00
f28978b856 Handle against playlists which disallow selection
`SelectedItem.Disabled` is also not checked against in the select-via-click flow inside `DrawableRoomPlaylistItem` (only `AllowSelection` is checked).
2022-05-05 05:48:35 +03:00
ec27fa8e85 Add test coverage for keyboard selection 2022-05-04 13:15:10 +02:00
b293d3923c Merge branch 'master' into multiplayer-force-start-2 2022-04-23 01:03:55 +09:00
e9bd87545e Fix flaky test in free mod select test scene 2022-04-22 00:07:00 +02:00
08d250fe58 Rename MatchStarted() -> GameplayStarted() 2022-04-21 22:39:24 +09:00
4b6d42c7e8 Add assertion covering free mod selection mod validity filter 2022-04-17 23:28:52 +02:00
9942b0a946 Add test scene for free mod select screen 2022-04-17 23:28:52 +02:00
8a55f9b968 Merge pull request #17302 from peppy/fix-spectator-seeks
Fix spectator not starting from current player position
2022-04-15 13:28:49 +09:00
9de4d416e2 Merge branch 'master' into fix-spectator-seeks 2022-04-14 18:54:52 +09:00
0a7fbcad1e Merge branch 'master' into match-start-control-test-refactor 2022-04-13 22:26:10 +09:00
c77a7b75d3 Tidy things up 2022-04-13 21:12:35 +09:00
8b1fd051c6 Fix remaining autostart and gameplay tests 2022-04-13 21:04:15 +09:00
c0ad91796d Fix gameplay start flow 2022-04-13 20:57:40 +09:00
8a7b37856c Implement IsHost to return correct value for current state 2022-04-13 20:51:05 +09:00
4b6a9fbf47 Reimplement beatmap availability test 2022-04-13 20:41:56 +09:00
331242d585 Update transfer host logic and simplify local user checks 2022-04-13 20:38:39 +09:00
0a5a3415f8 Setup host switching and avoid starting gameplay 2022-04-13 20:28:53 +09:00
ca44d2c4dc Setup start/stop requests 2022-04-13 17:36:27 +09:00
1f01714ec2 Apply initial structural changes to TestSceneMatchStartControl 2022-04-13 17:36:27 +09:00
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
fbf0e5a45c Remove startFromSkipTarget parameter and update usages that required said behaviour 2022-04-13 14:25:43 +09:00
9c68b3edc5 Merge branch 'master' into fix-spectator-seeks 2022-04-13 12:33:41 +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