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
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
723dbb0af4
commit
502ee6dc7c
|
@ -54,7 +54,7 @@ describe('InvoiceInList', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('right-panel', () => {
|
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.dataCy('From_inputDate').type('31/12/2000{enter}');
|
||||||
cy.validateVnTableRows({
|
cy.validateVnTableRows({
|
||||||
cols: [
|
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',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue