Skip to content

Commit

Permalink
Update upload.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
gr812b committed Nov 8, 2024
1 parent 719e1f6 commit 39fb477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/tests/upload/upload.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test.describe('Upload Form', () => {

// Clicks on the file input label and uploads the file
await page.getByText('Drag and drop your file here').click();
await page.setInputFiles('#label-file-upload', filePath);
await page.locator('body').setInputFiles(filePath);

// Clicks the submit button
await page.getByRole('button', { name: 'Submit' }).click();
Expand Down

0 comments on commit 39fb477

Please sign in to comment.