fix: refs #8418 adjusted route for button click #1305
|
@ -134,7 +134,7 @@ function downloadCSV(rows) {
|
|||
@click="
|
||||
openReport(`Entries/${entityId}/labelSupplier`)
|
||||
"
|
||||
data-cy="entryBuysTableDialog_printLabelsBtn"
|
||||
data-cy="printLabelsBtn"
|
||||
jsegarra marked this conversation as resolved
Outdated
|
||||
/>
|
||||
</template>
|
||||
<template #body="props">
|
||||
|
|
|
@ -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();
|
||||
jsegarra marked this conversation as resolved
Outdated
jsegarra
commented
Este es el botón de imprimir ? Este es el botón de imprimir ?
jsegarra
commented
Evitamos hacer esto si existe la posibilidad de usar dataCy Evitamos hacer esto si existe la posibilidad de usar dataCy
jtubau
commented
Cierto, me lo comentaste, ahora lo cambio Cierto, me lo comentaste, ahora lo cambio
jsegarra
commented
bien bien
pero escribir cada vez cy.get(data-cy) es redundante, y si cambiamos un dia data-cy por data-loquesea?
|
||||
cy.window().its('open').should('be.called');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
printLabelsBtn o printLabels_button