From 65a8a7862254aae825a20798db1ab57cd041f80f Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Thu, 30 Jan 2025 20:30:03 +0100 Subject: [PATCH] feat: improve test --- .../integration/vnComponent/VnShortcut.spec.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/cypress/integration/vnComponent/VnShortcut.spec.js b/test/cypress/integration/vnComponent/VnShortcut.spec.js index b49b4e964..e08c44635 100644 --- a/test/cypress/integration/vnComponent/VnShortcut.spec.js +++ b/test/cypress/integration/vnComponent/VnShortcut.spec.js @@ -28,6 +28,17 @@ describe('VnShortcuts', () => { }); cy.url().should('include', module); + if (['monitor', 'claim'].includes(module)) { + return; + } + cy.waitForElement('.q-page').should('exist'); + cy.dataCy('vnTableCreateBtn').should('exist'); + cy.get('.q-page').trigger('keydown', { + ctrlKey: true, + altKey: true, + key: '+', + }); + cy.get('#formModel').should('exist'); }); } });