aboutsummaryrefslogtreecommitdiff
path: root/tests/playwright/conftest.py
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2026-10-17 19:10:07 +0200
committerDaniel Schadt <kingdread@gmx.de>2026-10-17 19:10:07 +0200
commitbb0a05761012b4838c0eee96bf16d78be1b730f8 (patch)
treeb25c451c6d890f34fc4c31cd500543562ce406a6 /tests/playwright/conftest.py
parent6dff60f933198beba4aebe8e4bc1af8a66f0eef7 (diff)
downloadfietsboek-bb0a05761012b4838c0eee96bf16d78be1b730f8.tar.gz
fietsboek-bb0a05761012b4838c0eee96bf16d78be1b730f8.tar.bz2
fietsboek-bb0a05761012b4838c0eee96bf16d78be1b730f8.zip
extract climbs in playwright test
stay consistent with the actual track upload code
Diffstat (limited to 'tests/playwright/conftest.py')
-rw-r--r--tests/playwright/conftest.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/playwright/conftest.py b/tests/playwright/conftest.py
index 435daa6..8338f0a 100644
--- a/tests/playwright/conftest.py
+++ b/tests/playwright/conftest.py
@@ -143,6 +143,15 @@ class Helper:
)
self.dbaccess.commit()
self.dbaccess.refresh(track, ["id", "link_secret"])
+
+ actions.extract_climbs(
+ self.dbaccess,
+ track,
+ TileRequester(None),
+ config.public_tile_layers()[0],
+ None,
+ )
+
self.dbaccess.expunge(track)
return track