Skip to content

Testing scenarios for multimedia downloads using iiab/calibre-web [TDD, Gherkin Stories] #97

Description

@deldesir

This is a placeholder for testing scenarios pertaining to the media download feature:

  1. Valid Download with Progress Observation:

    • Provide a valid media URL.
    • Observe the progress during the download of each video when a playlist URL is submitted.
    • Ensure the download completes successfully.
    • Verify that the progress reaches 100% and the success message is displayed.
  2. Invalid URL:

    • Provide an invalid media URL (e.g., a URL that doesn't exist or is unreachable or a known YouTube or Vimeo one that will fail).
    • Confirm that the error handling correctly detects the failure.
    • Check that the progress is set to 0, and an appropriate error message is displayed in Tasks.
  3. No Requested Files in the Database:

    • Ensure the SQLite database contains no requested files by providing a YouTube live video URL.
    • Run the download task and verify that it logs "No requested files found in the database."
    • Check that the progress is set to 0 and an error is displayed in Tasks.
  4. Shelf Title Retrieval:

    • Intentionally provide a short playlist URL.
    • Confirm that the bookshelf is named after the playlist title, and appropriate messages are displayed in Tasks.
    • Check that the progress is set accordingly (100% if successful).
  5. Download Cancellation:

    • Provide a valid media URL.
    • During the download process, attempt to cancel the task.
    • Confirm that the cancellation is handled correctly, and the progress is set to 0.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions