-
Notifications
You must be signed in to change notification settings - Fork 18
E2E tests: upload a torrent #180
Copy link
Copy link
Closed
Description
Parent issue: #148
E2E test for uploading a torrent.
The scaffolding for this test may be tricky.
See the backend version for the same test: https://github.com/torrust/torrust-index-backend/blob/develop/tests/e2e/web/api/v1/contexts/torrent/contract.rs#L306-L333
On the backend, we set up torrent fixtures. Each test creates its torrent from scratch using a command line app called imdl. Maybe for JavaScript, we can find a package instead of building a wrapper for the console command.
That gives you the ability to build any torrent file you might need for your tests.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status