[FOLIO-555] write additional test-cases Created: 11/Apr/17  Updated: 18/Jan/19

Status: Open
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Task Priority: P3
Reporter: Jakub Skoczen Assignee: charles
Resolution: Unresolved Votes: 0
Labels: sprint12, sprint13, sprint14
Remaining Estimate: Not Specified
Time Spent: 2 weeks, 3 days, 2 hours, 30 minutes
Original estimate: Not Specified

Issue links:
Relates
relates to FOLIO-385 Integration tests for CI Closed
Sprint:
Development Team: Core: Platform

 Description   

As discussed during the meeting between, Cate, Jakub and Wolfram

NOTE: Cate or Wolfram can you put the list of test case we wanted created/extended in the description of this issue?

  • Log in, create new user, log out and log in with that new user
  • Edit a user, save and assert that edited values has been updated
  • Create a user, save and assert that item was created
  • Edit item, save and assert that edited values have been updated
  • Check item out (in Scan > Checkout lookup user, lookup item):
    • Loan should automatically be created on Scan > Checkout page
    • Loan should be added to the Current Loans section of the user's profile
    • Loan should be added to the View Full History page for the Current Loans section on the user's profile
    • Item status displaying in the item record should change to checked out
  • Check item in (in Scan > Check in, lookup item)
    • Check in transaction should display immediately on Scan > Checkin page
    • Loan should be removed from the Current loans section of the user's profile
    • Loan should still be visible on View Full History
    • On View Full History, Return Date should now be populated with the date of check in
      Other items we discussed:
  • Create Patron group, assign to user, try to delete patron group (in settings) - This should not be disallowed
  • Create Material type, assign to user, try to delete material type (in settings) - This should not be disallowed

We also discussed that we'd let Wolfram know when we have stories that have been implemented according to spec so Wolfram could create tests using the acceptance criteria. I will look for some stories that meet that criteria and pass them along. Actually, we wanted to add a Test phase to the LIBAPP JIRA workflow so I could just assign them to test. That's also on my list. Wolfram, can you please just note in the above list when the various tests have been implemented? Thanks!



 Comments   
Comment by Jakub Skoczen [ 12/Apr/17 ]

Wolfram, have you already extended the test cases we discussed during the meeting with Cate?

Also, where can we see the results of those test cases run by Jenkins?

Comment by Jakub Skoczen [ 23/May/17 ]

Charles will be helping with creation of more test cases.

Comment by charles [ 05/Jun/17 ]

The following is finished...

  • Check item out (in Scan > Checkout lookup user, lookup item):
    • Loan should automatically be created on Scan > Checkout page
    • Loan should be added to the Current Loans section of the user's profile
    • Loan should be added to the View Full History page for the Current Loans section on the user's profile
    • Item status displaying in the item record should change to checked out

The script adds a new patron each time it is run, the pre-loaded patrons change with every blackbox upgrade.

Comment by charles [ 21/Jun/17 ]

OK-- I think three of the major tests should now work pass on the jenkins run.

The tests should cover the the following points:

  • Log in, create new user, log out and log in with that new user
  • Edit a user, save and assert that edited values has been updated
  • Create a user, save and assert that item was created
  • Edit item, save and assert that edited values have been updated
  • Check item out (in Scan > Checkout lookup user, lookup item):
    • Loan should automatically be created on Scan > Checkout page
    • Loan should be added to the Current Loans section of the user's profile
    • Loan should be added to the View Full History page for the Current Loans section on the user's profile
    • Item status displaying in the item record should change to checked out
  • Check item in (in Scan > Check in, lookup item)
    • Check in transaction should display immediately on Scan > Checkin page
    • Loan should be removed from the Current loans section of the user's profile
    • Loan should still be visible on View Full History
    • On View Full History, Return Date should now be populated with the date of check in

TODO:

  • Create Patron group, assign to user, try to delete patron group (in settings) - This should not be disallowed
  • Create Material type, assign to user, try to delete material type (in settings) - This should not be disallowed
Comment by charles [ 20/Jul/17 ]

The following test is finished:

  • Create Patron group, assign to user, try to delete patron group (in settings) - This should not be disallowed
Generated at Thu Feb 08 23:06:39 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.