fix: refs #8418 adjusted route for button click #1305

Merged
jtubau merged 9 commits from 8418-fixTestMyEntry into dev 2025-02-04 06:01:45 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit de19f2b54c - Show all commits

View File

@ -134,7 +134,7 @@ function downloadCSV(rows) {
@click="
openReport(`Entries/${entityId}/labelSupplier`)
"
data-cy="entryBuysTableDialog_printLabelsBtn"
data-cy="printLabelsBtn"
/>
</template>
<template #body="props">

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.dataCy('entryBuysTableDialog_printLabelsBtn').click();
cy.dataCy('printLabelsBtn').click();
cy.window().its('open').should('be.called');
});
});