app icon indicating copy to clipboard operation
app copied to clipboard

Bug - Uploading an automated test run uses the upload time as the execution start/finish rather than the actual start/finish time from the run

Open vhladik opened this issue 9 months ago • 2 comments

Describe the bug A test in Robot Framework is run, with the -x option to produce xml output in JUnit format. The xml is uploaded to testomat using framework/language as other/other. The xml uploads successfully, and correctly captures that test name, step names, pass/fail status, and time to complete. However, in Testomat the "Executed Time" ends up being set to the time the upload occurred, rather than the time the test was actually executed.

To Reproduce Steps to reproduce the behavior: See above description

Expected behavior The actual date/time the run happened is what is in the test executed field in Testomat

Screenshots

Image

Image

Desktop (please complete the following information):

  • Win 11
  • CLI for uploading
  • Production

Additional context Add any other context about the problem here.

vhladik avatar Mar 20 '25 17:03 vhladik

@AZANIR please check this on your side.

TetianaKhomenko avatar Oct 27 '25 09:10 TetianaKhomenko

@AZANIR please check this on your side.

Verified — JUnit XML import reproduces the same issue

We’ve tested the scenario described by @vhladik and successfully reproduced it using a JUnit XML report uploaded via @testomatio/reporter.

Environment:

OS: Windows 11

Node.js: v22.20.0

@testomatio/reporter: v2.3.6

Testomat instance: beta.testomat.io

Upload command:

TESTOMATIO_URL=https://beta.testomat.io
TESTOMATIO=tstmt_***
npx @testomatio/reporter report --xml "reports/junit-results.xml" --lang "other"

JUnit XML sample:

Expected result: Executed time in Testomat should match the timestamp from the element (2025-10-27T11:29:25.465Z). If time is available, finished_at can be derived as timestamp + time.

Actual result: Executed time is set to the upload moment (e.g. Oct 27, 2025 11:49), ignoring the XML timestamp value.

✅ The issue is reproducible with JUnit XML import — reporter currently does not map to run.start_time when using --lang="other".

Image Image

AZANIR avatar Oct 27 '25 12:10 AZANIR

@vlad

olexandr13 avatar Dec 15 '25 11:12 olexandr13

check if we sent timestamp

olexandr13 avatar Dec 15 '25 11:12 olexandr13