test: refs #8581 refactor InvoiceInDescriptor tests for better structure and readability
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Jorge Penadés 2025-02-25 10:11:33 +01:00
parent 5690fb1003
commit 8c2cc42de2
1 changed files with 14 additions and 12 deletions

View File

@ -3,6 +3,7 @@ describe('InvoiceInDescriptor', () => {
const firstDescritorOpt = '.q-menu > .q-list > :nth-child(5) > .q-item__section'; const firstDescritorOpt = '.q-menu > .q-list > :nth-child(5) > .q-item__section';
const checkbox = ':nth-child(5) > .q-checkbox'; const checkbox = ':nth-child(5) > .q-checkbox';
describe('more options', () => {
it('should booking and unbooking the invoice properly', () => { it('should booking and unbooking the invoice properly', () => {
cy.viewport(1280, 720); cy.viewport(1280, 720);
cy.login('developer'); cy.login('developer');
@ -18,4 +19,5 @@ describe('InvoiceInDescriptor', () => {
cy.dataCy('VnConfirm_confirm').click(); cy.dataCy('VnConfirm_confirm').click();
cy.get(checkbox).invoke('attr', 'aria-checked').should('eq', 'false'); cy.get(checkbox).invoke('attr', 'aria-checked').should('eq', 'false');
}); });
});
}); });