From 38bd00e82a31ed80a6cf155657386e6290e37edc Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 14 Apr 2025 11:24:45 +0200 Subject: [PATCH] test: refs #8647 fix skipped tests --- test/cypress/integration/entry/commands.js | 2 +- test/cypress/integration/invoiceOut/invoiceOutList.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cypress/integration/entry/commands.js b/test/cypress/integration/entry/commands.js index 4d4a8f980..87e3c3bfa 100644 --- a/test/cypress/integration/entry/commands.js +++ b/test/cypress/integration/entry/commands.js @@ -7,7 +7,7 @@ Cypress.Commands.add('selectTravel', (warehouse = '1') => { }); Cypress.Commands.add('deleteEntry', () => { - cy.get('[data-cy="descriptor-more-opts"]').should('be.visible').click(); + cy.dataCy('descriptor-more-opts').should('be.visible').click(); cy.waitForElement('div[data-cy="delete-entry"]').click(); }); diff --git a/test/cypress/integration/invoiceOut/invoiceOutList.spec.js b/test/cypress/integration/invoiceOut/invoiceOutList.spec.js index ba6f3e122..50ea01764 100644 --- a/test/cypress/integration/invoiceOut/invoiceOutList.spec.js +++ b/test/cypress/integration/invoiceOut/invoiceOutList.spec.js @@ -31,7 +31,7 @@ describe('InvoiceOut list', () => { it.skip('should open the invoice descriptor from table icon', () => { cy.get(firstSummaryIcon).click(); cy.get('.cardSummary').should('be.visible'); - cy.get('.summaryHeader > div').should('include.text', 'A1111111'); + cy.get('.summaryHeader > div').should('include.text', 'V10100001'); }); it('should open the client descriptor', () => {