diff --git a/cypress/e2e/5-ndv.cy.ts b/cypress/e2e/5-ndv.cy.ts index 6e3f38ca5b..d30fa6d664 100644 --- a/cypress/e2e/5-ndv.cy.ts +++ b/cypress/e2e/5-ndv.cy.ts @@ -28,14 +28,17 @@ describe('NDV', () => { cy.grantBrowserPermissions('clipboardReadWrite', 'clipboardSanitizedWrite'); - cy.readClipboard().then((url) => { - cy.request({ - method: 'GET', - url, - }).then((resp) => { - expect(resp.status).to.eq(200); + cy.window() + .focus() + .readClipboard() + .then((url) => { + cy.request({ + method: 'GET', + url, + }).then((resp) => { + expect(resp.status).to.eq(200); + }); }); - }); ndv.getters.outputDisplayMode().should('have.length.at.least', 1).and('be.visible'); }); diff --git a/packages/editor-ui/src/components/NodeExecuteButton.vue b/packages/editor-ui/src/components/NodeExecuteButton.vue index dae424c3f4..128a21a414 100644 --- a/packages/editor-ui/src/components/NodeExecuteButton.vue +++ b/packages/editor-ui/src/components/NodeExecuteButton.vue @@ -5,6 +5,7 @@