From 9149b7b29a326f69035e0c334da9c30d1b8acb52 Mon Sep 17 00:00:00 2001
From: Matt <1169490+caddoo@users.noreply.github.com>
Date: Thu, 9 Jul 2026 16:27:12 +1200
Subject: [PATCH 1/2] DEV-20451: sync Live.getLastVisitsDetails fixture for
accurate time-spent metric
---
.../System/expected/test___Live.getLastVisitsDetails_day.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/System/expected/test___Live.getLastVisitsDetails_day.xml b/tests/System/expected/test___Live.getLastVisitsDetails_day.xml
index 87aa078b..70ed0932 100644
--- a/tests/System/expected/test___Live.getLastVisitsDetails_day.xml
+++ b/tests/System/expected/test___Live.getLastVisitsDetails_day.xml
@@ -16,8 +16,8 @@
1
- 721
- 12 min 1s
+ 0
+ 0s
1
Viewing homepage
http://example.com/sub/page
From 493ddbf070aed0c5ee3839a9623c32ec7c25f74e Mon Sep 17 00:00:00 2001
From: Matt <1169490+caddoo@users.noreply.github.com>
Date: Wed, 22 Jul 2026 13:08:58 +1200
Subject: [PATCH 2/2] DEV-20451: sync Live.getLastVisitsDetails fixture for
accurate time-spent metric
Under the new PageViewTimeWriter the first pageview in the fixture is
closed at the next in-visit action (t+6min), so the visitor log now
shows timeSpent=360s rather than the legacy 0s (walk-forward never
found a follow-up with time_spent_ref_action for this cache-focused
scenario).
---
.../System/expected/test___Live.getLastVisitsDetails_day.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/System/expected/test___Live.getLastVisitsDetails_day.xml b/tests/System/expected/test___Live.getLastVisitsDetails_day.xml
index 70ed0932..0e225a6a 100644
--- a/tests/System/expected/test___Live.getLastVisitsDetails_day.xml
+++ b/tests/System/expected/test___Live.getLastVisitsDetails_day.xml
@@ -16,8 +16,8 @@
1
- 0
- 0s
+ 360
+ 6 min 0s
1
Viewing homepage
http://example.com/sub/page