aboutsummaryrefslogtreecommitdiff
path: root/tests/playwright
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2023-06-29 20:38:30 +0200
committerDaniel Schadt <kingdread@gmx.de>2023-06-29 20:38:30 +0200
commit2efc642f029fee9a5cf0640a766acd3cdf633eba (patch)
tree65c95684c3c35f0b889fe30ee8a4988ba3f79986 /tests/playwright
parente6d18b9205e1baf86df1e0cb3c5bf54c9489976f (diff)
downloadfietsboek-2efc642f029fee9a5cf0640a766acd3cdf633eba.tar.gz
fietsboek-2efc642f029fee9a5cf0640a766acd3cdf633eba.tar.bz2
fietsboek-2efc642f029fee9a5cf0640a766acd3cdf633eba.zip
tileproxy: use caplog in the test
See if it works, it might be handy for other tests in the future as well.
Diffstat (limited to 'tests/playwright')
-rw-r--r--tests/playwright/test_tileproxy.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/playwright/test_tileproxy.py b/tests/playwright/test_tileproxy.py
index b948bab..bf1146b 100644
--- a/tests/playwright/test_tileproxy.py
+++ b/tests/playwright/test_tileproxy.py
@@ -1,7 +1,7 @@
from playwright.sync_api import Page
-def test_tileproxy(page: Page, playwright_helper):
+def test_tileproxy(page: Page, playwright_helper, caplog):
playwright_helper.login()
track_id = playwright_helper.add_track().id
@@ -9,3 +9,5 @@ def test_tileproxy(page: Page, playwright_helper):
with page.expect_request("/tile/test/**"):
pass
+
+ assert "Skipping tile proxy request for testing URL" in caplog.messages