diff --git a/packages/studio/src/components/editor/propertyPanelAudioFxGroup.test.tsx b/packages/studio/src/components/editor/propertyPanelAudioFxGroup.test.tsx index 3964211ec8..d0d9c34f1d 100644 --- a/packages/studio/src/components/editor/propertyPanelAudioFxGroup.test.tsx +++ b/packages/studio/src/components/editor/propertyPanelAudioFxGroup.test.tsx @@ -469,7 +469,7 @@ describe("AudioFxGroup dynamic carve", () => { }); document.getElementById("bed")?.setAttribute("src", "bed.wav"); act(() => byTextButton(host, "Audio FX")?.click()); - act(() => byTextButton(host, "Add effect")?.click()); + act(() => byTextButton(host, "+ effect")?.click()); await act(async () => { byTextButton(host, "Even Out Levels")?.click(); await new Promise((r) => setTimeout(r, 0)); @@ -581,7 +581,7 @@ describe("AudioFxGroup dynamic carve", () => { const { release, decoded } = stubGatedDecode(); const { host, onSetAttributeLive } = mount({ "fx-chain": CHAIN }); document.getElementById("bed")?.setAttribute("src", "bed.wav"); - act(() => byTextButton(host, "Add effect")?.click()); + act(() => byTextButton(host, "+ effect")?.click()); const level = byTextButton(host, "Even Out Levels"); expect(level, "the levelling button was not offered").toBeTruthy(); act(() => level?.focus()); @@ -611,7 +611,7 @@ describe("AudioFxGroup dynamic carve", () => { const { release, decoded } = stubGatedDecode(); const { host, onSetAttributeLive } = mount({ "fx-chain": CHAIN }); document.getElementById("bed")?.setAttribute("src", "bed.wav"); - act(() => byTextButton(host, "Add effect")?.click()); + act(() => byTextButton(host, "+ effect")?.click()); act(() => byTextButton(host, "Even Out Levels")?.focus()); // Straight to a neighbour, without ever leaving the shelf. act(() => diff --git a/packages/studio/src/components/editor/propertyPanelFxSection.test.tsx b/packages/studio/src/components/editor/propertyPanelFxSection.test.tsx index bd1225ce87..7d07a4594a 100644 --- a/packages/studio/src/components/editor/propertyPanelFxSection.test.tsx +++ b/packages/studio/src/components/editor/propertyPanelFxSection.test.tsx @@ -875,7 +875,7 @@ describe("FxSection chain", () => { click(host.querySelector(".hf-fx-add")); expect(host.querySelector(".hf-fx-add-menu")).toBeNull(); - expect(byText(host, "button", "Add effect")).toBeTruthy(); + expect(byText(host, "button", "+ effect")).toBeTruthy(); }); it("opens one menu in place of the other", () => { @@ -1046,7 +1046,7 @@ describe("FxSection chain", () => { it("auditions an effect the add menu is offering", () => { const { host, onChainPreview, onChainChange } = mount({ chain: chainOf("peaking") }); - click(byText(host, "button", "Add effect")); + click(byText(host, "button", "+ effect")); enter(byText(host, "button", EFFECT_COPY.reverb?.title ?? "")); const heard = onChainPreview.mock.calls.at(-1)?.[0] as HfAudioFxChain; @@ -1063,7 +1063,7 @@ describe("FxSection chain", () => { onLevel: vi.fn(), onAuditionLevel, }); - click(byText(host, "button", "Add effect")); + click(byText(host, "button", "+ effect")); enter(byText(host, "button", "Even Out Levels")); expect(onAuditionLevel).toHaveBeenLastCalledWith(true); leave(host, ".hf-fx-add-menu"); diff --git a/packages/studio/src/components/editor/propertyPanelFxSection.tsx b/packages/studio/src/components/editor/propertyPanelFxSection.tsx index b262b257c2..66e8c58713 100644 --- a/packages/studio/src/components/editor/propertyPanelFxSection.tsx +++ b/packages/studio/src/components/editor/propertyPanelFxSection.tsx @@ -511,10 +511,10 @@ export function FxSection({ opened one and changed their mind had no way back: picking something was the only thing that set these false, so the only exits were adding an effect they did not want or deselecting the clip. */} -