mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-08-25 07:37:14 +00:00
UI - Move rendering of each watchlist row out of the watchlist main template so it can be re-used by the realtime update
This commit is contained in:
@@ -8,7 +8,11 @@ from changedetectionio.tests.util import wait_for_all_checks
|
||||
def test_check_plugin_processor(client, live_server, measure_memory_usage, datastore_path):
|
||||
# requires os-int intelligence plugin installed (first basic one we test with)
|
||||
|
||||
res = client.get(url_for("add_watch_ui.add_watch_ui_index"))
|
||||
# Check the plugin processor shows up in the general "add watch" form on the watch-list overview
|
||||
# (the unfiltered processor list). NOTE: not /add-watch-ui - that page is the visual/browser flow
|
||||
# and only offers processors with supports_visual_selector; OSINT is a non-visual network-recon
|
||||
# processor, so it correctly does NOT appear there.
|
||||
res = client.get(url_for("watchlist.index"))
|
||||
assert b'OSINT Reconnaissance' in res.data, "Must have the OSINT plugin installed at test time"
|
||||
assert b'<input checked id="processor-0" name="processor" type="radio" value="text_json_diff">' in res.data, "But the first text_json_diff processor should always be selected by default in quick watch form"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user