forked from eleybourn/Book-Catalogue
-
Notifications
You must be signed in to change notification settings - Fork 0
Testing
eleybourn edited this page May 22, 2011
·
30 revisions
Load emulator with existing data (at least one book)
Admin Pages
- Menu: Admin
- Verify Help is visible
- Tab: Administration
- Link: Manage Bookshelves
- Add 3x Bookshelf
- Click Bookshelf to Edit bookshelf name
- Long-click to Delete Bookshelf
- Menu: “Backup Database”
- Menu: “Field Visibility”
- Button: “Date Published”
- Edit a book note and include the text: ‘$5,“,”“,”’ (to try to confuse import parser)
- Export Books
- Delete any book (from long click)
- Menu: Admin
- Import Books
- Verify that the deleted book has been restored
- Manually Add book by with ISBN 9780575073333, Title ‘Demonstorm’ by ‘Fred Bloggs’. Set no other fields.
- Run ‘Authmatically Update Fields’ and verify that the other fields are filled in and the correct author, James Barclay, is added.
- Menu: Admin
- Tab: Donate
- Button: “Amazon Wishlist”
- Button: “Paypal Link”
- Tab: “About this App”
- Link: Webpage
- Link: “Source Code”
- Link: “Contact”
Create Book
- Menu: Add Book
- Add “Isaac Asimov” as a single author
- Fill in all other details (Isaac Asimov, I Robot)
- Assign to the two new bookshelves
- Button: “Add Book”
- Fill in all details (“Your Comments”) + Read
- Click on the “Edit Book” tab without saving
- Verify that the changes are retained
- Button: “Save Book”
- Verify Listing in Main List (inc Read tick)
- Link: Edit Book
- Verify AutoComplete Author, Series, Publisher
- Run ‘Authmatically Update Fields’ and verify it now has an ISBN and image
- Rotate Thumb Clockwise, Anti-Clockwise and 180
- Add Thumb by Camera, Add Thumb by Gallery
- Zoom Thumb
- Delete Thumb
- Change bookshelf
- Save Book (back to list)
- Menu: Admin
- Automatically Update Fields / Thumbnails. Leave everything selected.
- Key: Back
- Link: Edit Book
- Verify that the thumbnail has been added and series, ISBN (and probably others) set
- Add thumb by Edition
- Tab: Loan Book
- Loan Book
- Return book
- Loan Book again
- Key: Back
Book Listing
- Change Bookshelf to ‘All Books’
- Sort by title
- Change Bookshelf to some other shelf
- Sort by Series
- Change Bookshelf to ‘All Books’
- Sort by Genre
- Change Bookshelf to some other shelf
- Sort by Loaned
- Change Bookshelf to ‘All Books’
- Sort by Read
- Change Bookshelf to some other shelf
- Sort by Author
- Change Bookshelf to ‘All Books’
- Collapse All
- Expand All
- Search for Book
- Sort by title
- Change Bookshelf to some other shelf
- Sort by Series
- Change Bookshelf to ‘All Books’
- Sort by Loaned
- Change Bookshelf to some other shelf (NOTE: This does not currently take into account the current bookshelf)
- Sort by Read
- Change Bookshelf to ‘All Books’
- Sort by Author
- Change Bookshelf to some other shelf
ISBN Book
- Menu: Add Book by ISBN //unit test written
- Add 0586 057 242 //unit test written
- Set Anthology = true //unit test written
- Button: Add Book //unit test written
- Tab: Anthology //unit test written
- Add Title + Author //unit test written
- Menu: Automatically populate
- Verify list appears
- Button: Same author //unit test written
- Move up/down
- Edit Title #1
- Delete title
Name Book
- Menu: Add Book by Name
- Add Terry Pratchett, Nation
- Button: Add Book
- Button: Save Book
Series Editing
- Go to catalogue view, sort by Series, set bookshelf to ‘All Books’
- Long-click on ‘Legend of the Raven 4’ (series name)
- Edit Series
- Change to Foo
- Verify change
- Long-click on ‘Foo’
- Edit Series
- Change name to ‘Legends of the Raven’
- Confirm series are merged.
- Long-click on ‘Isaac Asminov’s Robot Series’
- Select ‘Delete Series’
- ‘Automatically Update Fields’
- Verify series are recreated
Author Editing
- Sort by Author
- Long-click on "Bloggs, Fred’
- Select “Edit Author”
- Change to ‘Nerk, Fred’
- Verify change
- Long-click on "Asimov, Isaac’
- Change to “Asimov, I.”
- Check that anthology titles and books are updated.
- Long-click on "Asimov, I.’
- Change to “Nerk, Fred”
- Check that anthology titles and books are updated.
- ‘Automatically Update Fields’
- Verify authors are recreated and old authors remain
Book editing
- Click on ‘Complete robot’
- Remove Nerk Fred as Author
- Remove ‘Isaac Asimov’s Robot Series’ as series.
- Save
- Verify not under author or series
- Click on ‘Complete robot’
- Edit Series
- Click on ‘Robot/Foundation’
- Change name to ‘Robot/Foundationzz’
- Change number to 2
- Click ‘Save’
- Select ‘All Books’
- Cancel editing this book
- Verify series HAS changed
- Edit book, edit series ‘Robot/Foundationzz’, change name to ‘Robot/Foundation’
- Save and select ‘This Book’, save all the way back to the catalogue
- Verify the two series exist
- Long-click on series ‘Robot/Foundationzz’
- Change name to ‘’Robot/Foundation’
- Verify book is now in correct series ‘Robot/Foundation’
Fresh Start
- Restart and wipe
- Do ISBN Book