F1e: the baseline exports from the page
This commit is contained in:
+7
-3
@@ -379,9 +379,13 @@ test('tea gobernanza: every section in sync mode, and the preview saved as PDF',
|
||||
const bundles = page.locator('app-governance-bundles');
|
||||
await bundles.getByRole('combobox', { name: 'Versiones' }).click();
|
||||
await page.getByRole('option', { name: 'Todas' }).click();
|
||||
await bundles.getByRole('button', { name: 'Exportar bundle' }).click();
|
||||
await expect(bundles.getByRole('alert')).toContainText('holds a study code, date or path');
|
||||
expect(problems.filter((p) => !/409|422/.test(p))).toEqual([]);
|
||||
const [bundle] = await Promise.all([
|
||||
page.waitForEvent('download'),
|
||||
bundles.getByRole('button', { name: 'Exportar bundle' }).click(),
|
||||
]);
|
||||
expect(bundle.suggestedFilename()).toMatch(/^tea-models-[0-9a-f]{12}\.zip$/);
|
||||
await expect(bundles.locator('code')).toHaveText(/^[0-9a-f]{64}$/);
|
||||
expect(problems).toEqual([]);
|
||||
});
|
||||
|
||||
test('conectar: the tea pipeline on the canvas, and a node form', async ({ page }) => {
|
||||
|
||||
Reference in New Issue
Block a user