0
0
Fork 0

fix: refs #6891 fix invoiceInDueDay test

This commit is contained in:
Jorge Penadés 2024-05-13 17:20:50 +02:00
parent 5b3ee220d4
commit b062474f91
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
/// <reference types="cypress" />
describe('InvoiceInDueDay', () => {
const inputs = 'label input';
const amountInput = 'tbody > tr:nth-child(1) td:nth-child(4)';
const addBtn = '.q-page-sticky > div > .q-btn > .q-btn__content';
beforeEach(() => {
@ -9,7 +9,7 @@ describe('InvoiceInDueDay', () => {
});
it('should update the amount', () => {
cy.get(inputs).eq(3).type(23);
cy.get(amountInput).type('{selectall}{backspace}23');
cy.saveCard();
cy.get('.q-notification__message').should('have.text', 'Data saved');
});