diff --git a/packages/connect/e2e/common.setup.ts b/packages/connect/e2e/common.setup.ts index 0358f282bdf..2cf1ba09a39 100644 --- a/packages/connect/e2e/common.setup.ts +++ b/packages/connect/e2e/common.setup.ts @@ -165,7 +165,8 @@ export const initTrezorConnect = async ( }); if (autoConfirm) { - TrezorConnect.on(UI.REQUEST_BUTTON, () => { + TrezorConnect.on(UI.REQUEST_BUTTON, e => { + if (e.code === 'ButtonRequest_PinEntry') return; setTimeout(() => TrezorUserEnvLink.send({ type: 'emulator-press-yes' }), 1); }); }