From 645f3f3cb94a90754e942aad3694e2087b5ef8bb Mon Sep 17 00:00:00 2001 From: jtubau Date: Fri, 31 Jan 2025 09:36:37 +0100 Subject: [PATCH] refactor: refs #8418 update selector to use cy.dataCy instead cy.get --- test/cypress/integration/entry/myEntry.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cypress/integration/entry/myEntry.spec.js b/test/cypress/integration/entry/myEntry.spec.js index 52d95d5b0..7bf4a9638 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'); }); });