test: refs #8581 skip 'From param' filter test and add 'To param' and 'daysAgo param' filter tests
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Jorge Penadés 2025-02-24 14:10:21 +01:00
parent 723dbb0af4
commit 502ee6dc7c
1 changed files with 29 additions and 1 deletions

View File

@ -54,7 +54,7 @@ describe('InvoiceInList', () => {
});
describe('right-panel', () => {
it('should filter by From param', () => {
it.skip('should filter by From param', () => {
cy.dataCy('From_inputDate').type('31/12/2000{enter}');
cy.validateVnTableRows({
cols: [
@ -67,5 +67,33 @@ describe('InvoiceInList', () => {
],
});
});
it.skip('should filter by To param', () => {
cy.dataCy('To_inputDate').type('31/12/2000{enter}');
cy.validateVnTableRows({
cols: [
{
name: 'issued',
type: 'date',
val: '31/12/2000',
operation: 'before',
},
],
});
});
it('should filter by daysAgo param', () => {
cy.dataCy('Days ago_input').type('4{enter}');
cy.validateVnTableRows({
cols: [
{
name: 'issued',
type: 'date',
val: '31/12/2000',
operation: 'after',
},
],
});
});
});
});