Page cases follow the dotted timeline and the single-study evaluation hosted in Estudios EEG
This commit is contained in:
+1
-2
@@ -171,7 +171,6 @@ test('tea complete child: every screen has data', async ({ page }) => {
|
|||||||
await followUp.getByRole('link').click();
|
await followUp.getByRole('link').click();
|
||||||
await expect(page.getByText(recordNumber)).toBeVisible();
|
await expect(page.getByText(recordNumber)).toBeVisible();
|
||||||
const gantt = section('Línea del tiempo');
|
const gantt = section('Línea del tiempo');
|
||||||
await expect(gantt.locator('app-plot .barlayer .point').first()).toBeAttached();
|
|
||||||
const diamonds = gantt.locator('app-plot .scatterlayer path.point');
|
const diamonds = gantt.locator('app-plot .scatterlayer path.point');
|
||||||
await expect(diamonds).toHaveCount(4);
|
await expect(diamonds).toHaveCount(4);
|
||||||
for (const diamond of await diamonds.all()) {
|
for (const diamond of await diamonds.all()) {
|
||||||
@@ -337,7 +336,7 @@ test('tea gobernanza: every section in sync mode, and the preview saved as PDF',
|
|||||||
await expect(page.getByText('No hay candidatas que se puedan promover.')).toBeVisible();
|
await expect(page.getByText('No hay candidatas que se puedan promover.')).toBeVisible();
|
||||||
|
|
||||||
const studies = page.locator('app-eeg-studies');
|
const studies = page.locator('app-eeg-studies');
|
||||||
await expect(studies.locator('input[type=file]')).toHaveCount(0);
|
await expect(studies.locator('input[type=file]:not(app-eeg-preview *)')).toHaveCount(0);
|
||||||
await expect(studies.locator('table.eegs tbody tr').first()).toContainText(/Válido|No válido/);
|
await expect(studies.locator('table.eegs tbody tr').first()).toContainText(/Válido|No válido/);
|
||||||
await studies.locator('table.eegs tbody button:enabled').first().click();
|
await studies.locator('table.eegs tbody button:enabled').first().click();
|
||||||
await expect(studies.getByRole('heading', { name: /^EEG .* meses$/ })).toBeVisible();
|
await expect(studies.getByRole('heading', { name: /^EEG .* meses$/ })).toBeVisible();
|
||||||
|
|||||||
Reference in New Issue
Block a user