Commit Graph

20 Commits

Author SHA1 Message Date
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
7bc8908ca9 Partial everything 2022-11-27 00:00:27 +09:00
bea136ce50 Adjust test assert ordering to read better 2022-10-19 23:59:40 +09:00
6608ada925 Fix test failures due to missing colour provider dependency 2022-10-13 17:05:11 +09:00
f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
6380216263 Nudge click location to avoid placement failures 2022-05-04 11:56:44 +02:00
a759e641eb Enforce composer aspect ratio to avoid depending on ambient window size 2022-05-04 11:56:29 +02:00
f899c3e68f Add test coverage of circle placement around editor toolboxes 2022-05-04 17:56:53 +09:00
2e8372fe90 Minor cleanup
Just from reading diff.
2022-04-28 07:14:43 +03:00
66c730c382 Change distance spacing keybind to Ctrl+Alt 2022-04-27 17:11:23 +03:00
cbc8f7ff90 Remove test coverage of "shift" hotkey behaviour 2022-02-15 02:29:09 +03:00
9504942cfd Add test case for distance spacing hotkeys scrolling behaviour 2022-02-15 02:21:53 +03:00
b5f670cc5b Add far too many fixes for ruleset non-nullable requirements 2022-01-12 23:24:11 +09:00
7c2e79f911 Update all simple cases of switching to IWorkingBeatmap 2021-11-17 20:56:57 +09:00
9b9dacf3fe Update usages of Drawable.Click() 2021-08-04 17:30:33 +09:00
bde35d9f21 Rename radio button classes to be local to editor 2021-07-19 16:57:12 +09:00
50eed26bd1 Rename radio button item to label 2021-07-17 02:32:23 +09:00
eac9b1ec7e Disable toolbox composition buttons when beatmap is not timed 2021-07-17 02:30:13 +09:00
648999a2de Remove all RequiredTypes usages 2020-05-16 18:17:12 +09:00
e3a3144236 Rename editor tests namespace from "Editor" to "Editing" 2020-04-23 11:07:55 +03:00