Refactor test run logic and enhance activity response handling

Introduced new properties in `TestActivityResponse` to better manage activity state and payload. Updated the test run UI to display detailed status, state, outcomes, and outputs using separate data panels. Refactored backend logic to improve data organization and ensure a clear separation of responsibility within the `UpdateDataModels` method.
This commit is contained in:
Sipke Schoorstra 2025-06-09 13:50:42 +02:00
parent 9b69c91535
commit 8ce30480a0
No known key found for this signature in database
GPG key ID: 5C10502B28A4268F

View file

@ -5,8 +5,9 @@ namespace Elsa.Api.Client.Resources.Tests;
public class TestActivityResponse
{
public IDictionary<string, object?> ActivityState { get; set; } = new Dictionary<string, object?>();
public IDictionary<string, object>? Payload { get; set; }
public IDictionary<string, object?>? Outputs { get; set; }
public ICollection<string>? Outcomes { get; set; }
public ExceptionState? Exception { get; set; }
public ActivityStatus Status { get; set; }
}