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 75005ae commit e87bf40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions e2e/tests/upload/upload.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ test.describe('Upload Form', () => {
console.log("Resolved file path:", filePath);
console.log("File exists:", fs.existsSync(filePath));

page.on('console', (msg) => console.log(msg.text()));
page.on('pageerror', (err) => console.log('Page error:', err));


if (!fs.existsSync(filePath)) {
throw new Error(`Test file not found at ${filePath}`);
}
Expand Down

0 comments on commit e87bf40

Please sign in to comment.