Use Emulation.setFocusEmulationEnabled in Cypress (#33787)

GitOrigin-RevId: d3b9ba1b2362bdb23dbf8282514c972c52c83fec
This commit is contained in:
Alf Eaton
2026-06-02 10:02:26 +01:00
committed by Copybot
parent 979f065581
commit 78bea8d574
@@ -83,6 +83,15 @@ const grantClipboardPermissions = () => {
},
})
)
cy.wrap(
Cypress.automation('remote:debugger:protocol', {
command: 'Emulation.setFocusEmulationEnabled',
params: {
enabled: true,
},
})
)
}
describe('editor context menu', { scrollBehavior: false }, function () {