From 2aee4fe00400ae34350ed50a05fa5c3ac30b1eac Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Thu, 29 Dec 2022 13:56:38 +0100 Subject: add playwright tests for the sharing functionality --- tests/playwright/conftest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/playwright/conftest.py') diff --git a/tests/playwright/conftest.py b/tests/playwright/conftest.py index efa82c6..21edca8 100644 --- a/tests/playwright/conftest.py +++ b/tests/playwright/conftest.py @@ -8,7 +8,7 @@ from pyramid.authentication import AuthTktCookieHelper from pyramid.testing import DummyRequest from testutils import load_gpx_asset -from fietsboek import models +from fietsboek import models, util from fietsboek.models.track import Visibility, TrackType from fietsboek.config import Config @@ -119,6 +119,7 @@ class Helper: visibility=Visibility.PRIVATE, description="Another description", type=TrackType.ORGANIC, + link_secret=util.random_link_secret(), ) track.date = datetime.datetime(2022, 12, 21, 17, 5, tzinfo=datetime.timezone.utc) user.tracks.append(track) -- cgit v1.2.3