aboutsummaryrefslogtreecommitdiff
path: root/tests/playwright/conftest.py
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2022-12-22 20:12:02 +0100
committerDaniel Schadt <kingdread@gmx.de>2022-12-22 20:12:02 +0100
commitad26d3fe30c653243232188d1cb88858bf2e63f4 (patch)
tree4644ca7c55827f439ffb37a617cc011a96c83b8f /tests/playwright/conftest.py
parentc0c8e764a8819ba10066beb4ca829488ceed4e9d (diff)
downloadfietsboek-ad26d3fe30c653243232188d1cb88858bf2e63f4.tar.gz
fietsboek-ad26d3fe30c653243232188d1cb88858bf2e63f4.tar.bz2
fietsboek-ad26d3fe30c653243232188d1cb88858bf2e63f4.zip
add more tests for the home page
Diffstat (limited to 'tests/playwright/conftest.py')
-rw-r--r--tests/playwright/conftest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/playwright/conftest.py b/tests/playwright/conftest.py
index 1130df2..efa82c6 100644
--- a/tests/playwright/conftest.py
+++ b/tests/playwright/conftest.py
@@ -118,8 +118,9 @@ class Helper:
title="Another awesome track",
visibility=Visibility.PRIVATE,
description="Another description",
+ type=TrackType.ORGANIC,
)
- track.date = datetime.datetime.now(datetime.timezone.utc)
+ track.date = datetime.datetime(2022, 12, 21, 17, 5, tzinfo=datetime.timezone.utc)
user.tracks.append(track)
self.dbaccess.flush()
self.dbaccess.refresh(track, ["id"])