We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c660269 commit 8402c4dCopy full SHA for 8402c4d
tests/test_integration.py
@@ -1,5 +1,6 @@
1
import os
2
import re
3
+import time
4
import unittest
5
from unittest.mock import patch
6
@@ -829,6 +830,9 @@ def test_ajax_refresh(self):
829
830
self.get("/ajax/")
831
make_ajax = self.selenium.find_element(By.ID, "click_for_ajax")
832
make_ajax.click()
833
+ # Sleep a tad to avoid a selenium.common.exceptions.StaleElementReferenceException
834
+ # when looking for the small text of the history panel
835
+ time.sleep(0.1)
836
# Need to wait until the ajax request is over and json_view is displayed on the toolbar
837
self.wait.until(
838
lambda selenium: self.selenium.find_element(
0 commit comments