test: refs #8581 update invoiceInList and invoiceInSummary specs for improved filtering and navigation
This commit is contained in:
parent
f22caaa678
commit
c5f4f8d5c7
|
@ -103,6 +103,7 @@ describe('InvoiceInList', () => {
|
|||
cols: [{ name: 'supplierFk', val: 'Farmer King' }],
|
||||
});
|
||||
});
|
||||
|
||||
it('should filter by supplierRef param', () => {
|
||||
cy.dataCy('Supplier ref_input').type('1234{enter}');
|
||||
cy.intercept('GET', /\/api\/InvoiceIns\/\d+\/getTotals$/).as('invoice');
|
||||
|
@ -115,7 +116,7 @@ describe('InvoiceInList', () => {
|
|||
cy.validateVnTableRows({ cols: [{ name: 'supplierFk', val: 'plants sl' }] });
|
||||
});
|
||||
|
||||
it('should filter by FI param', () => {
|
||||
it('should filter by Serial param', () => {
|
||||
cy.dataCy('Serial_input').type('R');
|
||||
cy.validateVnTableRows({ cols: [{ name: 'serial', val: 'r' }] });
|
||||
});
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
describe('InvoiceInSummary', () => {
|
||||
beforeEach(() => {
|
||||
cy.login('administrative');
|
||||
cy.visit('/#/invoice-in/4/summary');
|
||||
cy.visit('/#/invoice-in/3/summary');
|
||||
});
|
||||
|
||||
it('should booking and unbooking the invoice properly', () => {
|
||||
|
|
Loading…
Reference in New Issue