From 3f6d016a3d5a51bbd3bc9edab1d535df9bcd4fa9 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Wed, 31 Dec 2025 01:01:21 +0100 Subject: add tests for journeys --- tests/playwright/conftest.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/playwright/conftest.py') diff --git a/tests/playwright/conftest.py b/tests/playwright/conftest.py index adf5ef3..435daa6 100644 --- a/tests/playwright/conftest.py +++ b/tests/playwright/conftest.py @@ -110,7 +110,10 @@ class Helper: ) def add_track( - self, user: Optional[models.User] = None, track_name: str = "Teasi_1.gpx.gz" + self, + user: Optional[models.User] = None, + track_name: str = "Teasi_1.gpx.gz", + title: str = "Another awesome track", ) -> models.Track: """Add a track to the given user. @@ -127,7 +130,7 @@ class Helper: TileRequester(None), config.public_tile_layers()[0], owner=user, - title="Another awesome track", + title=title, visibility=Visibility.PRIVATE, description="Another description", track_type=TrackType.ORGANIC, -- cgit v1.2.3