0
0
Fork 0

fix: update selector for buyLabel button in myEntry.spec.js

This commit is contained in:
Jose Antonio Tubau 2025-02-04 15:03:36 +01:00
parent 06ceaf3820
commit 01344d693e
1 changed files with 1 additions and 1 deletions

View File

@ -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');