fix: refs #8418 adjusted route for button click #1305
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix-front#1305
Loading…
Reference in New Issue
No description provided.
Delete Branch "8418-fixTestMyEntry"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -14,3 +14,3 @@
'[to="/null/3"] > .q-card > .column > .q-btn > .q-btn__content > .q-icon'
).click();
cy.get('.q-card__actions > .q-btn').click();
cy.get('.q-card__section > .q-infinite-scroll > .q-table__container > .q-table__top > :nth-child(3) > .q-btn > .q-btn__content > .q-icon').click();
Este es el botón de imprimir ?
Evitamos hacer esto si existe la posibilidad de usar dataCy
Cierto, me lo comentaste, ahora lo cambio
bien
pero escribir cada vez cy.get(data-cy) es redundante, y si cambiamos un dia data-cy por data-loquesea?
revisar el archivo de comandos a ver si hay alguno que sirva para reemplazar cy.get
@ -134,6 +134,7 @@ function downloadCSV(rows) {
@click="
openReport(`Entries/${entityId}/labelSupplier`)
"
data-cy="entryBuysTableDialog_printLabelsBtn"
printLabelsBtn o printLabels_button