Commit Graph

411 Commits

Author SHA1 Message Date
578a0e7494 Merge branch 'master' into beat-divisor-visual-improvements 2023-05-24 22:28:26 +02:00
663cec1ff6 Combine editor navigation test scenes 2023-05-24 23:51:28 +09:00
b5f8093941 Use RangePadding to align mouse with slider 2023-05-23 18:16:14 +02:00
fa00f8b92a replace manual code with existing method 2023-05-23 18:16:12 +02:00
921d7e4d89 More fitting tests for new layout 2023-05-23 18:16:10 +02:00
2ce150ba2b Add failing test case for sample undo 2023-05-22 22:23:05 +02:00
843d2903d2 Add failing test case for slider velocity undo 2023-05-22 22:18:15 +02:00
ec2b9165d5 Adjust BeatDivisorControl test to show control mmuch larger 2023-05-17 16:33:58 +09:00
ebce39cd1c Add test coverage of failing sample bank transfer 2023-05-16 18:52:52 +09:00
8528fcaedc Rename editor sample adjustment test scene to increase scope of tests 2023-05-16 18:52:52 +09:00
83dcd78826 Make HitSampleInfo.Bank non-nullable 2023-05-16 18:12:56 +09:00
a99bf0fc5a Add test coverage 2023-05-14 12:29:24 +02:00
9a327d95b8 Add test coverage 2023-05-14 11:24:24 +02:00
6b017ac05f Merge pull request #23308 from OliBomby/sample-control-points
Remove SampleControlPoint and DifficultyControlPoint from HitObject
2023-05-03 14:21:51 +09:00
e42b0cc5b1 Merge pull request #23370 from peppy/fix-editor-playfield-padding
Add more padding around playfield in editor to avoid overlap with tool areas
2023-05-03 11:44:55 +09:00
95badb9455 Adjust composer tests to new screen layout
`TestSceneHitObjectComposer.TestPlacementFailsWhenClickingButton()` was
attempting to cover the case of the user clicking a toolbox button which
was in front of the playfield, and ensure that the click did not result
in a placement. However, since the paddings in
67f83f246b were added, it is impossible
for a toolbox button to be in front of the playfield in the collapsed
state, which the test was relying on.

The test scenario is still however relevant in the case of the toolbox
being expanded, as in that state the toolbux buttons may very well end
up being in front of the playfield, and they still should not result in
a hitobject being placed. To ensure that this is the case, add a few
extra test steps ensuring that the toolbox is expanded first before
trying to retrieve an overlapping button.
2023-05-02 18:45:45 +02:00
e3c384c6b5 Merge branch 'master' into sample-control-points 2023-05-02 14:38:39 +09:00
983a8f7dfe Merge branch 'master' into fix-reverse-crash 2023-05-02 13:14:34 +09:00
87db891143 Adjust test to reliabily fail 2023-05-02 13:12:11 +09:00
1fb4c814f4 Remove no longer needed API call mocking
The online ID will be reset unconditionally after any local change is
made to any beatmap. That behaviour no longer depends on online lookups
succeeding or failing.

This may change at a later date when beatmap submission is integrated
into lazer - the idea is that online IDs would get re-populated on local
beatmaps once they are submitted to web.
2023-05-01 19:08:41 +02:00
8ab3a87b13 Add failing test case covering online ID reset on save
This test scene passes at e58e1151f3 and
fails at current master, due to an inadvertent regression caused by
e72f103c17.

As it turns out, the online lookup flow that was causing UI thread
freezes when saving beatmaps in the editor, was also responsible for
resetting the online ID of locally-modified beatmaps if online lookup
failed.
2023-05-01 18:17:35 +02:00
dbb2a8980b add test 2023-05-01 15:56:23 +02:00
354cd23874 removed all usage of hitobject's DifficultyControlPoint 2023-04-26 18:17:02 +02:00
c44f71a737 remove all regular usage of DifficultyControlPoint 2023-04-26 17:55:38 +02:00
9f8d7bccba fix usings 2023-04-26 17:34:02 +02:00
c6fc180659 remove all test usages of SampleControlPoint 2023-04-26 14:21:52 +02:00
13937cf555 Merge branch 'master' into stream-tool-2 2023-01-26 16:08:20 +09:00
a1b5c9d910 Don't transfer MD5 hashes in collections when copying beatmaps
Fixes #22306.

Changes beatmap saving so that by default it does not transfer
the hashes in collections, and only transfers them when saving the same
difficulty in the editor.

Issue seems to have been introduced in https://github.com/ppy/osu/pull/20641.
2023-01-22 01:14:18 +09:00
a1152fa0db Merge pull request #22147 from Feodor0090/forbid-negative-snap
Forbid negative time snap in editor
2023-01-17 17:35:45 +09:00
3102044d00 Add failing test for new difficulty creation 2023-01-14 18:46:14 +01:00
e8029e6390 Fix unrelated tests 2023-01-12 03:39:27 +03:00
abca13eb6c Rewrite visualisation piece to bind once and without potential event leak 2023-01-07 14:40:15 +03:00
656bf12b3d Add all possible timeline elements to test for demonstrative purposes 2023-01-01 19:42:46 +01:00
a82f1a6abd Adjust method naming and copy 2023-01-01 18:50:47 +01:00
0e59b55a12 Merge branch 'master' into previewTime 2023-01-01 18:38:19 +01:00
a665013626 Add failing test case 2022-12-23 00:56:38 +03:00
a4d28aff6d fix typo 2022-12-16 10:48:56 +09:00
79e27c2d9d PreviewTimePart will not show if preview time is -1 2022-12-16 10:44:07 +09:00
984f0b5fa9 Add test for set preview point 2022-12-16 01:35:54 +09:00
10b5900710 made PathControlPointVisualiser generic 2022-12-07 10:13:40 +01:00
8dcd1a2067 Add test to verify selected timing point will be scrolled into view 2022-11-27 02:48:15 +00:00
894ef15e79 Merge branch 'master' into update-framework 2022-11-26 16:19:36 +01:00
7bc8908ca9 Partial everything 2022-11-27 00:00:27 +09:00
fca3e7e39f Merge branch 'master' into editor-seek-control-points 2022-11-24 21:53:47 +01:00
37f725bfa2 Reverse directionality of up/down traversal keys to match scroll 2022-11-24 13:55:58 +09:00
cf5f5a4de3 Extend tap timing control test coverage in no point selected case 2022-11-23 17:25:34 +01:00
06449b62f1 Add test coverage for crash scenario 2022-11-23 16:11:57 +01:00
9b9b8a5977 Add ability to seek between control points in editor using down/up arrows
Matches stable. Addresses #21376.
2022-11-23 15:59:32 +09:00
1269afd0c5 Merge pull request #21307 from frenzibyte/disable-scroll-speed-on-osu
Hide scroll speed control from effects section on rulesets which don't support it
2022-11-20 16:17:55 +01:00
793d5b117e Fix timing screen test scene not creating editor beatmap properly 2022-11-20 15:20:35 +03:00