test assert imported workouts show their duration in the logbook

The Duration column is relevant for an imported workout: its start and end come from the export. Lock that in -- a promoted 60-minute import shows "60 min" like a native record.

Commit
8210565071eeb39f46fa15bd75f0fe92609c350b
Author
Marius Peter <dev@marius-peter.com>
Author date
Committer
Marius Peter <dev@marius-peter.com>
Committer date
test/web/logbook.ml
index 85b06f18..a294c917 100644..100644
@@ -508,6 +508,11 @@
508 508 Alcotest.(check bool)
509 509 "the imported workout title is shown" true
510 510 (Option.is_some (index_from ~needle:"Legs" page 0));
511 Added: (* The import spans 10:00-11:00, so its duration is relevant and
512 Added: shown, like a native workout. *)
513 Added: Alcotest.(check bool)
514 Added: "the imported workout duration is shown" true
515 Added: (Option.is_some (index_from ~needle:"60 min" page 0));
511 516 Alcotest.(check bool)
512 517 "it carries the Imported tag" true
513 518 (Option.is_some (index_from ~needle:"logbook-source-tag" page 0));