Skip to content

Commit

Permalink
Remove references of "difficulty point" in sample point test scene
Browse files Browse the repository at this point in the history
Fat-fingered.
  • Loading branch information
frenzibyte committed May 11, 2022
1 parent 396be1b commit e43ce28
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,11 @@ public void TestMultipleSelectionWithDifferentSampleBank()
samplePopoverHasSingleBank("normal");
}

private void clickSamplePiece(int objectIndex) => AddStep($"click {objectIndex.ToOrdinalWords()} difficulty piece", () =>
private void clickSamplePiece(int objectIndex) => AddStep($"click {objectIndex.ToOrdinalWords()} sample piece", () =>
{
var difficultyPiece = this.ChildrenOfType<SamplePointPiece>().Single(piece => piece.HitObject == EditorBeatmap.HitObjects.ElementAt(objectIndex));
var samplePiece = this.ChildrenOfType<SamplePointPiece>().Single(piece => piece.HitObject == EditorBeatmap.HitObjects.ElementAt(objectIndex));

InputManager.MoveMouseTo(difficultyPiece);
InputManager.MoveMouseTo(samplePiece);
InputManager.Click(MouseButton.Left);
});

Expand Down Expand Up @@ -216,7 +216,7 @@ private void samplePopoverHasIndeterminateBank() => AddUntilStep("sample popover
private void dismissPopover()
{
AddStep("dismiss popover", () => InputManager.Key(Key.Escape));
AddUntilStep("wait for dismiss", () => !this.ChildrenOfType<DifficultyPointPiece.DifficultyEditPopover>().Any(popover => popover.IsPresent));
AddUntilStep("wait for dismiss", () => !this.ChildrenOfType<SamplePointPiece.SampleEditPopover>().Any(popover => popover.IsPresent));
}

private void setVolumeViaPopover(int volume) => AddStep($"set volume {volume} via popover", () =>
Expand Down

0 comments on commit e43ce28

Please sign in to comment.