@@ -105,7 +105,31 @@ test('long review report preserves all proposals, original amounts and finance v
|
||||
qualification: null,
|
||||
opening: null,
|
||||
award: null,
|
||||
order: null,
|
||||
order: {
|
||||
id: 1,
|
||||
number: 'OC-PARCELA-1',
|
||||
currency: 'MZN',
|
||||
total_minor: 4000,
|
||||
},
|
||||
orders: [
|
||||
{
|
||||
id: 1,
|
||||
number: 'OC-PARCELA-1',
|
||||
currency: 'MZN',
|
||||
total_minor: 4000,
|
||||
origins: [{ id: 42, number: 'REQ-SINTETICA-42' }],
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
number: 'OC-PARCELA-2',
|
||||
currency: 'MZN',
|
||||
total_minor: 6000,
|
||||
origins: [
|
||||
{ id: 42, number: 'REQ-SINTETICA-42' },
|
||||
{ id: 43, number: 'REQ-SINTETICA-43' },
|
||||
],
|
||||
},
|
||||
],
|
||||
fulfilment: {
|
||||
receipts: [],
|
||||
finance_visible: false,
|
||||
@@ -116,6 +140,10 @@ test('long review report preserves all proposals, original amounts and finance v
|
||||
const html = render(ReviewReport, { report }, 'review');
|
||||
for (const row of rows) expect(html).toContain(row.reference);
|
||||
expect(html).toContain('report-fulfilment');
|
||||
expect(html).toContain('OC-PARCELA-1');
|
||||
expect(html).toContain('OC-PARCELA-2');
|
||||
expect(html).toContain('REQ-SINTETICA-43');
|
||||
expect(html).toContain('sem repartição neste relatório');
|
||||
expect(html).not.toContain('QA-FACTURA-PRIVADA');
|
||||
});
|
||||
test('improvement report preserves details on every visible row without changing their disclosure state', () => {
|
||||
|
||||
Reference in New Issue
Block a user