mirror of
https://github.com/documenso/documenso.git
synced 2026-06-22 04:12:06 +10:00
fix: broken merge in team-account-folders E2E test
The merge of main into feat/document-file-conversion silently produced a bad hybrid for 'can create a template inside a template folder': main (#2303) replaced the click+setInputFiles flow with fileChooser.setFiles, while this branch only touched .nth(0) within that same block. Git kept both, leaving an obsolete click on 'Upload Template Document'. Apply main's final form.
This commit is contained in:
@@ -405,12 +405,9 @@ test('[TEAMS]: can create a template inside a template folder', async ({ page })
|
||||
page.getByRole('button', { name: 'Template (Legacy)' }).click(),
|
||||
]);
|
||||
|
||||
await page.getByText('Upload Template Document').click();
|
||||
|
||||
await page
|
||||
.locator('input[type="file"]')
|
||||
.first()
|
||||
.setInputFiles(path.join(__dirname, '../../../assets/documenso-supporter-pledge.pdf'));
|
||||
await fileChooser.setFiles(
|
||||
path.join(__dirname, '../../../assets/documenso-supporter-pledge.pdf'),
|
||||
);
|
||||
|
||||
await page.waitForTimeout(3000);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user