diff --git a/test/cypress/integration/entry/myEntry.spec.js b/test/cypress/integration/entry/myEntry.spec.js index 52d95d5b0d..7bf4a96381 100644 --- a/test/cypress/integration/entry/myEntry.spec.js +++ b/test/cypress/integration/entry/myEntry.spec.js @@ -13,7 +13,7 @@ describe('EntryMy when is supplier', () => { cy.get( '[to="/null/3"] > .q-card > .column > .q-btn > .q-btn__content > .q-icon' ).click(); - cy.get('[data-cy="entryBuysTableDialog_printLabelsBtn"]').click(); + cy.dataCy('entryBuysTableDialog_printLabelsBtn').click(); cy.window().its('open').should('be.called'); }); });