Commit Graph

727 Commits

Author SHA1 Message Date
b672d4b936 Refactor RequestHandlingMultiplayerRoomManager to avoid confusion 2021-08-17 09:43:37 +09:00
352949069a Move filter to LoungeSubScreen 2021-08-17 09:36:43 +09:00
6320768a67 Merge branch 'master' into multi-polling-request-refactor 2021-08-17 08:44:56 +09:00
67bac207cf Cover kicking a multiplayer room user with null User 2021-08-16 09:37:31 +03:00
f82ed64aa7 Fix participant panel null user test no longer functioning properly
I guess the changes that involved `MultiplayerTestScene` having a test
user lookup cache caused this test case to false-pass silently.

Added an explicit assert which ensures the added user indeed has a null
`User` value.
2021-08-16 09:07:00 +03:00
53c3eccfb5 Force HUD visibility mode to "Always" during testing 2021-08-16 07:21:37 +03:00
08d347f10b Merge branch 'master' into multi-polling-request-refactor 2021-08-16 13:12:08 +09:00
8f3fedade3 Merge branch 'master' into multiplayer-team-vs-results 2021-08-13 21:30:44 +02:00
2e9ab78275 Split test scene into two to follow class split 2021-08-13 21:30:26 +02:00
1fed9193f8 Revert reverted segment to fix failure 2021-08-13 15:24:10 +03:00
c32ba9e38f Remove arbitrarily-set wait step with until step instead, keeping the comment 2021-08-13 15:06:11 +03:00
7cf6b551d3 Replace until step with wait step with explanatory comment 2021-08-13 13:01:17 +03:00
fbadc4897e Remove test scene 2021-08-13 18:28:20 +09:00
f5cea0cacd Fix failing test and rename to match new behaviour 2021-08-13 12:12:20 +03:00
8910781bcd Move listing polling component to LoungeSubScreen 2021-08-13 17:39:09 +09:00
df24f7a81e Merge pull request #14256 from smoogipoo/multiplayer-header-redesign
Update multiplayer header to the latest designs
2021-08-13 16:16:25 +09:00
732dcd30c7 Merge branch 'master' into multiplayer-team-vs-results 2021-08-13 16:03:10 +09:00
699a61500a Merge pull request #14264 from smoogipoo/fix-multi-spectate-test-failure
Fix multiplayer spectating test failures
2021-08-13 14:53:11 +09:00
755b6460b6 Fix multiplayer navigation test failure 2021-08-13 14:05:44 +09:00
8fc0edb283 Fix some multiplayer test failures 2021-08-13 13:54:52 +09:00
fc22e806f4 Cover newly hidden/expired elements in existing test 2021-08-13 07:30:24 +03:00
1892db7f37 Add test coverage 2021-08-13 06:38:28 +03:00
7aa361d772 Remove now-incorrect test 2021-08-13 09:02:19 +09:00
70005cb39d Merge branch 'master' into multiplayer-team-vs-results 2021-08-12 20:39:48 +02:00
53b4cdfb02 Handle ties in team vs. results screen 2021-08-12 20:38:24 +02:00
d9190607e4 Add test coverage for both teams winning 2021-08-12 20:21:53 +02:00
f06f13215b Split off multiplayer team results screen to separate class
The previous version tried to keep both normal multiplayer and team
multiplayer results as one screen, but didn't check that team-specific
components aren't null in `LoadComplete()`.

To decrease number of conditional, split off the team results screen to
a separate implementation, and choose one or the other at push time in
`MultiplayerPlayer`, depending on team count.
2021-08-12 20:01:31 +02:00
d08d22e3e9 Ensure tests wait for screen load 2021-08-12 19:57:05 +02:00
8249ce7988 Merge branch 'master' into multiplayer-header-redesign 2021-08-12 21:00:46 +09:00
83703e4283 Add colour provider to online play dependencies 2021-08-12 20:08:14 +09:00
7b66616dc4 Simplify logic and test/fix edge case 2021-08-12 19:47:26 +09:00
8a67304b9f Fix recent participants hidden user logic not handling edge case correctly
Hiding just one user never makes sense, so this will now always show up
to the required circle count until two users are required to be hidden.
This will make the listing more consistent with the width requirement
spec.
2021-08-12 19:47:26 +09:00
512382987e Add colour provider for multiplayer usage 2021-08-12 19:47:26 +09:00
5f3ceaf0ad Merge branch 'master' into lounge-redesign 2021-08-12 16:31:14 +09:00
14fe2eea2a Add empty step to multiplayer TestEmpty() test 2021-08-12 16:20:08 +09:00
60e988aac3 Merge branch 'master' into multiplayer-kick-support 2021-08-12 11:46:56 +09:00
9393c6351d Fix another potential test case failure 2021-08-12 11:08:52 +09:00
531fba8f39 Fix potential test case failure 2021-08-12 11:05:31 +09:00
5d0b92e28c Fix multi spectator test not showing teams 2021-08-12 10:38:20 +09:00
c160e50f4f Merge branch 'master' into multiplayer-team-vs-leaderboard 2021-08-12 10:27:31 +09:00
0f5bea235c Merge branch 'master' into lounge-redesign 2021-08-11 18:15:34 +09:00
bb51ebd0ef Don't show button on self 2021-08-11 17:42:46 +09:00
50bda6023c Add test coverage 2021-08-11 17:31:54 +09:00
c376e652a4 Convey and show team scores at the multiplayer results screen 2021-08-11 15:32:14 +09:00
a503274e1d Pass through MultiplayerRoomUsers instead of ints to avoid re-retrieval 2021-08-10 18:39:20 +09:00
53d03745e0 Remove unused test scene 2021-08-10 17:48:47 +09:00
e0e0d5deb0 Remove unused using 2021-08-10 17:25:10 +09:00
5ea7909eea Fix incorrectly failing test 2021-08-10 16:23:53 +09:00
ea6e441dec Simplify method of marking players as playing in test scenes 2021-08-09 19:21:22 +09:00
551929cf5a Simplify method of marking players as playing in test scenes 2021-08-09 19:18:13 +09:00