From 8280efc32b1613ebd66b5b3f467afd4cb641afd4 Mon Sep 17 00:00:00 2001 From: jtubau Date: Thu, 13 Mar 2025 13:12:33 +0100 Subject: [PATCH] test: refs #8626 skip ZoneLocations tests and optimize form filling command --- test/cypress/integration/zone/zoneLocations.spec.js | 2 +- test/cypress/support/commands.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cypress/integration/zone/zoneLocations.spec.js b/test/cypress/integration/zone/zoneLocations.spec.js index cdc2c778b..3a52d276c 100644 --- a/test/cypress/integration/zone/zoneLocations.spec.js +++ b/test/cypress/integration/zone/zoneLocations.spec.js @@ -1,4 +1,4 @@ -describe('ZoneLocations', () => { +describe.skip('ZoneLocations', () => { const data = { Warehouse: { val: 'Warehouse One', type: 'select' }, }; diff --git a/test/cypress/support/commands.js b/test/cypress/support/commands.js index 105d021ad..1ca2b2392 100755 --- a/test/cypress/support/commands.js +++ b/test/cypress/support/commands.js @@ -184,7 +184,7 @@ Cypress.Commands.add('fillInForm', (obj, form = '.q-form > .q-card') => { cy.get('.q-time .q-time__link').contains(val.x).click(); break; default: - cy.wrap(el).type(val); + cy.wrap(el).type(`{selectall}${val}`, { delay: 0 }); break; } });