Use the regular window for breast follow-up
This commit is contained in:
@@ -84,8 +84,6 @@ describe.each(['tea', 'cacu', 'cama'] as const)('P0 autoridad temporal compartid
|
||||
const ongoing = request(periods[0]);
|
||||
for (const section of ['seguimiento', 'datos', 'resumen', 'datos'] as const) {
|
||||
page.changeSection(section); fixture.detectChanges();
|
||||
// Seguimiento of breast cancer asks for the cohort's revision first; without the cohort published it reads the plain list.
|
||||
for (const req of http.match(r => r.url.endsWith('/analisis/indicadores'))) req.flush({}, { status: 404, statusText: 'Pending' });
|
||||
for (const req of http.match(r => r.url.endsWith('/seguimiento'))) req.flush({}, { status: 404, statusText: 'Pending' });
|
||||
expect(page.initialPeriodState()).toBe('loading');
|
||||
expect(ongoing.cancelled).toBe(false);
|
||||
@@ -106,8 +104,6 @@ describe.each(['tea', 'cacu', 'cama'] as const)('P0 autoridad temporal compartid
|
||||
editor().select([periods[2]]); fixture.detectChanges();
|
||||
for (let i = 0; i < 3; i++) for (const section of ['seguimiento', 'datos', 'resumen'] as const) {
|
||||
page.changeSection(section); fixture.detectChanges();
|
||||
// Seguimiento of breast cancer asks for the cohort's revision first; without the cohort published it reads the plain list.
|
||||
for (const req of http.match(r => r.url.endsWith('/analisis/indicadores'))) req.flush({}, { status: 404, statusText: 'Pending' });
|
||||
for (const req of http.match(r => r.url.endsWith('/seguimiento'))) req.flush({}, { status: 404, statusText: 'Pending' });
|
||||
expect(page.filters).toBe(state); expect(page.filters!.applied).toBe(applied);
|
||||
expect(editor().selectedPeriods).toEqual([periods[2]]);
|
||||
|
||||
Reference in New Issue
Block a user