diff --git a/changedetectionio/tests/custom_browser_url/test_custom_browser_url.py b/changedetectionio/tests/custom_browser_url/test_custom_browser_url.py index 3335dd99..f4557ecc 100644 --- a/changedetectionio/tests/custom_browser_url/test_custom_browser_url.py +++ b/changedetectionio/tests/custom_browser_url/test_custom_browser_url.py @@ -6,9 +6,8 @@ from ..util import live_server_setup, wait_for_all_checks def do_test(client, live_server, make_test_use_extra_browser=False): - is_extra_browser = 'use-extra-browser' if make_test_use_extra_browser else 'not-extra-browser' # Grep for this string in the logs? - test_url = f"https://changedetection.io/ci-test.html?is_custom={is_extra_browser}" + test_url = f"https://changedetection.io/ci-test.html" custom_browser_name = 'custom browser URL' # needs to be set and something like 'ws://127.0.0.1:3000?stealth=1&--disable-web-security=true' @@ -21,7 +20,8 @@ def do_test(client, live_server, make_test_use_extra_browser=False): "requests-time_between_check-minutes": 180, 'application-fetch_backend': "html_webdriver", # browserless-custom-url is setup in .github/workflows/test-only.yml - 'requests-extra_browsers-0-browser_connection_url': 'ws://browserless-custom-url:3000?stealth=1&--disable-web-security=true', + # the test script run_custom_browser_url_test.sh will look for 'custom-browser-search-string' in the container logs + 'requests-extra_browsers-0-browser_connection_url': 'ws://browserless-custom-url:3000?stealth=1&--disable-web-security=true&custom-browser-search-string=1', 'requests-extra_browsers-0-browser_name': custom_browser_name }, follow_redirects=True