subdocument-splitting-plan
This commit is contained in:
1 parent
f09384d2e6
commit
ca06ca2050
47 files changed
+4097
-136
No files matched your search
@@ -22,3 +22,17 @@ test('start page exposes only working tools and forwards a dropped ZIP to beA',
|
||||
await expect(page.getByText('1 lose Datei')).toBeVisible({ timeout: 15_000 });
|
||||
expect(pageErrors).toEqual([]);
|
||||
});
|
||||
|
||||
test('start page forwards a dropped PDF to beA', async ({ page }) => {
|
||||
const pageErrors = trackPageErrors(page);
|
||||
const pdf = await createPdf(2, 'Antrag');
|
||||
|
||||
await page.goto('/');
|
||||
await dropFiles(page, 'window', [
|
||||
{ name: 'antrag.pdf', mimeType: 'application/pdf', buffer: pdf }
|
||||
]);
|
||||
|
||||
await expect(page).toHaveURL(/\/tools\/bea$/);
|
||||
await expect(page.getByText('1 lose Datei')).toBeVisible({ timeout: 15_000 });
|
||||
expect(pageErrors).toEqual([]);
|
||||
});
|
||||
Reference in new issue
Block a user