Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix-front into 8118-createComponentVnDropdown
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
commit
0cfda5e8f7
|
@ -10,14 +10,16 @@ describe('InvoiceInSerial', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should filter by last days ', () => {
|
it('should filter by last days ', () => {
|
||||||
let before;
|
|
||||||
cy.dataCy('vnTableCell_total')
|
cy.dataCy('vnTableCell_total')
|
||||||
.invoke('text')
|
.invoke('text')
|
||||||
.then((total) => (before = +total));
|
.then((before) => {
|
||||||
|
cy.dataCy('Last days_input')
|
||||||
cy.dataCy('Last days_input').type('{selectall}1{enter}');
|
.type('{selectall}1{enter}')
|
||||||
cy.dataCy('vnTableCell_total')
|
.then(() => {
|
||||||
.invoke('text')
|
cy.dataCy('vnTableCell_total')
|
||||||
.then((total) => expect(+total).to.be.lessThan(before));
|
.invoke('text')
|
||||||
|
.then((after) => expect(+after).to.be.lessThan(+before));
|
||||||
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue