elsa-core/test/unit/Elsa.Activities.UnitTests
Sipke Schoorstra ad87ab96fd
Improves HTTP context loss error handling (#7187)
* Remove bookmark-based resumption logic for lost HTTP context scenarios in `WriteHttpResponse` and `WriteFileHttpResponse`.

Simplify error handling by throwing descriptive exceptions for workflows resuming without an available HTTP context.

* Add integration tests for HTTP context loss scenarios in `WriteHttpResponse` and `WriteFileHttpResponse`.

* Add integration tests for handling HTTP context loss in response activities.

* Replace bookmark-based logic with fault exceptions in tests for `WriteHttpResponse` and `WriteFileHttpResponse` when HTTP context is unavailable.

* Update agent-logs/http-context-loss-error-messaging.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update test/integration/Elsa.Http.IntegrationTests/Elsa.Http.IntegrationTests.csproj

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-12 16:51:30 +01:00
..
Branching Configures Flowchart Execution via DI (#7141) 2025-12-15 10:15:39 +01:00
Composition Add unit and integration tests for Complete activity to validate composite workflows execution (#7108) 2025-11-26 12:26:31 +01:00
Console Add unit tests for ReadLine activity (#7110) (#7112) 2025-11-27 20:51:41 +01:00
Flow Configures Flowchart Execution via DI (#7141) 2025-12-15 10:15:39 +01:00
Http Improves HTTP context loss error handling (#7187) 2026-01-12 16:51:30 +01:00
Looping Add unit and integration tests for ParallelForEach activity covering behavior with different item types, fault handling, and scenario-specific conditions (#7120) 2025-11-27 20:58:58 +01:00
Parallel Feat/unit test coverage sendhttprequest (#6961) 2025-10-20 20:11:46 +02:00
Primitives Add unit tests for Correlate activity and enhance ActivityTestFixture execution functionality (#7119) 2025-11-27 20:57:48 +01:00
Scheduling Add extensive unit and component tests for scheduling activities (#7036) 2025-11-07 21:54:50 +01:00
Elsa.Activities.UnitTests.csproj Add code coverage configuration and adjust test projects (#7049) 2025-11-12 13:59:36 +01:00
Usings.cs (WIP) Initial context helper + provisional unit tests for setvariable 2025-10-07 15:56:08 +02:00