refactor: refs #8418 update selector to use cy.dataCy instead cy.get
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jose Antonio Tubau 2025-01-31 09:36:37 +01:00
parent 74a6b20590
commit 645f3f3cb9
1 changed files with 1 additions and 1 deletions

View File

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