From 01344d693e2eea233cf4cce6fbcc825ecbbf905e Mon Sep 17 00:00:00 2001 From: jtubau Date: Tue, 4 Feb 2025 15:03:36 +0100 Subject: [PATCH] fix: update selector for buyLabel button in myEntry.spec.js --- 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 492e1b491..49d75cf39 100644 --- a/test/cypress/integration/entry/myEntry.spec.js +++ b/test/cypress/integration/entry/myEntry.spec.js @@ -11,7 +11,7 @@ describe('EntryMy when is supplier', () => { it('should open buyLabel when is supplier', () => { cy.get( - '[to="/null/3"] > .q-card > .column > .q-btn > .q-btn__content > .q-icon' + '[to="/null/3"] > .q-card > :nth-child(2) > .q-btn > .q-btn__content > .q-icon' ).click(); cy.dataCy('printLabelsBtn').click(); cy.window().its('open').should('be.called');