test(readarr): populate the book fixture with statistics
The shared Book fixture left statistics as None, so every author details snapshot rendered the missing-statistics N/A cells and the populated branch of the Files and Size columns was only exercised by one test. Give the fixture distinct, non-default counts and a size that formats to a value different from the dedicated statistics test.
This commit is contained in:
11 files changed
+18
-12
No files matched your search
+1
-1
@@ -22,7 +22,7 @@ expression: output
|
||||
││ Books │ History │ Author Search ││
|
||||
││─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────││
|
||||
││ Monitored Title Files Release Date Size ││
|
||||
││=> 🏷 Test Book N/A 2023-05-20 N/A ││
|
||||
││=> 🏷 Test Book 3/7 2023-05-20 2.30 GB ││
|
||||
││ ││
|
||||
││ ││
|
||||
││ ││
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ expression: output
|
||||
││ Books │ History │ Author Search │Do you want to trigger an automatic search of your indexers│ ││
|
||||
││─────────────────────────────────────────│ for all monitored book(s) for the author: Test Author? │───────────────────────────────────────────││
|
||||
││ Monitored Title │ │Date Size ││
|
||||
││=> 🏷 Test Book │ │20 N/A ││
|
||||
││=> 🏷 Test Book │ │20 2.30 GB ││
|
||||
││ │ │ ││
|
||||
││ │ │ ││
|
||||
││ │ │ ││
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ expression: output
|
||||
││ Books │ History │ Author Search ││
|
||||
││─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────││
|
||||
││ Monitored Title Files Release Date Size ││
|
||||
││=> 🏷 Test Book N/A 2023-05-20 N/A ││
|
||||
││=> 🏷 Test Book 3/7 2023-05-20 2.30 GB ││
|
||||
││ ││
|
||||
││ ││
|
||||
││ ││
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ expression: output
|
||||
││ Books │ History │ Author Search ││
|
||||
││─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────││
|
||||
││ Monitored Title Files Release Date Size ││
|
||||
││=> 🏷 Test Book N/A 2023-05-20 N/A ││
|
||||
││=> 🏷 Test Book 3/7 2023-05-20 2.30 GB ││
|
||||
││ ││
|
||||
││ ││
|
||||
││ ││
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ expression: output
|
||||
││ Books │ History │ Author Search │ Do you want to trigger an update and disk scan for the │ ││
|
||||
││─────────────────────────────────────────│ author: Test Author? │───────────────────────────────────────────││
|
||||
││ Monitored Title │ │Date Size ││
|
||||
││=> 🏷 Test Book │ │20 N/A ││
|
||||
││=> 🏷 Test Book │ │20 2.30 GB ││
|
||||
││ │ │ ││
|
||||
││ │ │ ││
|
||||
││ │ │ ││
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ expression: output
|
||||
││ Books │ History │ Author Search │Do you want to trigger an automatic search of your indexers│ ││
|
||||
││─────────────────────────────────────────│ for all monitored book(s) for the author: Test Author? │───────────────────────────────────────────││
|
||||
││ Monitored Title │ │Date Size ││
|
||||
││=> 🏷 Test Book │ │20 N/A ││
|
||||
││=> 🏷 Test Book │ │20 2.30 GB ││
|
||||
││ │ │ ││
|
||||
││ │ │ ││
|
||||
││ │ │ ││
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ expression: output
|
||||
││ Books │ History │ Author Search │ Do you really want to delete the book: │ ││
|
||||
││─────────────────────────────────────────│ Test Book? │───────────────────────────────────────────││
|
||||
││ Monitored Title │ │Date Size ││
|
||||
││=> 🏷 Test Book │ │20 N/A ││
|
||||
││=> 🏷 Test Book │ │20 2.30 GB ││
|
||||
││ │ ╭───╮ │ ││
|
||||
││ │ Delete Book Files: │ ✔ │ │ ││
|
||||
││ │ ╰───╯ │ ││
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ expression: output
|
||||
││ Books │ History │ Author Search │ Do you want to trigger an update and disk scan for the │ ││
|
||||
││─────────────────────────────────────────│ author: Test Author? │───────────────────────────────────────────││
|
||||
││ Monitored Title │ │Date Size ││
|
||||
││=> 🏷 Test Book │ │20 N/A ││
|
||||
││=> 🏷 Test Book │ │20 2.30 GB ││
|
||||
││ │ │ ││
|
||||
││ │ │ ││
|
||||
││ │ │ ││
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ expression: output
|
||||
││ Books │ History ││ ╰───╯ │ ││
|
||||
││──────────────────│ ╭─────────────────────────────────────────────────╮ │────────────────────││
|
||||
││ Monitored │ Monitor New Books: │All Books ▼ │ │ ││
|
||||
││=> 🏷 │ ╰─────────────────────────────────────────────────╯ │ ││
|
||||
││=> 🏷 │ ╰─────────────────────────────────────────────────╯ │B ││
|
||||
││ │ ╭─────────────────────────────────────────────────╮ │ ││
|
||||
││ │ Quality Profile: │eBook ▼ │ │ ││
|
||||
││ │ ╰─────────────────────────────────────────────────╯ │ ││
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ expression: output
|
||||
││ Books │ History │ Author Search ││
|
||||
││─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────││
|
||||
││ Monitored Title Files Release Date Size ││
|
||||
││=> 🏷 Test Book N/A 2023-05-20 N/A ││
|
||||
││=> 🏷 Test Book 3/7 2023-05-20 2.30 GB ││
|
||||
││ ││
|
||||
││ ││
|
||||
││ ││
|
||||
|
||||
Reference in new issue
Block a user