mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
Use Emulation.setFocusEmulationEnabled in Cypress (#33787)
GitOrigin-RevId: d3b9ba1b2362bdb23dbf8282514c972c52c83fec
This commit is contained in:
+9
@@ -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 () {
|
describe('editor context menu', { scrollBehavior: false }, function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user