Commit Graph

6220 Commits

Author SHA1 Message Date
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
d1de516b11 Fix incorrect cursor parameterisation in test scene 2022-04-11 15:40:28 +09:00
779f7390b7 Add test coverage of DrawableRoom actually showing post-retrieval text 2022-04-11 13:44:34 +09:00
34adc1d410 Add quick test coverage 2022-04-08 19:21:37 +03:00
04db80848b Remove unused using directives 2022-04-07 21:24:50 +02:00
0674862b6c Fix failing tests 2022-04-07 17:52:08 +09:00
edb556643e Add failing replay button enabled test asserts 2022-04-06 20:43:56 -07:00
c997d0fcf0 Merge pull request #17631 from bdach/mod-overlay/full-screen
Implement basic layout & behaviour of new mod select screen
2022-04-07 10:23:49 +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
9c91e6d8f5 Merge branch 'master' into mod-overlay/full-screen 2022-04-05 21:29:40 +02:00
3ca365ad7f Merge branch 'master' into dangerous-delete-actions 2022-04-05 10:55:01 +09:00
b2c822a3b1 Release mouse button 2022-04-04 23:02:07 +02:00
da315f8a61 Make the test hold the button instead of pressing it 2022-04-04 22:44:35 +02:00
a1ded66fd8 Fix various breakage in delete local score test scene 2022-04-04 21:59:09 +02:00
29b7460cc7 Fix weird test step 2022-04-04 20:05:54 +02:00
3ba81f3fdc Fix overlapping variable usage 2022-04-04 15:29:03 +09:00
f00dc5e156 Merge pull request #17598 from smoogipoo/playlist-quick-reorder
Fix playlist refreshing all items on order change
2022-04-04 14:48:05 +09:00
90e44b67ea Improve robustness of test code 2022-04-03 20:24:32 +02:00
a172b194f0 Add testing for different rulesets 2022-04-03 20:12:34 +02:00
2921a13609 Add testing for mod bindable state propagation 2022-04-03 20:12:34 +02:00
e46c2df409 Add testing for customisation panel show/hide logic 2022-04-03 20:12:33 +02:00
293ef44836 Implement new mod select screen 2022-04-03 20:12:33 +02:00
969f7e121a Merge pull request #17545 from jai-x/new-chat-textbox
Implement `ChatTextBox` for new chat design
2022-04-03 22:12:12 +09:00
6d1844adc3 Use nameof() in test to reference event names 2022-04-03 14:27:37 +02:00
94fa5e2ef2 Use Action<string> for event OnChatMessageCommitted & clear textbox internally 2022-04-02 21:58:54 +01:00
28ba437d24 Merge branch 'master' into sucess-rate-tooltip 2022-04-02 19:31:45 +02:00
b815f685fc Flip viaConfig conditional branch 2022-04-02 19:28:33 +03:00
9e152cd3fd Fix code quality issues 2022-04-02 17:27:44 +01:00
8534dd3463 Simplify TestCase attributes to one Values attribute
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2022-04-02 19:24:16 +03:00
2297073b7e Use OnChatMessageCommit & OnSearchTermsChanged events in ChatTextBar 2022-04-02 17:15:19 +01:00
c4635f3c03 Add failing test case 2022-04-02 18:36:32 +03:00
a252c4cad5 Add random pass/play count data in test scene 2022-04-02 18:08:23 +03:00
c103cee1d5 Need to commit the second half again because my Git UI messed up 2022-04-02 04:53:47 +02:00
a1baced777 Change behavior of the display mode test
I remembered to run InspectCode this time, all good
2022-04-02 04:45:21 +02:00
ee9696855b Remove hover test 2022-04-02 04:41:05 +02:00
245e452d41 Remove redundant typecast I accidentally left in (Thanks InspectCode) 2022-04-02 04:31:43 +02:00
95ccac50d4 Add display mode changing test
Yup this is gonna fail horribly
2022-04-02 04:26:16 +02:00
9350f6f5f8 Add spaces around commas in Vector2 construction 2022-04-02 02:59:07 +02:00
dc744f18ff Trim whitespace 2022-04-02 02:43:51 +02:00
6685c97147 mainContainer -> toolbarClock 2022-04-02 02:43:44 +02:00
b07152a119 Initial attempt at writing a test for the toolbarClock
I'll add more once I know if this code passes review or not
2022-04-02 02:35:37 +02:00