fix: refs #7449 e2e tests fix
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
6b509ac669
commit
06f6095d75
|
@ -15,9 +15,11 @@ describe('ClaimLines', () => {
|
|||
cy.get('.q-notification__message').should('have.text', 'Lines added to claim');
|
||||
})
|
||||
|
||||
it.only('should autofill claimed quantity if 0 or null', () => {
|
||||
it('should autofill claimed quantity if 0 or null', () => {
|
||||
cy.get('thead > tr > .q-table--col-auto-width > .q-checkbox > .q-checkbox__inner > .q-checkbox__bg').click();
|
||||
cy.get('.q-btn--unelevated').click();
|
||||
cy.get('tbody > :nth-child(1) > .text-primary').should('have.text', 5);
|
||||
cy.checkNotification('Cantidades rellenadas automáticamente');
|
||||
cy.get('.q-btn--unelevated').click();
|
||||
cy.checkNotification('No hay cantidades para rellenar');
|
||||
})
|
||||
});
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
describe('ClaimNotes', () => {
|
||||
const saveBtn = '.q-field__append > .q-btn > .q-btn__content > .q-icon';
|
||||
const firstNote = '.q-infinite-scroll :nth-child(1) > .q-card__section--vert';
|
||||
beforeEach(() => {
|
||||
cy.login('developer');
|
||||
|
@ -11,9 +10,9 @@ describe('ClaimNotes', () => {
|
|||
cy.get('.q-textarea')
|
||||
.should('be.visible')
|
||||
.should('not.be.disabled')
|
||||
.type(message);
|
||||
.type(message, "{{enter}}");
|
||||
|
||||
cy.get(saveBtn).click();
|
||||
cy.dataCy("save-continue-note-button").click();
|
||||
cy.get(firstNote).should('have.text', message);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue