1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-07 05:38:21 +08:00
Commit Graph

77 Commits

Author SHA1 Message Date
Dean Herbert
ed30756c19 Add test coverage for new display (and remove live version for now) 2020-11-02 20:41:14 +09:00
Dean Herbert
fa85751425 Move helper functions to bottom of class 2020-10-29 15:10:42 +09:00
Dean Herbert
fe409a55e6 Rename starvation test 2020-10-29 15:10:11 +09:00
Dean Herbert
ce58bfdc4e Add test covering host retry after returning to spectator screen 2020-10-29 15:09:12 +09:00
Dean Herbert
6a31a313b6 Fix stop watching test to check correct screen presence 2020-10-29 15:08:06 +09:00
Dean Herbert
7dd3a748be Add further test logic to ensure retry / restart flow is working correctly 2020-10-29 15:03:38 +09:00
Dean Herbert
a59ea987b7 Make tests more resilient under headless execution 2020-10-29 14:57:36 +09:00
Dean Herbert
6c2cee7b3f Avoid cross-pollution between tests of current playing state 2020-10-28 23:15:51 +09:00
Dean Herbert
7cc4a7cb5c Add more accurate fail scenario test logic 2020-10-28 22:59:54 +09:00
Dean Herbert
1d499ec15d Change beatmap not existing test to specify a beatmap ID that can't possibly exist 2020-10-28 22:51:35 +09:00
Dean Herbert
8bbcb9be8a Always use imported beatmap in tests 2020-10-28 22:50:57 +09:00
Dean Herbert
5fcd39a43d Ensure spectator screen is loaded before continuing 2020-10-28 16:29:06 +09:00
Dean Herbert
d5e0fa322b Fix a couple of inspections 2020-10-27 22:30:45 +09:00
Dean Herbert
2cacdaa11b Add basic beatmap download and play flow 2020-10-27 19:28:34 +09:00
Dean Herbert
42b3aa3359 Fix spectating when starting from a point that isn't at the beginning of the beatmap 2020-10-27 18:58:37 +09:00
Dean Herbert
a289b7034f Add test helper functions to promote code share 2020-10-27 18:58:37 +09:00
Dean Herbert
b3d793a505 Fix gameplay proceeding when no frames have been received yet 2020-10-27 18:58:37 +09:00
Dean Herbert
d4467d20a2 Allow tests to continue sending frames from point they left off 2020-10-27 18:58:37 +09:00
Dean Herbert
63131d46aa Send initial spectator state more correctly in test component 2020-10-27 18:58:37 +09:00
Dean Herbert
4dba96e189 Add more useful frame sending logic to tests 2020-10-27 18:58:37 +09:00
Dean Herbert
c1e7cd6e47 Stop replay playback when frames are starved 2020-10-27 18:58:37 +09:00
Dean Herbert
400542bc0b Ensure frames arrive 2020-10-27 18:58:37 +09:00
Dean Herbert
593b0a3ada Setup tests to run headless, add basic pass support 2020-10-27 18:58:37 +09:00
Dean Herbert
67f6d52e35 Setup tests 2020-10-27 18:58:37 +09:00
Dean Herbert
9bb2cff8a5 Convey actual beatmap and ruleset for full testing setup 2020-10-27 18:58:37 +09:00
Dean Herbert
82a27c73a0 Create basic testing setup 2020-10-27 18:58:37 +09:00
Dean Herbert
5fd97bd043 Add basic spectator screen 2020-10-27 18:58:37 +09:00