Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual Tests Issuing and Returning Books #30

Open
Volneirj opened this issue Aug 9, 2024 · 0 comments
Open

Manual Tests Issuing and Returning Books #30

Volneirj opened this issue Aug 9, 2024 · 0 comments
Assignees
Labels
Must Have Must have in feature Test It is a test

Comments

@Volneirj
Copy link
Owner

Volneirj commented Aug 9, 2024

As a logged-in user I want be able to issue and return books through the library system, so that I can manage my borrowed books efficiently

Acceptance Criteria

  • AC 1: Book Issuance and Return Workflow
    • Test that the book issuance and return processes work as expected:**
      • When issuing a book:*

        • The book can be successfully issued if it’s available, the user has not reached the limit, and the form data is valid.
        • An error message is shown if the book has no available copies, has already been issued, or if the user has reached their limit.
      • When returning a book:*

        • The book can be successfully returned if the return confirmation is submitted, updating the book’s status and available copies.

        • The return process is canceled if the cancel button is pressed.*
          An error is raised if an attempt is made to return a book that is not currently issued or has already been returned.

AC 2: Issued Books List Functionality

  • Test that the issued books list displays correctly:*
    • The list is paginated with the appropriate number of items per page.
    • The issued books are ordered by issue date in descending order.

AC 3: Page Rendering and Context

  • Test that all relevant pages render correctly with appropriate context:*

    • The home page and issued books list use the correct templates and context.
    • The home page displays the top three most issued books.

Image

@Volneirj Volneirj changed the title Tests Issuing and Returning Books Manual Tests Issuing and Returning Books Aug 9, 2024
@Volneirj Volneirj added Must Have Must have in feature Test It is a test and removed Must Have Must have in feature labels Aug 12, 2024
@Volneirj Volneirj self-assigned this Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Must Have Must have in feature Test It is a test
Projects
Development

No branches or pull requests

1 participant