Fix #2265 (add book to shelf on popup for book details)
Updated testresults
This commit is contained in:
parent
01090169a7
commit
de1bc3f9af
@ -40,7 +40,6 @@ from werkzeug.security import generate_password_hash
|
||||
from markupsafe import escape
|
||||
from urllib.parse import quote
|
||||
|
||||
|
||||
try:
|
||||
import unidecode
|
||||
use_unidecode = True
|
||||
|
@ -20,7 +20,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import sys
|
||||
import datetime
|
||||
from functools import wraps
|
||||
|
||||
@ -35,8 +34,6 @@ from .pagination import Pagination
|
||||
from .web import render_read_books
|
||||
from .usermanagement import load_user_from_request
|
||||
from flask_babel import gettext as _
|
||||
from babel import Locale as LC
|
||||
from babel.core import UnknownLocaleError
|
||||
|
||||
opds = Blueprint('opds', __name__)
|
||||
|
||||
|
@ -61,8 +61,11 @@ $("#archived_cb").on("change", function() {
|
||||
|
||||
$("#shelf-actions").on("click", "[data-shelf-action]", function (e) {
|
||||
e.preventDefault();
|
||||
|
||||
$.post(this.href)
|
||||
$.ajax({
|
||||
url: this.href,
|
||||
method:"post",
|
||||
data: {csrf_token:$("input[name='csrf_token']").val()},
|
||||
})
|
||||
.done(function() {
|
||||
var $this = $(this);
|
||||
switch ($this.data("shelf-action")) {
|
||||
|
@ -37,20 +37,20 @@
|
||||
<div class="row">
|
||||
<div class="col-xs-6 col-md-6 col-sm-offset-3" style="margin-top:50px;">
|
||||
|
||||
<p class='text-justify attribute'><strong>Start Time: </strong>2022-01-16 07:27:28</p>
|
||||
<p class='text-justify attribute'><strong>Start Time: </strong>2022-01-16 21:58:58</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 col-md-6 col-sm-offset-3">
|
||||
|
||||
<p class='text-justify attribute'><strong>Stop Time: </strong>2022-01-16 11:19:00</p>
|
||||
<p class='text-justify attribute'><strong>Stop Time: </strong>2022-01-17 01:49:28</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 col-md-6 col-sm-offset-3">
|
||||
<p class='text-justify attribute'><strong>Duration: </strong>3h 11 min</p>
|
||||
<p class='text-justify attribute'><strong>Duration: </strong>3h 10 min</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -411,11 +411,11 @@
|
||||
|
||||
|
||||
|
||||
<tr id="su" class="passClass">
|
||||
<tr id="su" class="failClass">
|
||||
<td>TestEbookConvertCalibre</td>
|
||||
<td class="text-center">15</td>
|
||||
<td class="text-center">15</td>
|
||||
<td class="text-center">0</td>
|
||||
<td class="text-center">14</td>
|
||||
<td class="text-center">1</td>
|
||||
<td class="text-center">0</td>
|
||||
<td class="text-center">0</td>
|
||||
<td class="text-center">
|
||||
@ -479,11 +479,33 @@
|
||||
|
||||
|
||||
|
||||
<tr id='pt6.7' class='hiddenRow bg-success'>
|
||||
<tr id="ft6.7" class="none bg-danger">
|
||||
<td>
|
||||
<div class='testcase'>TestEbookConvertCalibre - test_convert_parameter</div>
|
||||
</td>
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
<td colspan='6'>
|
||||
<div class="text-center">
|
||||
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_ft6.7')">FAIL</a>
|
||||
</div>
|
||||
<!--css div popup start-->
|
||||
<div id="div_ft6.7" class="popup_window test_output" style="display:block;">
|
||||
<div class='close_button pull-right'>
|
||||
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||
onclick="document.getElementById('div_ft6.7').style.display='none'"><span
|
||||
aria-hidden="true">×</span></button>
|
||||
</div>
|
||||
<div class="text-left pull-left">
|
||||
<pre class="text-left">Traceback (most recent call last):
|
||||
File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 164, in test_convert_parameter
|
||||
self.assertEqual(ret[-1]['result'], 'Finished')
|
||||
AssertionError: 'Failed' != 'Finished'
|
||||
- Failed
|
||||
+ Finished</pre>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<!--css div popup end-->
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
@ -1414,11 +1436,11 @@
|
||||
|
||||
|
||||
|
||||
<tr id="su" class="passClass">
|
||||
<tr id="su" class="failClass">
|
||||
<td>TestLoadMetadata</td>
|
||||
<td class="text-center">1</td>
|
||||
<td class="text-center">1</td>
|
||||
<td class="text-center">0</td>
|
||||
<td class="text-center">1</td>
|
||||
<td class="text-center">0</td>
|
||||
<td class="text-center">0</td>
|
||||
<td class="text-center">
|
||||
@ -1428,21 +1450,41 @@
|
||||
|
||||
|
||||
|
||||
<tr id='pt13.1' class='hiddenRow bg-success'>
|
||||
<tr id="ft13.1" class="none bg-danger">
|
||||
<td>
|
||||
<div class='testcase'>TestLoadMetadata - test_load_metadata</div>
|
||||
</td>
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
<td colspan='6'>
|
||||
<div class="text-center">
|
||||
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_ft13.1')">FAIL</a>
|
||||
</div>
|
||||
<!--css div popup start-->
|
||||
<div id="div_ft13.1" class="popup_window test_output" style="display:block;">
|
||||
<div class='close_button pull-right'>
|
||||
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||
onclick="document.getElementById('div_ft13.1').style.display='none'"><span
|
||||
aria-hidden="true">×</span></button>
|
||||
</div>
|
||||
<div class="text-left pull-left">
|
||||
<pre class="text-left">Traceback (most recent call last):
|
||||
File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_metadata.py", line 136, in test_load_metadata
|
||||
self.assertGreaterEqual(diff(BytesIO(cover), BytesIO(original_cover), delete_diff_file=True), 0.05)
|
||||
AssertionError: 0.0 not greater than or equal to 0.05</pre>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<!--css div popup end-->
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
|
||||
<tr id="su" class="passClass">
|
||||
<tr id="su" class="failClass">
|
||||
<td>TestEditBooksOnGdrive</td>
|
||||
<td class="text-center">20</td>
|
||||
<td class="text-center">20</td>
|
||||
<td class="text-center">0</td>
|
||||
<td class="text-center">19</td>
|
||||
<td class="text-center">1</td>
|
||||
<td class="text-center">0</td>
|
||||
<td class="text-center">0</td>
|
||||
<td class="text-center">
|
||||
@ -1623,11 +1665,31 @@
|
||||
|
||||
|
||||
|
||||
<tr id='pt14.20' class='hiddenRow bg-success'>
|
||||
<tr id="ft14.20" class="none bg-danger">
|
||||
<td>
|
||||
<div class='testcase'>TestEditBooksOnGdrive - test_watch_metadata</div>
|
||||
</td>
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
<td colspan='6'>
|
||||
<div class="text-center">
|
||||
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_ft14.20')">FAIL</a>
|
||||
</div>
|
||||
<!--css div popup start-->
|
||||
<div id="div_ft14.20" class="popup_window test_output" style="display:block;">
|
||||
<div class='close_button pull-right'>
|
||||
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||
onclick="document.getElementById('div_ft14.20').style.display='none'"><span
|
||||
aria-hidden="true">×</span></button>
|
||||
</div>
|
||||
<div class="text-left pull-left">
|
||||
<pre class="text-left">Traceback (most recent call last):
|
||||
File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 940, in test_watch_metadata
|
||||
self.assertNotIn('series', book)
|
||||
AssertionError: 'series' unexpectedly found in {'id': 5, 'reader': [], 'title': 'testbook', 'author': ['John Döe'], 'rating': 0, 'languages': ['English'], 'identifier': [], 'cover': '/cover/5?edit=4e213e83-fe57-4648-9e75-8e2176fe7773', 'tag': [], 'publisher': ['Randomhäus'], 'pubdate': 'Jan 19, 2017', 'comment': 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit.Aenean commodo ligula eget dolor.Aenean massa.Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.Nulla consequat massa quis enim.Donec pede justo, fringilla vel, aliquet nec, vulputate', 'add_shelf': [], 'del_shelf': [], 'edit_enable': True, 'kindle': None, 'kindlebtn': None, 'download': ['EPUB (6.7 kB)'], 'read': False, 'archived': False, 'series_all': 'Book 1 of test', 'series_index': '1', 'series': 'test', 'cust_columns': []}</pre>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<!--css div popup end-->
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
@ -1825,15 +1887,15 @@
|
||||
|
||||
|
||||
|
||||
<tr id="su" class="passClass">
|
||||
<tr id="su" class="skipClass">
|
||||
<td>TestFilePicker</td>
|
||||
<td class="text-center">3</td>
|
||||
<td class="text-center">2</td>
|
||||
<td class="text-center">0</td>
|
||||
<td class="text-center">0</td>
|
||||
<td class="text-center">1</td>
|
||||
<td class="text-center">1</td>
|
||||
<td class="text-center">0</td>
|
||||
<td class="text-center">0</td>
|
||||
<td class="text-center">0</td>
|
||||
<td class="text-center">
|
||||
<a onclick="showClassDetail('c20', 1)">Detail</a>
|
||||
<a onclick="showClassDetail('c20', 3)">Detail</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -1847,6 +1909,41 @@
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr id="st20.2" class="none bg-warning">
|
||||
<td>
|
||||
<div class='testcase'>TestFilePicker - test_filepicker_new_file</div>
|
||||
</td>
|
||||
<td colspan='6'>
|
||||
<div class="text-center">
|
||||
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_st20.2')">SKIP</a>
|
||||
</div>
|
||||
<!--css div popup start-->
|
||||
<div id="div_st20.2" class="popup_window test_output" style="display:none;">
|
||||
<div class='close_button pull-right'>
|
||||
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||
onclick="document.getElementById('div_st20.2').style.display='none'"><span
|
||||
aria-hidden="true">×</span></button>
|
||||
</div>
|
||||
<div class="text-left pull-left">
|
||||
<pre class="text-left">Not implemented</pre>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<!--css div popup end-->
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr id='pt20.3' class='hiddenRow bg-success'>
|
||||
<td>
|
||||
<div class='testcase'>TestFilePicker - test_two_filepickers</div>
|
||||
</td>
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
|
||||
<tr id="su" class="passClass">
|
||||
@ -3247,12 +3344,12 @@
|
||||
|
||||
|
||||
|
||||
<tr id="su" class="errorClass">
|
||||
<tr id="su" class="skipClass">
|
||||
<td>TestUpdater</td>
|
||||
<td class="text-center">9</td>
|
||||
<td class="text-center">1</td>
|
||||
<td class="text-center">4</td>
|
||||
<td class="text-center">3</td>
|
||||
<td class="text-center">8</td>
|
||||
<td class="text-center">0</td>
|
||||
<td class="text-center">0</td>
|
||||
<td class="text-center">1</td>
|
||||
<td class="text-center">
|
||||
<a onclick="showClassDetail('c37', 9)">Detail</a>
|
||||
@ -3261,214 +3358,56 @@
|
||||
|
||||
|
||||
|
||||
<tr id="ft37.1" class="none bg-danger">
|
||||
<tr id='pt37.1' class='hiddenRow bg-success'>
|
||||
<td>
|
||||
<div class='testcase'>TestUpdater - test_check_update_nightly_errors</div>
|
||||
</td>
|
||||
<td colspan='6'>
|
||||
<div class="text-center">
|
||||
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_ft37.1')">FAIL</a>
|
||||
</div>
|
||||
<!--css div popup start-->
|
||||
<div id="div_ft37.1" class="popup_window test_output" style="display:block;">
|
||||
<div class='close_button pull-right'>
|
||||
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||
onclick="document.getElementById('div_ft37.1').style.display='none'"><span
|
||||
aria-hidden="true">×</span></button>
|
||||
</div>
|
||||
<div class="text-left pull-left">
|
||||
<pre class="text-left">Traceback (most recent call last):
|
||||
File "/home/ozzie/Development/calibre-web-test/test/test_updater.py", line 223, in test_check_update_nightly_errors
|
||||
self.check_updater('Timeout', "alert", 13)
|
||||
File "/home/ozzie/Development/calibre-web-test/test/test_updater.py", line 75, in check_updater
|
||||
self.assertTrue(responsetext in self.check_element_on_page((By.ID, "message")).text)
|
||||
AssertionError: False is not true</pre>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<!--css div popup end-->
|
||||
</td>
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr id="ft37.2" class="none bg-danger">
|
||||
<tr id='pt37.2' class='hiddenRow bg-success'>
|
||||
<td>
|
||||
<div class='testcase'>TestUpdater - test_check_update_nightly_request_errors</div>
|
||||
</td>
|
||||
<td colspan='6'>
|
||||
<div class="text-center">
|
||||
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_ft37.2')">FAIL</a>
|
||||
</div>
|
||||
<!--css div popup start-->
|
||||
<div id="div_ft37.2" class="popup_window test_output" style="display:block;">
|
||||
<div class='close_button pull-right'>
|
||||
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||
onclick="document.getElementById('div_ft37.2').style.display='none'"><span
|
||||
aria-hidden="true">×</span></button>
|
||||
</div>
|
||||
<div class="text-left pull-left">
|
||||
<pre class="text-left">Traceback (most recent call last):
|
||||
File "/home/ozzie/Development/calibre-web-test/test/test_updater.py", line 251, in test_check_update_nightly_request_errors
|
||||
self.check_updater('Timeout', "alert", 13)
|
||||
File "/home/ozzie/Development/calibre-web-test/test/test_updater.py", line 75, in check_updater
|
||||
self.assertTrue(responsetext in self.check_element_on_page((By.ID, "message")).text)
|
||||
AssertionError: False is not true</pre>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<!--css div popup end-->
|
||||
</td>
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr id="ft37.3" class="none bg-danger">
|
||||
<tr id='pt37.3' class='hiddenRow bg-success'>
|
||||
<td>
|
||||
<div class='testcase'>TestUpdater - test_check_update_stable_errors</div>
|
||||
</td>
|
||||
<td colspan='6'>
|
||||
<div class="text-center">
|
||||
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_ft37.3')">FAIL</a>
|
||||
</div>
|
||||
<!--css div popup start-->
|
||||
<div id="div_ft37.3" class="popup_window test_output" style="display:block;">
|
||||
<div class='close_button pull-right'>
|
||||
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||
onclick="document.getElementById('div_ft37.3').style.display='none'"><span
|
||||
aria-hidden="true">×</span></button>
|
||||
</div>
|
||||
<div class="text-left pull-left">
|
||||
<pre class="text-left">Traceback (most recent call last):
|
||||
File "/home/ozzie/Development/calibre-web-test/test/test_updater.py", line 141, in test_check_update_stable_errors
|
||||
self.check_updater('Timeout', "alert", 13)
|
||||
File "/home/ozzie/Development/calibre-web-test/test/test_updater.py", line 75, in check_updater
|
||||
self.assertTrue(responsetext in self.check_element_on_page((By.ID, "message")).text)
|
||||
AssertionError: False is not true</pre>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<!--css div popup end-->
|
||||
</td>
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr id="ft37.4" class="none bg-danger">
|
||||
<tr id='pt37.4' class='hiddenRow bg-success'>
|
||||
<td>
|
||||
<div class='testcase'>TestUpdater - test_check_update_stable_versions</div>
|
||||
</td>
|
||||
<td colspan='6'>
|
||||
<div class="text-center">
|
||||
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_ft37.4')">FAIL</a>
|
||||
</div>
|
||||
<!--css div popup start-->
|
||||
<div id="div_ft37.4" class="popup_window test_output" style="display:block;">
|
||||
<div class='close_button pull-right'>
|
||||
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||
onclick="document.getElementById('div_ft37.4').style.display='none'"><span
|
||||
aria-hidden="true">×</span></button>
|
||||
</div>
|
||||
<div class="text-left pull-left">
|
||||
<pre class="text-left">Traceback (most recent call last):
|
||||
File "/home/ozzie/Development/calibre-web-test/test/test_updater.py", line 169, in test_check_update_stable_versions
|
||||
self.check_updater('{}.{}.{}'.format(*version3), "alert-warning")
|
||||
File "/home/ozzie/Development/calibre-web-test/test/test_updater.py", line 75, in check_updater
|
||||
self.assertTrue(responsetext in self.check_element_on_page((By.ID, "message")).text)
|
||||
AssertionError: False is not true</pre>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<!--css div popup end-->
|
||||
</td>
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr id="et37.5" class="none bg-info">
|
||||
<tr id='pt37.5' class='hiddenRow bg-success'>
|
||||
<td>
|
||||
<div class='testcase'>TestUpdater - test_perform_update</div>
|
||||
</td>
|
||||
<td colspan='6'>
|
||||
<div class="text-center">
|
||||
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et37.5')">ERROR</a>
|
||||
</div>
|
||||
<!--css div popup start-->
|
||||
<div id="div_et37.5" class="popup_window test_output" style="display:block;">
|
||||
<div class='close_button pull-right'>
|
||||
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||
onclick="document.getElementById('div_et37.5').style.display='none'"><span
|
||||
aria-hidden="true">×</span></button>
|
||||
</div>
|
||||
<div class="text-left pull-left">
|
||||
<pre class="text-left">Traceback (most recent call last):
|
||||
File "/home/ozzie/Development/calibre-web-test/test/test_updater.py", line 371, in test_perform_update
|
||||
performUpdate.click()
|
||||
File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 81, in click
|
||||
self._execute(Command.CLICK_ELEMENT)
|
||||
File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 710, in _execute
|
||||
return self._parent.execute(command, params)
|
||||
File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 424, in execute
|
||||
self.error_handler.check_response(response)
|
||||
File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response
|
||||
raise exception_class(message, screen, stacktrace)
|
||||
selenium.common.exceptions.ElementNotInteractableException: Message: Element <div id="perform_update" class="btn btn-primary hidden"> could not be scrolled into view
|
||||
Stacktrace:
|
||||
WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:183:5
|
||||
ElementNotInteractableError@chrome://remote/content/shared/webdriver/Errors.jsm:293:5
|
||||
webdriverClickElement@chrome://remote/content/marionette/interaction.js:156:11
|
||||
interaction.clickElement@chrome://remote/content/marionette/interaction.js:125:11
|
||||
clickElement@chrome://remote/content/marionette/actors/MarionetteCommandsChild.jsm:203:24
|
||||
receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild.jsm:91:31</pre>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<!--css div popup end-->
|
||||
</td>
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr id="et37.6" class="none bg-info">
|
||||
<tr id='pt37.6' class='hiddenRow bg-success'>
|
||||
<td>
|
||||
<div class='testcase'>TestUpdater - test_perform_update_stable_errors</div>
|
||||
</td>
|
||||
<td colspan='6'>
|
||||
<div class="text-center">
|
||||
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et37.6')">ERROR</a>
|
||||
</div>
|
||||
<!--css div popup start-->
|
||||
<div id="div_et37.6" class="popup_window test_output" style="display:block;">
|
||||
<div class='close_button pull-right'>
|
||||
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||
onclick="document.getElementById('div_et37.6').style.display='none'"><span
|
||||
aria-hidden="true">×</span></button>
|
||||
</div>
|
||||
<div class="text-left pull-left">
|
||||
<pre class="text-left">Traceback (most recent call last):
|
||||
File "/home/ozzie/Development/calibre-web-test/test/test_updater.py", line 318, in test_perform_update_stable_errors
|
||||
performUpdate.click()
|
||||
File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 81, in click
|
||||
self._execute(Command.CLICK_ELEMENT)
|
||||
File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 710, in _execute
|
||||
return self._parent.execute(command, params)
|
||||
File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 424, in execute
|
||||
self.error_handler.check_response(response)
|
||||
File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response
|
||||
raise exception_class(message, screen, stacktrace)
|
||||
selenium.common.exceptions.ElementNotInteractableException: Message: Element <div id="perform_update" class="btn btn-primary hidden"> could not be scrolled into view
|
||||
Stacktrace:
|
||||
WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:183:5
|
||||
ElementNotInteractableError@chrome://remote/content/shared/webdriver/Errors.jsm:293:5
|
||||
webdriverClickElement@chrome://remote/content/marionette/interaction.js:156:11
|
||||
interaction.clickElement@chrome://remote/content/marionette/interaction.js:125:11
|
||||
clickElement@chrome://remote/content/marionette/actors/MarionetteCommandsChild.jsm:203:24
|
||||
receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild.jsm:91:31</pre>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<!--css div popup end-->
|
||||
</td>
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
</tr>
|
||||
|
||||
|
||||
@ -3508,46 +3447,11 @@ receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild
|
||||
|
||||
|
||||
|
||||
<tr id="et37.9" class="none bg-info">
|
||||
<tr id='pt37.9' class='hiddenRow bg-success'>
|
||||
<td>
|
||||
<div class='testcase'>TestUpdater - test_update_write_protect</div>
|
||||
</td>
|
||||
<td colspan='6'>
|
||||
<div class="text-center">
|
||||
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et37.9')">ERROR</a>
|
||||
</div>
|
||||
<!--css div popup start-->
|
||||
<div id="div_et37.9" class="popup_window test_output" style="display:block;">
|
||||
<div class='close_button pull-right'>
|
||||
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||
onclick="document.getElementById('div_et37.9').style.display='none'"><span
|
||||
aria-hidden="true">×</span></button>
|
||||
</div>
|
||||
<div class="text-left pull-left">
|
||||
<pre class="text-left">Traceback (most recent call last):
|
||||
File "/home/ozzie/Development/calibre-web-test/test/test_updater.py", line 411, in test_update_write_protect
|
||||
performUpdate.click()
|
||||
File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 81, in click
|
||||
self._execute(Command.CLICK_ELEMENT)
|
||||
File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 710, in _execute
|
||||
return self._parent.execute(command, params)
|
||||
File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 424, in execute
|
||||
self.error_handler.check_response(response)
|
||||
File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response
|
||||
raise exception_class(message, screen, stacktrace)
|
||||
selenium.common.exceptions.ElementNotInteractableException: Message: Element <div id="perform_update" class="btn btn-primary hidden"> could not be scrolled into view
|
||||
Stacktrace:
|
||||
WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:183:5
|
||||
ElementNotInteractableError@chrome://remote/content/shared/webdriver/Errors.jsm:293:5
|
||||
webdriverClickElement@chrome://remote/content/marionette/interaction.js:156:11
|
||||
interaction.clickElement@chrome://remote/content/marionette/interaction.js:125:11
|
||||
clickElement@chrome://remote/content/marionette/actors/MarionetteCommandsChild.jsm:203:24
|
||||
receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild.jsm:91:31</pre>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<!--css div popup end-->
|
||||
</td>
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
</tr>
|
||||
|
||||
|
||||
@ -4472,11 +4376,11 @@ receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild
|
||||
|
||||
<tr id='total_row' class="text-center bg-grey">
|
||||
<td>Total</td>
|
||||
<td>381</td>
|
||||
<td>367</td>
|
||||
<td>4</td>
|
||||
<td>383</td>
|
||||
<td>372</td>
|
||||
<td>3</td>
|
||||
<td>7</td>
|
||||
<td>0</td>
|
||||
<td>8</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -4864,7 +4768,7 @@ receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild
|
||||
</div>
|
||||
|
||||
<script>
|
||||
drawCircle(367, 4, 3, 7);
|
||||
drawCircle(372, 3, 0, 8);
|
||||
showCase(5);
|
||||
</script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user