From 1d79d9ded2e70aabd514c2278008c29cf2231d66 Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Sun, 29 Aug 2021 11:31:10 +0200 Subject: [PATCH] Bugfix from tests (displaying of book languages in user list) --- cps/templates/user_table.html | 6 +- test/Calibre-Web TestSummary_Linux.html | 1474 ++++++++--------------- 2 files changed, 495 insertions(+), 985 deletions(-) diff --git a/cps/templates/user_table.html b/cps/templates/user_table.html index 5c4f021e..dec79eb0 100644 --- a/cps/templates/user_table.html +++ b/cps/templates/user_table.html @@ -69,11 +69,11 @@
diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index 5175c380..b1ca885e 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
-

Start Time: 2021-08-27 20:45:00

+

Start Time: 2021-08-28 21:08:29

-

Stop Time: 2021-08-28 00:16:11

+

Stop Time: 2021-08-29 10:59:50

-

Duration: 2h 48 min

+

Duration: 13h 7 min

@@ -402,15 +402,15 @@ - + TestEbookConvertCalibre - 11 - 2 - 2 - 7 + 13 + 13 + 0 + 0 0 - Detail + Detail @@ -425,210 +425,79 @@ - +
TestEbookConvertCalibre - test_convert_email
- -
- ERROR -
- - - - + PASS - +
TestEbookConvertCalibre - test_convert_failed_and_email
- -
- ERROR -
- - - - + PASS - +
TestEbookConvertCalibre - test_convert_only
- -
- ERROR -
- - - - + PASS - +
TestEbookConvertCalibre - test_convert_parameter
- -
- FAIL -
- - - - + PASS - +
TestEbookConvertCalibre - test_convert_wrong_excecutable
- -
- FAIL -
- - - + PASS + + + + + + +
TestEbookConvertCalibre - test_convert_xss
+ PASS - +
TestEbookConvertCalibre - test_email_failed
- -
- ERROR -
- - - - + PASS - +
TestEbookConvertCalibre - test_email_only
- -
- ERROR -
- - - - + PASS - +
TestEbookConvertCalibre - test_kindle_send_not_configured
@@ -637,71 +506,40 @@ IndexError: list index out of range - +
TestEbookConvertCalibre - test_ssl_smtp_setup_error
- -
- ERROR -
- - - - + PASS - +
TestEbookConvertCalibre - test_starttls_smtp_setup_error
- -
- ERROR -
- - - + PASS + + + + + + +
TestEbookConvertCalibre - test_user_convert_xss
+ PASS - + TestEbookConvertCalibreGDrive 6 - 0 - 1 5 + 1 + 0 0 Detail @@ -710,26 +548,26 @@ IndexError: list index out of range - +
TestEbookConvertCalibreGDrive - test_convert_email
- ERROR + FAIL
-
Traceback (most recent call last):
-  File "/home/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 687, in test_xss_custom_comment_edit
-    self.edit_book(1, custom_content={'Custom Comment 人物': ''})
-  File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1634, in edit_book
-    submit.click()
+  File "/home/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 689, in test_xss_custom_comment_edit
+    self.check_element_on_page((By.ID, "edit_book")).click()
 AttributeError: 'bool' object has no attribute 'click'
@@ -1250,11 +946,11 @@ AttributeError: 'bool' object has no attribute 'click' - + TestEditBooks 35 - 33 - 1 + 34 + 0 0 1 @@ -1291,32 +987,11 @@ AttributeError: 'bool' object has no attribute 'click' - +
TestEditBooks - test_edit_comments
- -
- FAIL -
- - - - + PASS @@ -1726,8 +1401,8 @@ AssertionError: '' != 'bogomirä 人物' TestEditBooksOnGdrive 20 - 19 - 1 + 18 + 2 0 0 @@ -1746,11 +1421,35 @@ AssertionError: '' != 'bogomirä 人物' - +
TestEditBooksOnGdrive - test_edit_author
- PASS + +
+ FAIL +
+ + + + @@ -1764,32 +1463,11 @@ AssertionError: '' != 'bogomirä 人物' - +
TestEditBooksOnGdrive - test_edit_comments
- -
- FAIL -
- - - - + PASS @@ -1893,11 +1571,33 @@ AssertionError: '' != 'bogomirä 人物' - +
TestEditBooksOnGdrive - test_edit_title
- PASS + +
+ FAIL +
+ + + + @@ -1939,12 +1639,12 @@ AssertionError: '' != 'bogomirä 人物' - + TestSTARTTLS 3 - 1 + 3 + 0 0 - 2 0 Detail @@ -1953,60 +1653,20 @@ AssertionError: '' != 'bogomirä 人物' - +
TestSTARTTLS - test_STARTTLS
- -
- ERROR -
- - - - + PASS - +
TestSTARTTLS - test_STARTTLS_SSL_setup_error
- -
- ERROR -
- - - - + PASS @@ -2021,12 +1681,12 @@ IndexError: list index out of range - + TestSSL 6 - 1 + 6 + 0 0 - 5 0 Detail @@ -2035,60 +1695,20 @@ IndexError: list index out of range - +
TestSSL - test_SSL_None_setup_error
- -
- ERROR -
- - - - + PASS - +
TestSSL - test_SSL_STARTTLS_setup_error
- -
- ERROR -
- - - - + PASS @@ -2102,159 +1722,29 @@ IndexError: list index out of range - +
TestSSL - test_SSL_non_admin_user
- -
- ERROR -
- - - - + PASS - +
TestSSL - test_SSL_only
- -
- ERROR -
- - - - + PASS - +
TestSSL - test_email_limit
- -
- ERROR -
- - - - - - - - - - - _ErrorHolder - 1 - 0 - 0 - 1 - 0 - - Detail - - - - - - - -
tearDownClass (test_email_ssl)
- - -
- ERROR -
- - - - + PASS @@ -2268,13 +1758,13 @@ selenium.common.exceptions.NoSuchElementException: Message: Unable to locate ele 0 0 - Detail + Detail - +
TestBookDatabase - test_invalid_book_path
@@ -2292,13 +1782,13 @@ selenium.common.exceptions.NoSuchElementException: Message: Unable to locate ele 0 0 - Detail + Detail - +
TestErrorReadColumn - test_invalid_custom_column
@@ -2316,25 +1806,25 @@ selenium.common.exceptions.NoSuchElementException: Message: Unable to locate ele 0 2 - Detail + Detail - +
TestFilePicker - test_filepicker_all_file
- SKIP + SKIP
-