From ad26d3fe30c653243232188d1cb88858bf2e63f4 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Thu, 22 Dec 2022 20:12:02 +0100 Subject: add more tests for the home page --- 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 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"]) -- cgit v1.2.3