From c90087b531a2096b286511acbae3fa0178ae6a55 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 15 Nov 2024 10:47:55 +0100 Subject: [PATCH] perf: remove commands without use --- test/cypress/support/commands.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/test/cypress/support/commands.js b/test/cypress/support/commands.js index e61439fb5..6136ba338 100755 --- a/test/cypress/support/commands.js +++ b/test/cypress/support/commands.js @@ -254,13 +254,6 @@ Cypress.Commands.add('validateContent', (selector, expectedValue) => { cy.get(selector).should('have.text', expectedValue); }); -Cypress.Commands.add('openActionDescriptor', (opt) => { - cy.openActionsDescriptor(); - const listItem = '[role="menu"] .q-list .q-item'; - cy.contains(listItem, opt).click(); - 1; -}); - Cypress.Commands.add('openActionsDescriptor', () => { cy.get('.header > :nth-child(3) > .q-btn__content > .q-icon').click(); }); @@ -291,12 +284,6 @@ Cypress.Commands.add('checkValueForm', (id, search) => { ).should('have.value', search); }); -Cypress.Commands.add('checkValueSelectForm', (id, search) => { - cy.get( - `.grid-create > :nth-child(${id}) > .q-field > .q-field__inner > .q-field__control > .q-field__control-container>.q-field__native>.q-field__input` - ).should('have.value', search); -}); - Cypress.Commands.add('searchByLabel', (label, value) => { cy.get(`[label="${label}"] > .q-field > .q-field__inner`).type(`${value}{enter}`); });