diff --git a/apps/browser/src/autofill/background/overlay.background.spec.ts b/apps/browser/src/autofill/background/overlay.background.spec.ts index a2cfbb8cd5f..36283828923 100644 --- a/apps/browser/src/autofill/background/overlay.background.spec.ts +++ b/apps/browser/src/autofill/background/overlay.background.spec.ts @@ -424,23 +424,6 @@ describe("OverlayBackground", () => { expect(repositionInlineMenuSpy).not.toHaveBeenCalled(); }); - it("blocks repositioning when the sender frame is for the focused field, but the inline menu is not visible", async () => { - sendMockExtensionMessage( - { command: "updateFocusedFieldData", focusedFieldData }, - sender, - ); - tabsSendMessageSpy.mockImplementationOnce((_tab, message) => { - if (message.command === "checkIsAutofillInlineMenuButtonVisible") { - return Promise.resolve(false); - } - }); - - sendMockExtensionMessage({ command: "triggerAutofillOverlayReposition" }, sender); - await flushOverlayRepositionPromises(); - - expect(repositionInlineMenuSpy).not.toHaveBeenCalled(); - }); - it("blocks repositioning when the sender frame is not a parent frame of the focused field", async () => { focusedFieldData = createFocusedFieldDataMock({ tabId }); const otherFrameSender = mock({