Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
jitseniesen committed Jul 27, 2024
1 parent 8100334 commit d0e39f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spyder_notebook/tests/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def text_present(nbwidget, qtbot, text="Test"):
if WEBENGINE:
with qtbot.waitCallback(timeout=CALLBACK_TIMEOUT) as cb:
nbwidget.dom.toHtml(cb)
print('text_present: {cb.args[0][:100]} ...')
return text in cb.args[0]
else:
return text in nbwidget.dom.toHtml()
Expand Down

0 comments on commit d0e39f7

Please sign in to comment.